1.报错日志:
[root@area3-db-01 install]# /u01/app/12.2.0/grid/root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /u01/app/12.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.
Relinking oracle with rac_on option
Using configuration parameter file: /u01/app/12.2.0/grid/crs/install/crsconfig_params
The log of current session can be found at:
/u01/app/grid/crsdata/area3-db-01/crsconfig/rootcrs_area3-db-01_2017-09-14_07-33-43PM.log
2017/09/14 19:33:45 CLSRSC-594: Executing installation step 1 of 19: 'SetupTFA'.
2017/09/14 19:33:45 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.
2017/09/14 19:34:11 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.
2017/09/14 19:34:11 CLSRSC-594: Executing installation step 2 of 19: 'ValidateEnv'.
2017/09/14 19:34:13 CLSRSC-363: User ignored prerequisites during installation
2017/09/14 19:34:13 CLSRSC-594: Executing installation step 3 of 19: 'CheckFirstNode'.
2017/09/14 19:34:15 CLSRSC-594: Executing installation step 4 of 19: 'GenSiteGUIDs'.
2017/09/14 19:34:15 CLSRSC-594: Executing installation step 5 of 19: 'SaveParamFile'.
2017/09/14 19:34:20 CLSRSC-594: Executing installation step 6 of 19: 'SetupOSD'.
2017/09/14 19:34:21 CLSRSC-594: Executing installation step 7 of 19: 'CheckCRSConfig'.
2017/09/14 19:34:21 CLSRSC-594: Executing installation step 8 of 19: 'SetupLocalGPNP'.
2017/09/14 19:34:40 CLSRSC-594: Executing installation step 9 of 19: 'ConfigOLR'.
2017/09/14 19:34:45 CLSRSC-594: Executing installation step 10 of 19: 'ConfigCHMOS'.
2017/09/14 19:34:45 CLSRSC-594: Executing installation step 11 of 19: 'CreateOHASD'.
2017/09/14 19:34:49 CLSRSC-594: Executing installation step 12 of 19: 'ConfigOHASD'.
2017/09/14 19:35:04 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'
2017/09/14 19:35:36 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'.
2017/09/14 19:35:39 CLSRSC-594: Executing installation step 14 of 19: 'InstallACFS'.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'area3-db-01'
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'area3-db-01' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
2017/09/14 19:35:58 CLSRSC-594: Executing installation step 15 of 19: 'InstallKA'.
2017/09/14 19:36:02 CLSRSC-594: Executing installation step 16 of 19: 'InitConfig'.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'area3-db-01'
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'area3-db-01' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
CRS-2672: Attempting to start 'ora.evmd' on 'area3-db-01'
CRS-2672: Attempting to start 'ora.mdnsd' on 'area3-db-01'
CRS-2676: Start of 'ora.mdnsd' on 'area3-db-01' succeeded
CRS-2676: Start of 'ora.evmd' on 'area3-db-01' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'area3-db-01'
CRS-2676: Start of 'ora.gpnpd' on 'area3-db-01' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'area3-db-01'
CRS-2672: Attempting to start 'ora.gipcd' on 'area3-db-01'
CRS-2676: Start of 'ora.cssdmonitor' on 'area3-db-01' succeeded
CRS-2676: Start of 'ora.gipcd' on 'area3-db-01' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'area3-db-01'
CRS-2672: Attempting to start 'ora.diskmon' on 'area3-db-01'
CRS-2676: Start of 'ora.diskmon' on 'area3-db-01' succeeded
CRS-2676: Start of 'ora.cssd' on 'area3-db-01' succeeded
Creation of ASM spfile in disk group failed.
ORA-29783: GPnP attribute SET failed with error [CLSGPNP_NOT_FOUND]
2017/09/14 19:37:37 CLSRSC-184: Configuration of ASM failed
2017/09/14 19:37:39 CLSRSC-258: Failed to configure and start ASM
Died at /u01/app/12.2.0/grid/crs/install/crsinstall.pm line 2091.
The command '/u01/app/12.2.0/grid/perl/bin/perl -I/u01/app/12.2.0/grid/perl/lib -I/u01/app/12.2.0/grid/crs/install /u01/app/12.2.0/grid/crs/install/rootcrs.pl ' execution failed
2.处理方法:
参考文档:The root.sh Fails with ORA-29783:GPnP Attribute SET Failed With Error
[CLSGPNP_NOT_FOUND] (文档 ID 2180883.1)
1)关闭系统服务
#systemctl status firewalld
#systemctl stop firewalld
#systemctl disable firewalld
#vi /etc/sysconfig/selinux
SELINUX=permissive
#systemctl status NetworkManager.service
#systemctl mask NetworkManager.service
#systemctl stop NetworkManager.service
#systemctl disable NetworkManager.service
# systemctl status avahi-daemon.socket avahi-daemon.service
# systemctl mask avahi-daemon.socket avahi-daemon.service
# systemctl stop avahi-daemon.socket avahi-daemon.service
# systemctl disable avahi-daemon.socket avahi-daemon.service
2) 解除配置信息
[root@area3-db-01 install]# ./rootcrs.pl -deconfig -force
Using configuration parameter file: ./crsconfig_params
The log of current session can be found at:
/u01/app/grid/crsdata/area3-db-01/crsconfig/crsdeconfig_area3-db-01_2017-09-14_08-05-31PM.log
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'area3-db-01'
CRS-2673: Attempting to stop 'ora.crsd' on 'area3-db-01'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on server 'area3-db-01'
CRS-2673: Attempting to stop 'ora.OCRDG.dg' on 'area3-db-01'
CRS-2677: Stop of 'ora.OCRDG.dg' on 'area3-db-01' succeeded
CRS-2673: Attempting to stop 'ora.MGMT.dg' on 'area3-db-01'
CRS-2677: Stop of 'ora.MGMT.dg' on 'area3-db-01' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'area3-db-01'
CRS-2677: Stop of 'ora.asm' on 'area3-db-01' succeeded
CRS-2673: Attempting to stop 'ora.ASMNET1LSNR_ASM.lsnr' on 'area3-db-01'
CRS-2677: Stop of 'ora.ASMNET1LSNR_ASM.lsnr' on 'area3-db-01' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'area3-db-01' has completed
CRS-2677: Stop of 'ora.crsd' on 'area3-db-01' succeeded
CRS-2673: Attempting to stop 'ora.storage' on 'area3-db-01'
CRS-2673: Attempting to stop 'ora.crf' on 'area3-db-01'
CRS-2673: Attempting to stop 'ora.gpnpd' on 'area3-db-01'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'area3-db-01'
CRS-2677: Stop of 'ora.crf' on 'area3-db-01' succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'area3-db-01' succeeded
CRS-2677: Stop of 'ora.storage' on 'area3-db-01' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'area3-db-01'
CRS-2677: Stop of 'ora.mdnsd' on 'area3-db-01' succeeded
CRS-2677: Stop of 'ora.asm' on 'area3-db-01' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'area3-db-01'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'area3-db-01' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'area3-db-01'
CRS-2673: Attempting to stop 'ora.evmd' on 'area3-db-01'
CRS-2677: Stop of 'ora.ctssd' on 'area3-db-01' succeeded
CRS-2677: Stop of 'ora.evmd' on 'area3-db-01' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'area3-db-01'
CRS-2677: Stop of 'ora.cssd' on 'area3-db-01' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'area3-db-01'
CRS-2677: Stop of 'ora.gipcd' on 'area3-db-01' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'area3-db-01' has completed
CRS-4133: Oracle High Availability Services has been stopped.
2017/09/14 20:06:26 CLSRSC-4006: Removing Oracle Trace File Analyzer (TFA) Collector.
2017/09/14 20:06:53 CLSRSC-4007: Successfully removed Oracle Trace File Analyzer (TFA) Collector.
2017/09/14 20:06:53 CLSRSC-336: Successfully deconfigured Oracle Clusterware stack on this node
3) 重跑ROOT.SH
[root@area3-db-01 install]# /u01/app/12.2.0/grid/root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /u01/app/12.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.
Relinking oracle with rac_on option
Using configuration parameter file: /u01/app/12.2.0/grid/crs/install/crsconfig_params
The log of current session can be found at:
/u01/app/grid/crsdata/area3-db-01/crsconfig/rootcrs_area3-db-01_2017-09-14_07-54-08PM.log
2017/09/14 19:54:10 CLSRSC-594: Executing installation step 1 of 19: 'SetupTFA'.
2017/09/14 19:54:10 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.
2017/09/14 19:54:34 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.
2017/09/14 19:54:35 CLSRSC-594: Executing installation step 2 of 19: 'ValidateEnv'.
2017/09/14 19:54:37 CLSRSC-363: User ignored prerequisites during installation
2017/09/14 19:54:37 CLSRSC-594: Executing installation step 3 of 19: 'CheckFirstNode'.
2017/09/14 19:54:39 CLSRSC-594: Executing installation step 4 of 19: 'GenSiteGUIDs'.
2017/09/14 19:54:39 CLSRSC-594: Executing installation step 5 of 19: 'SaveParamFile'.
2017/09/14 19:54:44 CLSRSC-594: Executing installation step 6 of 19: 'SetupOSD'.
2017/09/14 19:54:44 CLSRSC-594: Executing installation step 7 of 19: 'CheckCRSConfig'.
2017/09/14 19:54:45 CLSRSC-594: Executing installation step 8 of 19: 'SetupLocalGPNP'.
2017/09/14 19:55:04 CLSRSC-594: Executing installation step 9 of 19: 'ConfigOLR'.
2017/09/14 19:55:09 CLSRSC-594: Executing installation step 10 of 19: 'ConfigCHMOS'.
2017/09/14 19:55:09 CLSRSC-594: Executing installation step 11 of 19: 'CreateOHASD'.
2017/09/14 19:55:13 CLSRSC-594: Executing installation step 12 of 19: 'ConfigOHASD'.
2017/09/14 19:55:28 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'
2017/09/14 19:56:00 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'.
2017/09/14 19:56:03 CLSRSC-594: Executing installation step 14 of 19: 'InstallACFS'.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'area3-db-01'
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'area3-db-01' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
2017/09/14 19:56:22 CLSRSC-594: Executing installation step 15 of 19: 'InstallKA'.
2017/09/14 19:56:26 CLSRSC-594: Executing installation step 16 of 19: 'InitConfig'.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'area3-db-01'
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'area3-db-01' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
CRS-2672: Attempting to start 'ora.evmd' on 'area3-db-01'
CRS-2672: Attempting to start 'ora.mdnsd' on 'area3-db-01'
CRS-2676: Start of 'ora.mdnsd' on 'area3-db-01' succeeded
CRS-2676: Start of 'ora.evmd' on 'area3-db-01' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'area3-db-01'
CRS-2676: Start of 'ora.gpnpd' on 'area3-db-01' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'area3-db-01'
CRS-2672: Attempting to start 'ora.gipcd' on 'area3-db-01'
CRS-2676: Start of 'ora.cssdmonitor' on 'area3-db-01' succeeded
CRS-2676: Start of 'ora.gipcd' on 'area3-db-01' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'area3-db-01'
CRS-2672: Attempting to start 'ora.diskmon' on 'area3-db-01'
CRS-2676: Start of 'ora.diskmon' on 'area3-db-01' succeeded
CRS-2676: Start of 'ora.cssd' on 'area3-db-01' succeeded
ASM has been created and started successfully.
[DBT-30022] Disk group OCRDG mounted successfully.
2017/09/14 19:57:33 CLSRSC-482: Running command: '/u01/app/12.2.0/grid/bin/ocrconfig -upgrade grid oinstall'
CRS-2672: Attempting to start 'ora.crf' on 'area3-db-01'
CRS-2672: Attempting to start 'ora.storage' on 'area3-db-01'
CRS-2676: Start of 'ora.storage' on 'area3-db-01' succeeded
CRS-2676: Start of 'ora.crf' on 'area3-db-01' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'area3-db-01'
CRS-2676: Start of 'ora.crsd' on 'area3-db-01' succeeded
CRS-4256: Updating the profile
Successful addition of voting disk d38d55e9dffc4f04bf2b473e3e916e5a.
Successful addition of voting disk 99b3496943a74f6abf5d6aebf59a7424.
Successful addition of voting disk 76c76a93351b4f89bfb155f411eb4529.
Successfully replaced voting disk group with +OCRDG.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE d38d55e9dffc4f04bf2b473e3e916e5a (/dev/oracleasm/disks/OCR1) [OCRDG]
2. ONLINE 99b3496943a74f6abf5d6aebf59a7424 (/dev/oracleasm/disks/OCR3) [OCRDG]
3. ONLINE 76c76a93351b4f89bfb155f411eb4529 (/dev/oracleasm/disks/OCR2) [OCRDG]
Located 3 voting disk(s).
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'area3-db-01'
CRS-2673: Attempting to stop 'ora.crsd' on 'area3-db-01'
CRS-2677: Stop of 'ora.crsd' on 'area3-db-01' succeeded
CRS-2673: Attempting to stop 'ora.storage' on 'area3-db-01'
CRS-2673: Attempting to stop 'ora.crf' on 'area3-db-01'
CRS-2673: Attempting to stop 'ora.gpnpd' on 'area3-db-01'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'area3-db-01'
CRS-2677: Stop of 'ora.crf' on 'area3-db-01' succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'area3-db-01' succeeded
CRS-2677: Stop of 'ora.storage' on 'area3-db-01' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'area3-db-01'
CRS-2677: Stop of 'ora.mdnsd' on 'area3-db-01' succeeded
CRS-2677: Stop of 'ora.asm' on 'area3-db-01' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'area3-db-01'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'area3-db-01' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'area3-db-01'
CRS-2673: Attempting to stop 'ora.evmd' on 'area3-db-01'
CRS-2677: Stop of 'ora.ctssd' on 'area3-db-01' succeeded
CRS-2677: Stop of 'ora.evmd' on 'area3-db-01' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'area3-db-01'
CRS-2677: Stop of 'ora.cssd' on 'area3-db-01' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'area3-db-01'
CRS-2677: Stop of 'ora.gipcd' on 'area3-db-01' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'area3-db-01' has completed
CRS-4133: Oracle High Availability Services has been stopped.
2017/09/14 19:58:11 CLSRSC-594: Executing installation step 17 of 19: 'StartCluster'.
CRS-4123: Starting Oracle High Availability Services-managed resources
CRS-2672: Attempting to start 'ora.evmd' on 'area3-db-01'
CRS-2672: Attempting to start 'ora.mdnsd' on 'area3-db-01'
CRS-2676: Start of 'ora.evmd' on 'area3-db-01' succeeded
CRS-2676: Start of 'ora.mdnsd' on 'area3-db-01' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'area3-db-01'
CRS-2676: Start of 'ora.gpnpd' on 'area3-db-01' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'area3-db-01'
CRS-2676: Start of 'ora.gipcd' on 'area3-db-01' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'area3-db-01'
CRS-2676: Start of 'ora.cssdmonitor' on 'area3-db-01' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'area3-db-01'
CRS-2672: Attempting to start 'ora.diskmon' on 'area3-db-01'
CRS-2676: Start of 'ora.diskmon' on 'area3-db-01' succeeded
CRS-2676: Start of 'ora.cssd' on 'area3-db-01' succeeded
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'area3-db-01'
CRS-2672: Attempting to start 'ora.ctssd' on 'area3-db-01'
CRS-2676: Start of 'ora.ctssd' on 'area3-db-01' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'area3-db-01' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'area3-db-01'
CRS-2676: Start of 'ora.asm' on 'area3-db-01' succeeded
CRS-2672: Attempting to start 'ora.storage' on 'area3-db-01'
CRS-2676: Start of 'ora.storage' on 'area3-db-01' succeeded
CRS-2672: Attempting to start 'ora.crf' on 'area3-db-01'
CRS-2676: Start of 'ora.crf' on 'area3-db-01' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'area3-db-01'
CRS-2676: Start of 'ora.crsd' on 'area3-db-01' succeeded
CRS-6023: Starting Oracle Cluster Ready Services-managed resources
CRS-6017: Processing resource auto-start for servers: area3-db-01
CRS-6016: Resource auto-start has completed for server area3-db-01
CRS-6024: Completed start of Oracle Cluster Ready Services-managed resources
CRS-4123: Oracle High Availability Services has been started.
2017/09/14 20:00:36 CLSRSC-343: Successfully started Oracle Clusterware stack
2017/09/14 20:00:36 CLSRSC-594: Executing installation step 18 of 19: 'ConfigNode'.
CRS-2672: Attempting to start 'ora.ASMNET1LSNR_ASM.lsnr' on 'area3-db-01'
CRS-2676: Start of 'ora.ASMNET1LSNR_ASM.lsnr' on 'area3-db-01' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'area3-db-01'
CRS-2676: Start of 'ora.asm' on 'area3-db-01' succeeded
CRS-2672: Attempting to start 'ora.OCRDG.dg' on 'area3-db-01'
CRS-2676: Start of 'ora.OCRDG.dg' on 'area3-db-01' succeeded
2017/09/14 20:02:03 CLSRSC-594: Executing installation step 19 of 19: 'PostConfig'.
2017/09/14 20:02:42 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded