Thursday, October 16, 2014

Register to Oracle Linux Unbreakable Network using Oracle CSI


When you want to register  for Unbreakable Linux Network  use following steps

type uln_register on  cmd prompt


Then this window will appear.It will ask for Oracle SSO details and CSI number.
Enter them and Forward .Then you will be registered for the network.

After registering you can upgrade your repository and download latest RPMs.  ;)


Knowledge Base -Grid Infrastructure Installation Failed with libcap.so.1

When I was installing Grid Infrastructure for Stand Alone Server  following script was to run

/u01/app/11.2.0/grid/root.sh

while running this following error was given.
error while loading shared libraries: libcap.so.1: cannot open shared object file: No such file or directory .

[root@asm3 /]# /u01/app/11.2.0/grid/root.sh
Performing root user operation for Oracle 11g

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

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.


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/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory

/u01/app/11.2.0/grid/bin/clscfg.bin: error while loading shared libraries: libcap.so.1: cannot open shared object file: No such file or directory
Failed to create keys in the OLR, rc = 127, Message
:
  
Failed to create keys in the OLR at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 7660.
/u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/roothas.pl execution failed
[root@asm3 /]#

Solution:-
For this error what i did was installed following rpms

[root@asm3 /]# yum install libcap.x86_64
[root@asm3 /]# yum install compat-libcap1.*
[root@asm3 /]#yum install compat-libcap2.*
[root@asm3 /]#yum install libcap*

 [root@asm3 /]# /u01/app//11.2.0/grid/crs/install/roothas.pl -deconfig
 [root@asm3 /]# rm /etc/oracle/olr.loc 

 Again you can run the script again

 [root@asm3 /]# /u01/app/11.2.0/grid/root.sh


Successfully Message appears

Configure Oracle Grid Infrastructure for a Cluster ... succeeded