Problem Installing 11.2.0.2 on OEL6.4 64 Bit

  • From: Ankit Thakwani <ankit.thakwani@xxxxxxxxx>
  • To: Oracle-L <Oracle-L@xxxxxxxxxxxxx>
  • Date: Tue, 26 Nov 2013 22:13:33 +0530

Hi,

I am facing problem installing 11.2.0.2 with ASM on OEL 6.4 64 bit
(2.6.39-400.211.1.el6uek.x86_64), while executing
/u01/app/oracle/product/11.2.0/grid/root.sh I get errors


[root@ol6asm app]# cd oracle/product/11.2.0/grid/
[root@ol6asm grid]# ./root.sh
Running Oracle 11g root script...

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /u01/app/oracle/product/11.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...


Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file:
/u01/app/oracle/product/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'oracle', privgrp 'oinstall'..
Operation successful.
LOCAL ONLY MODE
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4664: Node ol6asm successfully pinned.
Adding daemon to inittab
ohasd failed to start
Failed to start the Clusterware. Last 20 lines of the alert log follow:
2013-11-26 20:17:54.016
[client(9389)]CRS-2101:The OLR was formatted using version 3.
2013-11-26 20:18:11.178
[client(9440)]CRS-1001:The OCR was formatted using version 3.
[client(9530)]CRS-10001:CRS-6021: No msg for has:crs-6021 [l][unlimited]
[client(9532)]CRS-10001:CRS-6021: No msg for has:crs-6021 [n][65536]

ohasd failed to start at /u01/app/oracle/product/11.2.0/grid/crs/install/
roothas.pl line 325.
/u01/app/oracle/product/11.2.0/grid/perl/bin/perl
-I/u01/app/oracle/product/11.2.0/grid/perl/lib
-I/u01/app/oracle/product/11.2.0/grid/crs/install
/u01/app/oracle/product/11.2.0/grid/crs/install/roothas.pl execution failed


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

FoundMetalink Doc ID 1284876.1 says the cause to be:

The local cluster registry (OLR) does not contain required key
[SYSTEM.crs.usersecurity], apparently the OLR was not upgraded properly.
To check for the existence of the key run the following command:

$GI_HOME/bin/ocrdump -local /tmp/olr_dump.txt
grep usersecurity /tmp/olr_dump.txt

But this does not seems to be the cause as usersecurity key is present in
OLR
[root@ol6asm grid]# grep usersecurity /tmp/olr_dump.txt
[SYSTEM.crs.usersecurity]

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

When I try to rollback the root.sh with following command I get some errors
"Either /etc/oracle/olr.loc does not exist or is not readable" and
correctly it is not
present but I find a blank /etc/oracle/olr.loc.orig file.


[root@ol6asm oracle]# $GI_HOME/crs/install/roothas.pl -deconfig -force
Using configuration parameter file:
/u01/app/oracle/product/11.2.0/grid/crs/install/crsconfig_params
CRS-4046: Invalid Oracle Clusterware configuration.
CRS-4000: Command Stop failed, or completed with errors.
CRS-4046: Invalid Oracle Clusterware configuration.
CRS-4000: Command Delete failed, or completed with errors.
CRS-4046: Invalid Oracle Clusterware configuration.
CRS-4000: Command Stop failed, or completed with errors.
You must kill ohasd processes or reboot the system to properly
cleanup the processes started by Oracle clusterware
/u01/app/oracle/product/11.2.0/grid/bin/acfsdriverstate: line 51:
/lib/acfstoolsdriver.sh: No such file or directory
/u01/app/oracle/product/11.2.0/grid/bin/acfsdriverstate: line 51: exec:
/lib/acfstoolsdriver.sh: cannot execute: No such file or directory
Either /etc/oracle/olr.loc does not exist or is not readable
Make sure the file exists and it has read and execute access
Failure in execution (rc=-1, 0, No such file or directory) for command 1
/etc/init.d/ohasd deinstall
Successfully deconfigured Oracle Restart stack

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

Contents of
/u01/app/oracle/product/11.2.0/grid/log/ol6asm/ohasd/ohasdOUT.log

OHASD stderr redirected to ohasdOUT.log
2013-11-26 20:18:45
Changing directory to /u01/app/oracle/product/11.2.0/grid/log/ol6asm/ohasd
OHASD starting



Please help.

Regards,
Ankit

Other related posts: