GI 时报错:Creation of ASM spfile in disk group failed
[root@19c ~]# /u01/app/19.3.0/grid/root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /u01/app/19.3.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/19.3.0/grid/crs/install/crsconfig_params
The log of current session can be found at:
/u01/app/grid/crsdata/19c/crsconfig/rootcrs_19c_2021-04-30_05-35-15AM.log
2021/04/30 05:35:29 CLSRSC-594: Executing installation step 1 of 19: 'SetupTFA'.
2021/04/30 05:35:29 CLSRSC-594: Executing installation step 2 of 19: 'ValidateEnv'.
2021/04/30 05:35:29 CLSRSC-363: User ignored prerequisites during installation
2021/04/30 05:35:29 CLSRSC-594: Executing installation step 3 of 19: 'CheckFirstNode'.
2021/04/30 05:35:30 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.
2021/04/30 05:35:34 CLSRSC-594: Executing installation step 4 of 19: 'GenSiteGUIDs'.
2021/04/30 05:35:35 CLSRSC-594: Executing installation step 5 of 19: 'SetupOSD'.
2021/04/30 05:35:35 CLSRSC-594: Executing installation step 6 of 19: 'CheckCRSConfig'.
2021/04/30 05:35:36 CLSRSC-594: Executing installation step 7 of 19: 'SetupLocalGPNP'.
2021/04/30 05:35:38 CLSRSC-594: Executing installation step 8 of 19: 'CreateRootCert'.
2021/04/30 05:35:44 CLSRSC-594: Executing installation step 9 of 19: 'ConfigOLR'.
2021/04/30 05:35:45 CLSRSC-594: Executing installation step 10 of 19: 'ConfigCHMOS'.
2021/04/30 05:35:45 CLSRSC-594: Executing installation step 11 of 19: 'CreateOHASD'.
2021/04/30 05:35:47 CLSRSC-594: Executing installation step 12 of 19: 'ConfigOHASD'.
2021/04/30 05:35:52 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'.
2021/04/30 05:35:54 CLSRSC-594: Executing installation step 14 of 19: 'InstallACFS'.
2021/04/30 05:35:57 CLSRSC-594: Executing installation step 15 of 19: 'InstallKA'.
2021/04/30 05:36:01 CLSRSC-594: Executing installation step 16 of 19: 'InitConfig'.
Creation of ASM spfile in disk group failed.
ORA-29783: GPnP attribute SET failed with error [CLSGPNP_NOT_FOUND]
2021/04/30 05:38:00 CLSRSC-184: Configuration of ASM failed
2021/04/30 05:38:03 CLSRSC-258: Failed to configure and start ASM
Died at /u01/app/19.3.0/grid/crs/install/crsinstall.pm line 2484.
[root@19c ~]#
解决方式:
关闭selinux
setenforce 0
编辑/etc/selinux/config 设置SELINUX=disabled
2.检查iptables
iptables -L
iptables -X
iptables -Z
iptables -F