Cannot configure two CRS instances on the same cluster
2014-03-30 15:08
736 查看
今天是2014-03-30,在安装oracle stand-alone server的时候出现如下错误:
由于之前在该服务器安装过RAc,出现了该问题?
解决方案:
最终解决:
查看资源信息:
[root@dg-two etc]# /u01/app/11.2.0/grid/root.sh Performing root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME= /u01/app/11.2.0/grid Enter the full pathname of the local bin directory: [/usr/local/bin]: The contents of "dbhome" have not changed. No need to overwrite. The contents of "oraenv" have not changed. No need to overwrite. The contents of "coraenv" have not changed. No need to overwrite. Creating /etc/oratab file... Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root script. Now product-specific root actions will be performed. To configure Grid Infrastructure for a Stand-Alone Server run the following command as the root user: /u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/roothas.pl To configure Grid Infrastructure for a Cluster execute the following command: /u01/app/11.2.0/grid/crs/config/config.sh This command launches the Grid Infrastructure Configuration Wizard. The wizard also supports silent operation, and the parameters can be passed through the response file that is available in the installation media. [root@dg-two etc]# /u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/roothas.pl Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params User ignored Prerequisites during installation /u01/app/grid/product/11.2.0/grid/bin/crsctl query crs activeversion ... failed rc=-1 with message: Failure in execution (rc=-1, 0, No such file or directory) for command /u01/app/grid/product/11.2.0/grid/bin/crsctl query crs activeversion CRS is already configured on this node for crshome=/u01/app/grid/product/11.2.0/grid Cannot configure two CRS instances on the same cluster. Please deconfigure before proceeding with the configuration of new home.
由于之前在该服务器安装过RAc,出现了该问题?
解决方案:
[root@dg-two etc]# /u01/app/11.2.0/grid/crs/install/rootcrs.pl -verbose -deconfig -force Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params Usage: srvctl <command> <object> [<options>] commands: enable|disable|start|stop|status|add|remove|modify|getenv|setenv|unsetenv|config|upgrade objects: database|service|asm|diskgroup|listener|home|ons For detailed help on each command and object and its options use: srvctl <command> -h or srvctl <command> <object> -h PRKO-2012 : nodeapps object is not supported in Oracle Restart Failure in execution (rc=-1, 0, No such file or directory) for command /u01/app/11.2.0/grid/bin/crsctl stop res ora.registry.acfs -n dg-two -f sh: /u01/app/11.2.0/grid/bin/crsctl: No such file or directory Failure in execution (rc=-1, 32512, No such file or directory) for command /u01/app/11.2.0/grid/bin/crsctl delete res ora.drivers.acfs -init -f Failure in execution (rc=-1, 32512, No such file or directory) for command /u01/app/11.2.0/grid/bin/crsctl stop crs -f ################################################################ # You must kill processes or reboot the system to properly # # cleanup the processes started by Oracle clusterware # ################################################################ Successfully deconfigured Oracle clusterware stack on this node
最终解决:
[root@dg-two etc]# /u01/app/oraInventory/orainstRoot.sh Changing permissions of /u01/app/oraInventory. Adding read,write permissions for group. Removing read,write,execute permissions for world. Changing groupname of /u01/app/oraInventory to oinstall. The execution of the script is complete. [root@dg-two etc]# /u01/app/11.2.0/grid/root.sh Performing root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME= /u01/app/11.2.0/grid Enter the full pathname of the local bin directory: [/usr/local/bin]: The contents of "dbhome" have not changed. No need to overwrite. The contents of "oraenv" have not changed. No need to overwrite. The contents of "coraenv" have not changed. No need to overwrite. Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root script. Now product-specific root actions will be performed. To configure Grid Infrastructure for a Stand-Alone Server run the following command as the root user: /u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/roothas.pl To configure Grid Infrastructure for a Cluster execute the following command: /u01/app/11.2.0/grid/crs/config/config.sh This command launches the Grid Infrastructure Configuration Wizard. The wizard also supports silent operation, and the parameters can be passed through the response file that is available in the installation media. [root@dg-two etc]# /u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/roothas.pl Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params User ignored Prerequisites during installation LOCAL ADD MODE Creating OCR keys for user 'grid', privgrp 'oinstall'.. Operation successful. LOCAL ONLY MODE Successfully accumulated necessary OCR keys. Creating OCR keys for user 'root', privgrp 'root'.. Operation successful. CRS-4664: Node dg-two successfully pinned. Adding Clusterware entries to upstart dg-two 2014/03/30 14:58:29 /u01/app/11.2.0/grid/cdata/dg-two/backup_20140330_145829.olr Successfully configured Oracle Grid Infrastructure for a Standalone Server
查看资源信息:
[root@dg-two bin]# ./crsctl check css CRS-4530: Communications failure contacting Cluster Synchronization Services daemon [root@dg-two bin]# ./crsctl check evm CRS-4533: Event Manager is online [root@dg-two bin]# cat /etc/oracle/ocr.loc ocrconfig_loc=/u01/app/11.2.0/grid/cdata/localhost/local.ocr local_only=TRUE [root@dg-two bin]# ./ocrcheck Status of Oracle Cluster Registry is as follows : Version : 3 Total space (kbytes) : 262120 Used space (kbytes) : 152 Available space (kbytes) : 261968 ID : 1330382406 Device/File Name : /u01/app/11.2.0/grid/cdata/localhost/local.ocr Device/File integrity check succeeded Device/File not configured Device/File not configured Device/File not configured Device/File not configured Cluster registry integrity check succeeded Logical corruption check succeeded [root@dg-two bin]#
相关文章推荐
- idea 错误 Two modules in a project cannot share the same content root
- How to configure Red Hat Cluster using KVM fencing with two guest VM's running on a IBM PowerKVM
- TFS 2008 - Running two Build Agents on the Same Machine
- A schema cannot contains two global components with the same name
- Install multiple instances of Reporting Services on the same computer (for use with Microsoft Dynami
- WCF分布式开发常见错误解决(7):System.InvalidOperationException,Cannot have two operations in the same contract
- WCF分布式开发常见错误解决(7):Cannot have two operations in the same contract
- CRS-2409:The clock on host is not synchronous with the mean cluster time
- Two different y axes on the same plot
- How to Have Two Versions of the Same App on Your Device
- CRS-2800: Cannot start resource 'ora.DATADG.dg' as it is already in the INTERMEDIATE state on se
- Configure PHP and Django (Python) to run on the same Apache site.
- Cannot connect to the Docker daemon. Is the docker daemon running on this host
- CRS-0184: Cannot communicate with the CRS daemon.
- CRS-4258: Addition and deletion of voting files are not allowed because the voting files are on ASM
- Struts2 SEOActionNameBuild (The action name cannot be the same as the action suffix [Action]) 终极解决方案
- the selection cannot be run on any server解决办法
- rockMongo报错:Cannot natively represent the long 1487052345967 on this platform
- TFS Two Build Definations Share the Same Code Branch
- ccah-500 第57题 Which two best describes how FIFO Scheduler arbitrates the cluster resources for job