安装oracle grid infrastructure时中断root.sh脚本执行,报错如下:Existing OCR configuration found, aborting the conf

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/m0_37814112/article/details/77453311
  安装oracle grid infrastructure时中断root.sh脚本执行,报错如下:Existing OCR configuration found, aborting the configuration. Rerun configuration setup after deinstall at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 10302.
/u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failed

[root@oracle-rac02 app]# sh /u01/app/11.2.0/grid/root.sh
Performing root user operation for Oracle 11g

The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /u01/app/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/11.2.0/grid/crs/install/crsconfig_params
User ignored Prerequisites during installation
Installing Trace File Analyzer
OLR initialization - successful
root wallet
root wallet cert
root cert export
peer wallet
profile reader wallet
pa wallet
peer wallet keys
pa wallet keys
peer cert request
pa cert request
peer cert
pa cert
peer root cert TP
profile reader root cert TP
pa root cert TP
peer pa cert TP
pa peer cert TP
profile reader pa cert TP
profile reader peer cert TP
peer user cert
pa user cert
Adding Clusterware entries to upstart
CRS-2672: Attempting to start 'ora.mdnsd' on 'oracle-rac02'
CRS-2676: Start of 'ora.mdnsd' on 'oracle-rac02' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'oracle-rac02'
CRS-2676: Start of 'ora.gpnpd' on 'oracle-rac02' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'oracle-rac02'
CRS-2672: Attempting to start 'ora.gipcd' on 'oracle-rac02'
CRS-2676: Start of 'ora.cssdmonitor' on 'oracle-rac02' succeeded
CRS-2676: Start of 'ora.gipcd' on 'oracle-rac02' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'oracle-rac02'
CRS-2672: Attempting to start 'ora.diskmon' on 'oracle-rac02'
CRS-2676: Start of 'ora.diskmon' on 'oracle-rac02' succeeded
CRS-2676: Start of 'ora.cssd' on 'oracle-rac02' succeeded

已成功创建并启动 ASM。

已成功装载磁盘组DATA1。

Existing OCR configuration found, aborting the configuration. Rerun configuration setup after deinstall at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 10302.
/u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failed


解决:
[root@oracle-rac02 app]# /u01/app/11.2.0/grid/crs/install/rootcrs.pl -deconfig -force

Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
PRCR-1119 : 无法查找 ora.cluster_vip_net1.type 类型的 CRS 资源
PRCR-1068 : 无法查询资源
Cannot communicate with crsd
PRCR-1070 : 无法检查 资源 ora.gsd 是否已注册
Cannot communicate with crsd
PRCR-1070 : 无法检查 资源 ora.ons 是否已注册
Cannot communicate with crsd

CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'oracle-rac02'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'oracle-rac02'
CRS-2673: Attempting to stop 'ora.ctssd' on 'oracle-rac02'
CRS-2673: Attempting to stop 'ora.asm' on 'oracle-rac02'
CRS-2677: Stop of 'ora.mdnsd' on 'oracle-rac02' succeeded
CRS-2677: Stop of 'ora.asm' on 'oracle-rac02' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'oracle-rac02'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'oracle-rac02' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'oracle-rac02' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'oracle-rac02'
CRS-2677: Stop of 'ora.cssd' on 'oracle-rac02' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'oracle-rac02'
CRS-2677: Stop of 'ora.gipcd' on 'oracle-rac02' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'oracle-rac02'
CRS-2677: Stop of 'ora.gpnpd' on 'oracle-rac02' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'oracle-rac02' has completed
CRS-4133: Oracle High Availability Services has been stopped.
Removing Trace File Analyzer
Successfully deconfigured Oracle clusterware stack on this node
阅读更多
想对作者说点什么?

博主推荐

换一批

没有更多推荐了,返回首页