Monday, April 27, 2009

root.sh... Oracle CRS stack is already configured!

when run "root.sh" command and find some errors...
Example: "Failure at final check of Oracle CRS stack. 10" , "Failure at scls_scr_create with code 1" or something like that.

I don't write how i resolve them on this...

By the way, After resolve that problem, and can not run "root.sh" completely.
that's a simple... Because root.sh script check something.

# ORA_CRS_HOME/root.sh

No value set for the CRS parameter CRS_OCR_LOCATIONS. Using Values in paramfile.crs
Checking to see if Oracle CRS stack is already configured
Oracle CRS stack is already configured and will be running under init(1M)
Because "root.sh" script check "CRS_OCR_LOCATIONS" /etc/oracle/ocr.loc file (on solaris, /var/opt/oracle/ocr.loc) existed.

Example:
# ls /etc/oracle/ocr.loc
/etc/oracle/ocr.loc

# cat /etc/oracle/ocr.loc
ocrconfig_loc=/dev/raw/raw1
ocrmirrorconfig_loc=/dev/raw/raw2
local_only=FALSE
So, we just move or remove it (be careful).
# mv /etc/oracle/ocr.loc /tmp/
Or
# rm /etc/oracle/ocr.loc
and then run "root.sh" again.
# ORA_CRS_HOME/root.sh

No value set for the CRS parameter CRS_OCR_LOCATIONS. Using Values in paramfile.crs
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 :
.
.
.
and then check status (run completely or not) and /etc/oracle/ocr.loc file.

that's just idea and simply
i hope that can help someone to make easy way when they install oracle clusterware.

Enjoy;)

2 comments:

Anonymous said...

This worked great! I had to rerun the root.sh script and this solves the problem and the crs daemons came up perfectly.

- JayMag

Anonymous said...

Hi,

This solve the problem i had when i interrupted my installation.

Thanks

Eric