INS-13013 - verification of OLR integrity failed

As a part of Solaris testing we are running automated Oracle DB installations. We are using '-ignorePrereq' option for silent install because we need to ignore errors like

[FATAL] Reference data is not available for verifying prerequisites on this operating system distribution

on Solaris 12.



Recently I added standalone prerequisite checking before the actual installation is started:

./runInstaller -executePrereqs -silent -waitforcompletion -responseFile install.rsp



On Exadata machine with Grid/ASM install we saw following errors in the install log:

[...]
INFO: OLR Integrity: This test checks the integrity of OLR on the local node.
INFO: Severity:CRITICAL
INFO: OverallStatus:VERIFICATION_FAILED
[...]
SEVERE: [FATAL] [INS-13013] Target environment do not meet some mandatory requirements.
   CAUSE: Some of the mandatory prerequisites are not met. See logs for details. /data/app/oraInventory/logs/installActions2013-02-06_02-08-48PM.log
   ACTION: Identify the list of failed prerequisite checks from the log: /data/app/oraInventory/logs/installActions2013-02-06_02-08-48PM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually.
INFO: Advice is ABORT
[...]



Using the 'cluvfy' tool it was easy to discover root cause of the problem:

# su oracle -c "./oracle/base/home/bin/cluvfy comp olr"
Verifying OLR integrity
Checking OLR integrity...
Checking OLR config file...
ERROR:
PRVF-4184 : OLR config file check failed on the following nodes:
        machine-04
        machine-04:Owner of file "/var/opt/oracle/olr.loc" did not match the expected value. [Expected = "root" ; Found = "oracle"]
Checking OLR file attributes...
OLR file check successful
OLR integrity check failed

Verification of OLR integrity was unsuccessful.



Now it's clear what to do:

# chown root:oinstall /var/opt/oracle/olr.loc



And verify again:

# su oracle -c "./oracle/base/home/bin/cluvfy comp olr"
Verifying OLR integrity
Checking OLR integrity...
Checking OLR config file...
OLR config file check successful
Checking OLR file attributes...
OLR file check successful

WARNING:
This check does not verify the integrity of the OLR contents. Execute 'ocrcheck -local' as a privileged user to verify the contents of OLR.

OLR integrity check passed



Verifying the contents of OLR:

# ./grid/home/bin/ocrcheck -local
Status of Oracle Local Registry is as follows :
         Version                  :          3
         Total space (kbytes)     :     262120
         Used space (kbytes)      :       2424
         Available space (kbytes) :     259696
         ID                       : 2054190240
         Device/File Name         : /data/app/grid/home/cdata/localhost/machine-04.olr
                                    Device/File integrity check succeeded

         Local registry integrity check succeeded

         Logical corruption check succeeded



The prerequisite checks were completed successfully next time.

Tags: 

Subscribe to Comments for "INS-13013 - verification of OLR integrity failed"