CRS-4046,CRS-4000

安装oracle rac 执行root.sh脚本报错:
CRS-4046: Invalid Oracle Clusterware configuration.
CRS-4000: Command Create failed, or completed with errors.
Failure initializing entries in /etc/oracle/scls_scr/host01
/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
又上可见,OLR没能正常加载,所以需要先清空本地注册信息,在执行root脚本。
[root@host01 /]# /u01/app/11.2.0/grid/crs/install/roothas.pl -deconfig -force -verbose
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
CRS-4046: Invalid Oracle Clusterware configuration.
CRS-4000: Command Stop failed, or completed with errors.
CRS-4046: Invalid Oracle Clusterware configuration.
CRS-4000: Command Delete failed, or completed with errors.
CRS-4046: Invalid Oracle Clusterware configuration.
CRS-4000: Command Stop failed, or completed with errors.
You must kill ohasd processes or reboot the system to properly
cleanup the processes started by Oracle clusterware
Failure in execution (rc=-1, 0, No such file or directory) for command /etc/init.d/ohasd deinstall
Successfully deconfigured Oracle Restart stack

[root@host01 ~]# /u01/app/11.2.0/grid/root.sh
Performing root user operation for Oracle 11g

The following environment variables are set as:
ORACLE_OWNER= oracle
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
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 inittab
CRS-2672: Attempting to start ‘ora.mdnsd’ on ‘host01’
CRS-2676: Start of ‘ora.mdnsd’ on ‘host01’ succeeded
CRS-2672: Attempting to start ‘ora.gpnpd’ on ‘host01’
CRS-2676: Start of ‘ora.gpnpd’ on ‘host01’ succeeded
CRS-2672: Attempting to start ‘ora.cssdmonitor’ on ‘host01’
CRS-2672: Attempting to start ‘ora.gipcd’ on ‘host01’
CRS-2676: Start of ‘ora.gipcd’ on ‘host01’ succeeded
CRS-2676: Start of ‘ora.cssdmonitor’ on ‘host01’ succeeded
CRS-2672: Attempting to start ‘ora.cssd’ on ‘host01’
CRS-2672: Attempting to start ‘ora.diskmon’ on ‘host01’
CRS-2676: Start of ‘ora.diskmon’ on ‘host01’ succeeded
CRS-2676: Start of ‘ora.cssd’ on ‘host01’ succeeded

ASM created and started successfully.

Disk Group DATA created successfully.

clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user ‘root’, privgrp ‘root’..
Operation successful.
CRS-4256: Updating the profile
Successful addition of voting disk 08dbe43b07664f24bf0c70b2ea6cdd27.
Successful addition of voting disk 3aa10be809404fb7bff3ce6cec972a25.
Successful addition of voting disk 1fd9a2105c474fb4bf734b41e05111ad.
Successfully replaced voting disk group with +DATA.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced

STATE File Universal Id File Name Disk group

– —– —————– ——— ———
1. ONLINE 08dbe43b07664f24bf0c70b2ea6cdd27 (ORCL:VOL1) [DATA]
2. ONLINE 3aa10be809404fb7bff3ce6cec972a25 (ORCL:VOL2) [DATA]
3. ONLINE 1fd9a2105c474fb4bf734b41e05111ad (ORCL:VOL3) [DATA]
Located 3 voting disk(s).

猜你喜欢

转载自blog.csdn.net/a743044559/article/details/79014597