RAC 10g clusterware croaked “Oracle CRS stack is already configured” – troubleshooting

Oracle RAC clusterware croaked with message "Oracle CRS stack is already configured" when run root.sh, What happened? Here I explain how to troubleshoot inside root.sh and let it explain itself what has already there.

[root@rac01 ~]# /u01/app/crs/root.sh
Checking to see if Oracle CRS stack is already configured
Oracle CRS stack is already configured and will be running under init(1M)

Step 1: Old files
Looks like someone already tried CRS before but they didn’t cleaned up and left something. take a look.
[root@rac01 ~]# find  /etc/rc*.d -name "*crs*"
/etc/rc.d/rc5.d/S96init.crs
/etc/rc.d/rc4.d/K96init.crs
/etc/rc.d/rc6.d/K96init.crs
/etc/rc.d/rc0.d/K96init.crs
/etc/rc.d/rc3.d/S96init.crs
/etc/rc.d/rc2.d/K96init.crs
/etc/rc.d/rc1.d/K96init.crs
Well, it proved itself. But it still croaked with the same error after above files removed.

Step 2: Drill down into $ORA_CRS_HOME/bin/root.sh
[root@rac01 ~]# cat /u01/app/crs/root.sh                                       
#!/bin/sh
/u01/app/crs/install/rootinstall
/u01/app/crs/install/rootconfig
[root@rac01 ~]# vi /u01/app/crs/install/rootconfig  => let it echo something just before croak
[root@rac01 ~]# /u01/app/crs/root.sh
Checking to see if Oracle CRS stack is already configured
FATALFILE: /etc/oracle/scls_scr/rac01/oracle/cssfatal  OCRCONFIG => old file not cleaned
Oracle CRS stack is already configured and will be running under init(1M)

Solution: re-run root.sh after remaining old files cleaned
[root@rac01 ~]# rm -fr /etc/oracle*
[root@rac01 ~]# /u01/app/crs/root.sh
Checking to see if Oracle CRS stack is already configured
/etc/oracle does not exist. Creating it now.
….

It works again, another happy day.

Advertisements

About Pang

Oracle DBA working in database, fusion middleware and identity management and cloud.
This entry was posted in Oracle database. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s