Failed to upgrade Oracle Cluster Registry configuration – fail on root.sh clusterware

Do you face the similar issue on root.sh after Clusterware 11.1.0.6 installation?

If you are facing similar symptoms, then this article might help you 🙂

Applies to:

Clusterware Version 11.1.0.6 in HP-UX 11.31 (ia64)

Symptoms:

(1) root.sh output

/usr/crs/oracle/product/11.1/crs # ./root.sh
WARNING: directory ‘/usr/crs/oracle/product/11.1’ is not owned by root
WARNING: directory ‘/usr/crs/oracle/product’ is not owned by root
WARNING: directory ‘/usr/crs/oracle’ is not owned by root
WARNING: directory ‘/usr/crs’ is not owned by root
WARNING: directory ‘/usr’ is not owned by root
Checking to see if Oracle CRS stack is already configured

Setting the permissions on OCR backup directory
Setting up Network socket directories
Failed to upgrade Oracle Cluster Registry configuration

(2) $CRS_HOME/log/$HOST/client/ocrconfig_15289.log

From the log files
====
2010-05-25 02:29:10.137: [ OCRCONF][1]csetskgfrblock0: SCLS error [1] in spawning process. slos [1234]
2010-05-25 02:29:10.137: [ OCRCONF][1]csetskgfrblock0: slos msgbuf [Error 0]
2010-05-25 02:29:10.137: [ OCRCONF][1]csetskgfrblock0: slos errbuf [0]
2010-05-25 02:29:10.137: [ OCRCONF][1]csetskgfrblock0: slos other info is [no exe permission, file /usr/crs/oracle/product/11.1/crs/bin/clsfmt]
2010-05-25 02:29:10.137: [ OCRCONF][1]Failure in setting block0 [-1]
2010-05-25 02:29:10.137: [ OCRCONF][1]OCR block 0 is not set !
2010-05-25 02:29:10.137: [ OCRCONF][1]Exiting [status=failed]…

Workaround steps:

(1) Check permission bit for “clsfmt”.

/usr/crs/oracle/product/11.1/crs/bin # ls -al clsfmt
-rwxrwx— 1 oracle oinstall 1894 May 25 01:32 clsfmt

(2) Change permission bit for “clsfmt” to 775 in all cluster nodes:

/usr/crs/oracle/product/11.1/crs/bin # chmod 775 clsfmt
/usr/crs/oracle/product/11.1/crs/bin # ls -al clsfmt
-rwxrwxr-x 1 oracle oinstall 1894 May 25 01:32 clsfmt

(3) Clean up at only 1st node before re-run root.sh

/usr/crs/oracle/product/11.1/crs/install/rootdelete.sh

dd if=/dev/zero of=<ocr disk> bs=1024k

dd if=/dev/zero of=<vote disk> bs=1024k

(4) Ensure umask for root and oracle are 022.

(5) Re-run root.sh with root id.

Tagged Under : , , , , , , , , ,

Make a Comment