安装grid infrastructure的最后执行root.sh之后,报错。
bash-4.2# /u01/grid/root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /u01/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y
Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y
Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y
Copying coraenv to /usr/local/bin ...
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.sh script.
Now product-specific root actions will be performed.
2014-09-08 09:31:44: Parsing the host name
2014-09-08 09:31:44: Checking for super user privileges
2014-09-08 09:31:44: User has super user privileges
Using configuration parameter file: /u01/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/grid/crs/install/rootcrs.pl -deconfig'
to configure existing failed configuration and then rerun root.sh
bash-4.2# /u01/grid/crs/install/rootcrs.pl -deconfig
2014-09-08 09:32:03: Parsing the host name
2014-09-08 09:32:03: Checking for super user privileges
2014-09-08 09:32:03: User has super user privileges
Using configuration parameter file: /u01/grid/crs/install/crsconfig_params
Failure to execute: A file or directory in the path name does not exist. for command /u01/grid/bin/crsctl check cluster -n b801
Failure to execute: A file or directory in the path name does not exist. for command /u01/grid/bin/crsctl check cluster -n b801
Oracle Clusterware stack is not active on this node
Restart the clusterware stack (use /u01/grid/bin/crsctl start crs) and retry
Failed to verify resources
找不到这个crsctl,这是为什么?我安装预检查的时候没有报错的。
求大神给知道 谢谢。