Oracle 11g RAC executes root. sh encountered CRS-0184/PRCR-1070 problems Oracle 11g RAC installation, at the first node execute root. sh encountered a CRS-0184/PRCR-1070, Google a lot of posts have not found a solution. Hey, let's calm down and look at the log !! The conclusion is a casual problem, as described below. 1. Fault
[Python] # installation environment [root @ linux1 ~] # More/etc/issue Enterprise Linux Server release 5.5 (Carthage) Kernel \ r on an \ m [root @ linux1 ~] # Uname-a Linux linux1.orasrv.com 2.6.18-194. el5PAE #1 SMP Mon Mar 29 20:19:03 EDT 2010 i686 athlon i386 GNU/Linux [root @ linux1 bin] #. /crsctl query crs activeversion Oracle Clusterware active version on the cluster is [11.2.0.1.0] # the following error occurs when you execute root, listing only the error part of the CRS-0184: Cannot communicate with the CRS daemon. # This is the main error message that cannot communicate with crs PRCR-1070: Failed to check if resource ora. asm is registered Cannot communicate with crsd add asm... failed clsr_start_dg return error at loc: 70 rc = 0 CRS-4535: Cannot communicate with Cluster Ready Services CRS-4000: Command Create failed, or completed with errors. create diskgroup DATA... failed CRS-4535: Cannot communicate with Cluster Ready Services CRS-4000: Command Add failed, or completed with errors. command return code of 1 (256) from command:/u01/app/11.2.0/grid/bin/crsctl add type ora. registry. acfs. type-basetype ora. local_resource.type-file/u01/app/11.2.0/grid/crs/template/registry. acfs. type add ora. registry. acfs. type... failed PRCR-1070: Failed to check if resource ora. net 1.network is registered Cannot communicate with crsd add scan = scan-cluster.orasrv.com... failed Preparing packages for installation... cvuqdisk-1.0.7-1 # Here is a prompt that you need to install the cvuqdisk-1.0.7-1 package Configure Oracle Grid Infrastructure for a Cluster... failed Updating inventory properties for clusterware Starting Oracle Universal Installer... checking swap space: must be greater than 500 MB. actual 3498 MB Passed The inventory pointer is located at/etc/oraInst. loc The inventory is located at/u01/app/oraInventory 'updatenodelist' was successful. # Use crsctl check received a crs-4535 error [root @ linux1 bin] #. /crsctl check cluster CRS-4535: Cannot communicate with Cluster Ready Services CRS-4529: Cluster Synchronization Services is online CRS-4533: Event Manager is online
2. Analyze logs
[Python] # view the crsd log of the grid. Note that the log is located at $ CRS_HOME/log/node_name/crsd [root @ linux1 crsd] # tail-30 crsdOUT. log 16:27:21 crsd reboot Unable to resolve address for localhost: 2016 ONS runtime exiting Fatal error: eONS: eonsapi. c: Aug 4 2009 21:09:36 2013-07-16 16:27:24 Changing directory to/u01/app/11.2.0/grid/log/linux1/crsd 2013-07-16 16:27:24 crsd reboot Unable to resolve address for localhost: 2016 ONS runtime exiting Fatal error: eONS: eonsapi. c: Aug 4 2009 21:09:36 2013-07-16 16:27:26 Changing directory to/u01/app/11.2.0/grid/log/linux1/crsd 2013-07-16 16:27:26 crsd reboot Unable to resolve address for localhost: 2016 ONS runtime exiting Fatal error: eONS: eonsapi. c: Aug 4 2009 21:09:36 2013-07-16 16:27:29 Changing directory to/u01/app/11.2.0/grid/log/linux1/crsd 2013-07-16 16:27:29 crsd reboot Unable to resolve address for localhost: 2016 ONS runtime exiting Fatal error: eONS: eonsapi. c: aug 4 2009 21:09:36 2013-07-16 16:48:00 Changing directory to/u01/app/11.2.0/grid/log/linux1/crsd 2013-07-16 16:48:00 crsd reboot # The above log prompts that localhost cannot be parsed # Check the grid master log, that is, the description of alert_nodename [root @ linux1 linux1] # tail-100 alertlinux1.log | more 16:27:13. 688 [crsd (3913)] CRS-1201: CRSD started on node linux1. 16:27:14. 338 [/u01/app/11.2.0/grid/bin/oraagent. bin (3993)] CRS-5823: cocould not initialize agent framework. details at (: CRSAGF00120 :) in/u01/app/11.2.0/grid/log/linux1/agent/crsd/oraagent_grid/oraagent_grid.log. 16:27:14. 932 [ohasd (2748)] CRS-2765: Resource 'ora. crsd 'has failed on server 'linux1 '. # Meatlink [ID 1230899.1] describes the problem, that is, you need to add localhost to the hosts file # Author: Robinson
3. troubleshooting
[Python] # view the local hosts file. The following is the changed hosts configuration file [root @ linux1 bin] # more/etc/hosts | grep 127.0 #127.0.0.1 linux1.orasrv.com linux1 localhost. localdomain localhost # This is automatically generated during OS installation #127.0.0.1 linux1.orasrv.com linux1 # This is configured before rac is installed. It seems that there is a problem with this writing method, make sure to write localhost 127.0.0.1 localhost.orasrv.com localhost # Add a new parsing entry about localhost # Try to start crs [root @ linux1 bin] #. /crsctl start res ora. crsd-init CRS-2672: Attempting to start' ora. crsd 'on 'linux1 'CRS-2676: Start of 'ora. crsd 'on 'linux1 'succeeded # crs is successfully started [root @ linux1 bin] #. /crsctl check cluster CRS-4537: Cluster Ready Services is online CRS-4529: Cluster Synchronization Services is online CRS-4533: Event Manager is online [root @ linux1 bin] #. /crsctl stat res-t-init -------------------------------------------------------------------------------- name target state server STATE_DETAILS implements Cluster Resources restart ora. asm 1 ONLINE linux1 Started ora. crsd 1 ONLINE linux1 ora.css d 1 ONLINE linux1 ora.css dmonitor 1 ONLINE linux1 ora. ctssd 1 ONLINE linux1 ACTIVE: 0 ora. diskmon 1 ONLINE linux1 ora. drivers. acfs 1 ONLINE linux1 ora. evmd 1 ONLINE linux1 ora. gipcd 1 ONLINE linux1 ora. gpnpd 1 ONLINE linux1 ora. mdnsd 1 ONLINE linux1