Wednesday, January 2, 2013

Failure in execution (rc=-1, 0, No such file or directory)


for command /u01/app/11.2.0/grid/bin/crsctl query crs activeversion



CRS is already configured on this node for crshome=/u01/app/11.2.0/grid
Cannot configure two CRS instances on the same cluster.


Please deconfigure before proceeding with the configuration of new home.

[root@dr ~]# /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


SOLUTION:- cd /etc/oracle  
remove ocr.loc.orig  olr.loc.orig and ocr.loc   olr.loc  files.  then retry and ENJOY!!!!!


Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
User ignored Prerequisites during installation
LOCAL ADD MODE
Creating OCR keys for user 'grid', 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 dr successfully pinned.
Adding Clusterware entries to inittab

dr     2013/01/02 11:47:18     /u01/app/11.2.0/grid/cdata/dr/backup_20130102_114718.olr
Successfully configured Oracle Grid Infrastructure for a Standalone Server



Note:- Try everything at your own risk, if any thing happens wrong with your database so blogger will not be responsible.

1 comment: