Problem :
root@host1:>/u01/app/product/grid/11.2.0/root.sh
Running Oracle 11g root script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/product/grid/11.2.0
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.
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/product/grid/11.2.0/crs/install/crsconfig_params
CRS-4046: Invalid Oracle Clusterware configuration.
CRS-4000: Command Create failed, or completed with errors.
Failure initializing entries in /var/opt/oracle/scls_scr/host1
/u01/app/product/grid/11.2.0/perl/bin/perl -I/u01/app/product/grid/11.2.0/perl/lib -I/u01/app/product/grid/11.2.0/crs/install /u01/app/product/grid/11.2.0/crs/install/rootcrs.pl execution failed
Checking cfgtoollogs file shows $ORACLE_HOME/cfgtoollogs/crsconfig/rootcrs_host1.log
root@host1:>
cd /u01/app/product/grid/11.2.0/cfgtoollogs/crsconfig
tail -10 rootcrs_host1.log
2011-07-21 16:02:26: Executing /u01/app/product/grid/11.2.0/bin/crsctl create scr oracle
2011-07-21 16:02:26: Executing cmd: /u01/app/product/grid/11.2.0/bin/crsctl create scr oracle
2011-07-21 16:02:26: Command output:
> CRS-4046: Invalid Oracle Clusterware configuration.
> CRS-4000: Command Create failed, or completed with errors.
>End Command output
Solution:
root@host1:/u01/app/product/grid/11.2.0/crs/install> ./rootcrs.pl -verbose -deconfig -force
Using configuration parameter file: ./crsconfig_params
Usage: srvctl
I truly like to reading your post. Thank you so much for taking the time to share such a nice information. I'll definitely add this great post in my article section.
ReplyDeleteHi ,
ReplyDeleteI got the same error in 2nd node but succeeded in 1st node. So do I need to "deconfig" or is there any way to fix it in 2nd node alone.
Thanks in advance.
guru ji 2012 :) ., same trying in 2017 :)
DeleteLooks like the system was not clean before you started .. It is always a good practice to check the system for any previous configurations. deconfig and reinstall is just like we do format windows and reinstall it when windows does not behave well !!!
ReplyDeleteNice Post, Easy to understand www.dbas-oracle.com
ReplyDeleteGood Post, I have a question
ReplyDeleteWhat is the cause of the error ?