Archive

Archive for April, 2012

Oracle 11.1.06 Clusterware Installation Hung at root.sh

April 18, 2012 Leave a comment

Node 1:

root.sh run successfully

Node 2:

root.sh hung

[root@yecdb02 crs]# ./root.sh
Checking to see if Oracle CRS stack is already configured

Setting the permissions on OCR backup directory
Setting up Network socket directories
Oracle Cluster Registry configuration upgraded successfully
clscfg: EXISTING configuration version 4 detected.
clscfg: version 4 is 11 Release 1.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: yecdb01 yecdb01-priv yecdb01
node 2: yecdb02 yecdb02-priv yecdb02
clscfg: Arguments check out successfully.

NO KEYS WERE WRITTEN. Supply -force parameter to override.
-force is destructive and will destroy any previous cluster
configuration.
Oracle Cluster Registry for cluster has already been initialized
Startup will be queued to init within 30 seconds.
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.

 

Log messages in $CRS_HOME/log/yecdb02/crsd/crsd.log:

2012-04-17 17:03:33.441: [ COMMCRS][1084229952]clsc_connect: (0x1385ffb0) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_yecdb02_))

2012-04-17 17:03:33.441: [ CSSCLNT][2916376800]clsssInitNative: failed to connect to (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_yecdb02_)), rc 9

2012-04-17 17:03:33.442: [  CRSRTI][2916376800] CSS is not ready. Received status 3 from CSS. Waiting for good status ..

2012-04-17 17:03:34.445: [ COMMCRS][1084229952]clsc_connect: (0x1385ff90) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_yecdb02_))

2012-04-17 17:03:34.445: [ CSSCLNT][2916376800]clsssInitNative: failed to connect to (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_yecdb02_)), rc 9

2012-04-17 17:03:34.446: [  CRSRTI][2916376800] CSS is not ready. Received status 3 from CSS. Waiting for good status ..

 

Fix procedures

1. cd $CRS_HOME/install

[root@yecdb02 install]# ./rootdelete.sh
Getting local node name
NODE = yecdb02
PRKO-2006 : Invalid node name: yecdb02
Stopping resources.
This could take several minutes.
Error while stopping resources. Possible cause: CRSD is down.
Stopping Cluster Synchronization Services.
Unable to communicate with the Cluster Synchronization Services daemon.
Oracle CRS stack is not running.
Oracle CRS stack is down now.
Removing script for Oracle Cluster Ready services
Updating ocr file for downgrade
Cleaning up SCR settings in ‘/etc/oracle/scls_scr’
Cleaning up Network socket directories

2. Rerun root.sh

[root@yecdb02 crs]# ./root.sh
Checking to see if Oracle CRS stack is already configured

Setting the permissions on OCR backup directory
Setting up Network socket directories
Oracle Cluster Registry configuration upgraded successfully
clscfg: EXISTING configuration version 4 detected.
clscfg: version 4 is 11 Release 1.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: yecdb01 yecdb01-priv yecdb01
node 2: yecdb02 yecdb02-priv yecdb02
clscfg: Arguments check out successfully.

NO KEYS WERE WRITTEN. Supply -force parameter to override.
-force is destructive and will destroy any previous cluster
configuration.
Oracle Cluster Registry for cluster has already been initialized
Startup will be queued to init within 30 seconds.
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
Cluster Synchronization Services is active on these nodes.
yecdb01
yecdb02
Cluster Synchronization Services is active on all the nodes.
Waiting for the Oracle CRSD and EVMD to start
Oracle CRS stack installed and running under init(1M)
Running vipca(silent) for configuring nodeapps

Creating VIP application resource on (2) nodes…
Creating GSD application resource on (2) nodes…
Creating ONS application resource on (2) nodes…
Starting VIP application resource on (2) nodes…
Starting GSD application resource on (2) nodes…
Starting ONS application resource on (2) nodes…

Done.

 

 

Categories: clusterware