linux平台11gR2 grid安装到执行root.sh时报错

Posted 数据文字工作者

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux平台11gR2 grid安装到执行root.sh时报错相关的知识,希望对你有一定的参考价值。

[root@racdb1 11.2.0]# sh root.sh 
Running Oracle 11g root.sh script...








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








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.
2017-02-06 11:34:50: Parsing the host name
2017-02-06 11:34:50: Checking for super user privileges
2017-02-06 11:34:50: User has super user privileges
Using configuration parameter file: /u01/app/grid/11.2.0/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/crs/install/rootcrs.pl -deconfig' 
to configure existing failed configuration and then rerun root.sh




解决方法:
[root@racdb1 crs]# cd /u01/app/grid/11.2.0/crs/install
[root@racdb1 install]# ll
total 500
-rwxr-xr-x 1 grid oinstall   1276 Feb  6 11:12 cmdllroot.sh
-r-xr-xr-x 1 grid oinstall    797 May 13  2008 crsconfig_addparams.sbs
-rwxr-xr-x 1 grid oinstall 291544 Jul 28  2009 crsconfig_lib.pm
-rwxr-xr-x 1 grid oinstall   3555 Jan 22 16:43 crsconfig_params
-rwxr-xr-x 1 grid oinstall   3825 Mar 11  2009 crsconfig_params.sbs
-rwxr-xr-x 1 grid oinstall  26984 Jun 21  2009 crsdelete.pm
-rwxr-xr-x 1 grid oinstall   2451 Jul 28  2009 crspatch.pm
-rwxr-xr-x 1 grid oinstall   7066 Dec 15  2008 hasdconfig.pl
-rw-r--r-- 1 grid oinstall     68 Jul 30  2007 inittab
-rwxr-xr-x 1 grid oinstall    107 Jul 17  2009 install.excl
-rwxr-xr-x 1 grid oinstall      0 Feb 23  2005 install.incl
-rwxr-xr-x 1 grid oinstall     17 Jun 21  2009 installRemove.excl
-r-xr-xr-- 1 grid oinstall   2067 Feb  6 11:12 onsconfig
-rwxr-xr-x 1 grid oinstall  10241 May 28  2009 oracss.pm
-rw-r--r-- 1 grid oinstall    414 Jun  2  2005 paramfile.crs
-rwxr-xr-x 1 grid oinstall   5624 Feb  6 11:12 preupdate.sh
-rwxr-xr-x 1 grid oinstall  22592 Jul 15  2009 rootcrs.pl
-rwxr-xr-x 1 grid oinstall  11697 Jul 22  2009 roothas.pl
-rwxr-xr-x 1 grid oinstall    915 Jan  5  2007 rootofs.sh
-rwxr-xr-x 1 grid oinstall   2488 Mar 26  2009 s_crsconfig_defs
-rwxr-xr-x 1 grid oinstall  67870 Jul 17  2009 s_crsconfig_lib.pm
-rwxr-x--- 1 root oinstall    356 Feb  6 11:12 s_crsconfig_racdb1_env.txt




[root@racdb1 install]# ./rootcrs.pl -verbose -deconfig -force -lastnode
2017-02-06 12:44:40: Parsing the host name
2017-02-06 12:44:40: Checking for super user privileges
2017-02-06 12:44:40: User has super user privileges
Using configuration parameter file: ./crsconfig_params
Adding daemon to inittab
CRS-4124: Oracle High Availability Services startup failed.
CRS-4000: Command Start failed, or completed with errors.
crsexcl failed to start: Inappropriate ioctl for device
PRCR-1068 : Failed to query resources
Cannot communicate with crsd
PRCR-1068 : Failed to query resources
Cannot communicate with crsd
PRCR-1068 : Failed to query resources
Cannot communicate with crsd
PRCR-1068 : Failed to query resources
Cannot communicate with crsd
PRCR-1035 : Failed to look up CRS resource ora.cluster_vip.type for 1
PRCR-1068 : Failed to query resources
Cannot communicate with crsd
PRCR-1070 : Failed to check if resource ora.gsd is registered
Cannot communicate with crsd
PRCR-1070 : Failed to check if resource ora.ons is registered
Cannot communicate with crsd
PRCR-1070 : Failed to check if resource ora.eons is registered
Cannot communicate with crsd








ADVM/ACFS is not supported on centos-release-6-5.el6.centos.11.1.x86_64








ACFS-9201: Not Supported
CRS-4639: Could not contact Oracle High Availability Services
CRS-4000: Command Stop failed, or completed with errors.
Adding daemon to inittab
CRS-4124: Oracle High Availability Services startup failed.
CRS-4000: Command Start failed, or completed with errors.
crsexcl failed to start: Inappropriate ioctl for device
Unable to communicate with the Cluster Synchronization Services daemon.
CRS-4000: Command Delete failed, or completed with errors.
Command return code of 1 (256) from command: /u01/app/grid/11.2.0/bin/crsctl delete css votedisk +CRS
crsctl delete for vds in CRS ... failed
CRS-4544: Unable to connect to OHAS
CRS-4000: Command Stop failed, or completed with errors.
error: package cvuqdisk is not installed
Successfully deconfigured Oracle clusterware stack on this node




重新执行root.sh脚本

以上是关于linux平台11gR2 grid安装到执行root.sh时报错的主要内容,如果未能解决你的问题,请参考以下文章

oracle 11g r2 grid是干啥的

Linux平台安装Oracle11gR2数据库

grid安装

SUSE11 Oracle 11g RAC双机集群环境部署

oracle 11g rac安装 怎么需要acfs

完美解决oracle11gR2安装grid检查ASM报错PRVG-10122