Home > Grid Infrastructure, Oracle, Real Application Cluster > Oracle Grid Infrastructure: roothas.pl fails with “Oracle Restart stack is not active on this node” / How to forcefully deconfig all old Grid Infrastructure information

Oracle Grid Infrastructure: roothas.pl fails with “Oracle Restart stack is not active on this node” / How to forcefully deconfig all old Grid Infrastructure information

Problem description:

root.sh fails during execution for an Oracle Grid Infrastructure 11.2 installation with the following message:

[root@ora01 ~]# /u01/app/grid/11.2.0/grid/root.sh
Running Oracle 11g root script...
 
The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/grid/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.
 
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/grid/11.2.0/grid/crs/install/crsconfig_params
Improper Oracle Clusterware configuration found on this host
Deconfigure the existing cluster configuration before starting
to configure a new Clusterware 
run '/u01/app/grid/11.2.0/grid/crs/install/roothas.pl -deconfig' 
to configure existing failed configuration and then rerun root.sh
/u01/app/grid/11.2.0/grid/perl/bin/perl -I/u01/app/grid/11.2.0/grid/perl/lib -I/u01/app/grid/11.2.0/grid/crs/install /u01/app/grid/11.2.0/grid/crs/install/roothas.pl execution failed
[root@ora01 ~]#

 
When executing roothas.pl as mentioned by root.sh, an “Oracle Restart stack is not active” error is raised. Output messages will ask you to restart the SIHA stack (although you might not have any Oracle Clusterware stack configured):

[root@ora01 ~]# /u01/app/grid/11.2.0/grid/crs/install/roothas.pl -deconfig
Using configuration parameter file: /u01/app/grid/11.2.0/grid/crs/install/crsconfig_params
Oracle Restart stack is not active on this node
Restart the SIHA stack (use /u01/app/grid/11.2.0/grid/bin/crsctl start has) and retry
Failed to verify HA resources
[root@ora01 ~]#

 
Cause:

These messages can have various causes like a previous failed Grid Infrastructure installation, an old Oracle Clusterware installation, etc.

 
Problem resolution:

In order to forcefully cleanup old configuration information execute roothas.pl with the force option:

[root@ora01 grid]# /u01/app/grid/11.2.0/grid/crs/install/roothas.pl -deconfig -force -verbose
Using configuration parameter file: /u01/app/grid/11.2.0/grid/crs/install/crsconfig_params
Failure in execution (rc=-1, 256, No such file or directory) for command 1 /u01/app/grid/11.2.0/grid/bin/crsctl stop resource ora.cssd -f
Failure in execution (rc=-1, 256, No such file or directory) for command 1 /u01/app/grid/11.2.0/grid/bin/crsctl delete resource ora.cssd -f
Failure in execution (rc=-1, 256, No such file or directory) for command 1 /u01/app/grid/11.2.0/grid/bin/crsctl stop has -f
Failure in execution (rc=-1, 256, No such file or directory) for command 1 /u01/app/grid/11.2.0/grid/bin/crsctl check has
You must kill ohasd processes or reboot the system to properly 
cleanup the processes started by Oracle clusterware
/u01/app/grid/11.2.0/grid/bin/acfsdriverstate: line 51: /lib/acfstoolsdriver.sh: No such file or directory
/u01/app/grid/11.2.0/grid/bin/acfsdriverstate: line 51: exec: /lib/acfstoolsdriver.sh: cannot execute: No such file or directory
Successfully deconfigured Oracle Restart stack
[root@ora01 grid]#

 
This cleaned up all stale information and configuration and allowed a successful rerun of root.sh.

  1. kanchan kukreja
    March 26th, 2013 at 14:30 | #1

    Thanku so much..

  1. No trackbacks yet.

Connect with Facebook