CRS-0184/PRCR-1070 when Oracle 11g RAC executes root. sh
Oracle 11g RAC installation, the first node to 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
# Installation environment
[Root @ linux1 ~] # More/etc/issue
Enterprise Linux Server release 5.5 (Carthage)
Kernel \ r on an \ m
[Root @ linux1 ~] # Uname-
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 during root execution. Only the error section is listed.
CRS-0184: Cannot communicate with the CRS daemon. # This is a major error message and 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. net1.network is registered
Cannot communicate with crsd
Add scan = scan-cluster.orasrv.com... failed
Preparing packages for installation...
Cvuqdisk-1.0.7-1 # There is a prompt here 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.
# Crs-4535 error received when crsctl check is used
[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
# 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
2013-07-16 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 preceding log indicates that the localhost cannot be parsed.
# Check the master log of the grid, that is, the description of alert_nodename.
[Root @ linux1 linux1] # tail-100 alertlinux1.log | more
2013-07-16 16:27:13. 688
[Crsd (3913)] CRS-1201: CRSD started on node linux1.
2013-07-16 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.
2013-07-16 16:27:14. 932
[Ohasd (2748)] CRS-2765: Resource 'ora. crsd' has failed on server 'linux1 '.
# Meatlink [ID 1230899.1] describes the problem. You need to add localhost to the hosts file.
# Author: Robinson
# Blog: http://www.bkjia.com
3. troubleshooting
# View the local hosts file. The changed hosts configuration file is as follows:
[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 and it is necessary to write localhost
127.0.0.1 localhost.orasrv.com localhost # Add a new entry for parsing 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 started successfully
[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
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
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