Oracle /app/grid/grid11g/crs/install/roothas.pl execution failed

Michael_DD發表於2015-01-22
Oracle /app/grid/grid11g/crs/install/roothas.pl execution failed


安裝oracle11g grid報錯,環境之前已安裝過一次grid,因為強制刪除,產生很多問題
[root@exadata oraInventory]# sh orainstRoot.sh
Changing permissions of /app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.

Changing groupname of /app/oraInventory to oinstall.
The execution of the script is complete.
[root@exadata oraInventory]# cd /app/grid/grid11g/
[root@exadata grid11g]# sh root.sh
Performing root user operation for Oracle 11g

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

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: /app/grid/grid11g/crs/install/crsconfig_params
Creating trace directory
Improper Oracle Grid Infrastructure configuration found on this host
Deconfigure the existing cluster configuration before starting
to configure a new Grid Infrastructure
run '/app/grid/grid11g/crs/install/roothas.pl -deconfig'
to configure existing failed configuration and then rerun root.sh
/app/grid/grid11g/perl/bin/perl -I/app/grid/grid11g/perl/lib -I/app/grid/grid11g/crs/install /app/grid/grid11g/crs/install/roothas.pl execution failed


處理辦法:
[root@exadata grid11g]# /app/grid/grid11g/crs/install/roothas.pl -deconfig -force
Using configuration parameter file: /app/grid/grid11g/crs/install/crsconfig_params
Failure in execution (rc=-1, 256, No such file or directory) for command /app/grid/grid11g/bin/crsctl stop resource ora.cssd -f
Failure in execution (rc=-1, 256, No such file or directory) for command /app/grid/grid11g/bin/crsctl delete resource ora.cssd -f
Failure in execution (rc=-1, 256, No such file or directory) for command /app/grid/grid11g/bin/crsctl stop has -f
You must kill ohasd processes or reboot the system to properly
cleanup the processes started by Oracle clusterware
Successfully deconfigured Oracle Restart stack
[root@exadata grid11g]# sh root.sh
Performing root user operation for Oracle 11g

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

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: /app/grid/grid11g/crs/install/crsconfig_params
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 exadata successfully pinned.
Adding Clusterware entries to inittab

exadata     2015/01/22 09:55:09     /app/grid/grid11g/cdata/exadata/backup_20150122_095509.olr
Successfully configured Oracle Grid Infrastructure for a Standalone Server
[root@exadata grid11g]#

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29500582/viewspace-1410297/,如需轉載,請註明出處,否則將追究法律責任。

相關文章