Amazon books

Wednesday, July 17, 2013

Installing Clusterware 10g Linux x86_64bit . root.sh "Failed to upgrade Oracle Cluster Registry configuration"

When installing Clusterware 10g on linux you run root.sh and got this error below:

###############################################

/opt/oracle/products/asm_home/root.sh
WARNING: directory '/opt/oracle/products' is not owned by root
WARNING: directory '/opt/oracle' is not owned by root

Checking to see if Oracle CRS stack is already configured

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

###############################################

Checking logs in $CRS_HOME/log/hostname you find something like this:
###############################################

2013-07-17 15:39:51.555: [  OCRRAW][370326256]propriogid:1: INVALID FORMAT
2013-07-17 15:39:51.570: [  OCRRAW][370326256]propriowv: Vote information on disk 0 [/dev/raw/raw1] is adjusted from [0/0] to [2/2]
2013-07-17 15:39:51.599: [  OCRRAW][370326256]propriniconfig:No 92 configuration
2013-07-17 15:39:51.599: [  OCRAPI][370326256]a_init:6a: Backend init successful
2013-07-17 15:39:51.665: [ OCRCONF][370326256]Initialized DATABASE keys in OCR
2013-07-17 15:39:51.732: [ OCRCONF][370326256]csetskgfrblock0: clsfmt returned with error [4].
2013-07-17 15:39:51.732: [ OCRCONF][370326256]Failure in setting block0 [-1]
2013-07-17 15:39:51.732: [ OCRCONF][370326256]OCR block 0 is not set !
2013-07-17 15:39:51.732: [ OCRCONF][370326256]Exiting [status=failed]...

###############################################


Action Plan is to use DD to initialise devices. :

--OCR
dd if=/dev/zero of=/dev/mapper/oravtocr1 bs=125829120 count=1

--VOTE
dd if=/dev/zero of=/dev/mapper/oravtocr2 bs=20971520 count=1

and run root.sh again


Best Regards,
Paulo Portugal

No comments:

Post a Comment