Monday, March 10, 2008

Run "cluvfy comp ocr" => CRS is not installed on any of the nodes

Problem:

$ cluvfy comp ocr

Verifying OCR integrity

Checking OCR integrity...

ERROR:CRS is not installed on any of the nodes.Verification cannot proceed.

OCR integrity check failed.

Verification of OCR integrity was unsuccessful on all the nodes.

$ cluvfy comp ocr

Verifying OCR integrity

Checking OCR integrity...

ERROR:CRS is not installed on any of the nodes.Verification cannot proceed.

OCR integrity check failed.

Verification of OCR integrity was unsuccessful on all the nodes.
$ cluvfy

comp crs

Verifying CRS integrity

Checking CRS integrity...

ERROR:CRS is not installed on any of the nodes.Verification cannot proceed.

CRS integrity check failed.

Verification of CRS integrity was unsuccessful on all the nodes.


Cause:

Problem in locating the correct Oracle Inventory.

The /etc/oraInst.loc is pointing to a wrong location Cluvfy internally uses the inventory location and if proper inventory location is not found, it will report this error


$ls -la /etc/oraInst.loc

-rwxr-x--- 1 root root 63 Dec 19 2006 oraInst.loc

$ cat /etc/oraInst.loccat

: oraInst.loc: Permission denied


Solution:

Check the /etc/oraInst.loc file and and see if it is pointing to the correct inventory location.

If it is not, correct it to point to the the actual inventory location and then retry the cluvfy operation

#id

uid=0(root) gid=0(root) groups=0(root)

#ls -la /etc/oraInst.loc

-rwxr-x--- 1 root root 63 Dec 19 2006 /etc/oraInst.loc

......It's wrong!

# chmod 644 /etc/oraInst.loc

$ id

uid=500(oracle) gid=500(oinstall) groups=500(oinstall),501(dba)

$ cluvfy comp ocr

Verifying OCR integrity

Checking OCR integrity...

Checking the absence of a non-clustered configuration...All nodes free of non-clustered, local-
only configurations.

Uniqueness check for OCR device passed.

Checking the version of OCR...OCR of correct Version "2" exists.

Checking data integrity of OCR...Data integrity check for OCR passed.

OCR integrity check passed.

Verification of OCR integrity was successful.

........Enjoy...........

1 comment:

Anonymous said...

Excellent Troubleshooting tip. The one that you nedd when you are shooting in the dark.