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博客 ” ,链接:https://blog.itpub.net/29500582/viewspace-1410297/
,如需转载,请注明出处,否则将追究法律责任。