[root@racnode1 ~]# /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]: Copying dbhome to /usr/local/bin ... Copying oraenv to /usr/local/bin ... Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file... 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/racnode1/crsconfig/rootcrs_racnode1_2019-04-11_10-21-10AM.log 2019/04/11 10:21:12 CLSRSC-594: Executing installation step 1 of 19: 'SetupTFA'. 2019/04/11 10:21:12 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector. 2019/04/11 10:21:46 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector. 2019/04/11 10:21:46 CLSRSC-594: Executing installation step 2 of 19: 'ValidateEnv'. 2019/04/11 10:21:52 CLSRSC-363: User ignored prerequisites during installation 2019/04/11 10:21:52 CLSRSC-594: Executing installation step 3 of 19: 'CheckFirstNode'. 2019/04/11 10:21:54 CLSRSC-594: Executing installation step 4 of 19: 'GenSiteGUIDs'. 2019/04/11 10:21:55 CLSRSC-594: Executing installation step 5 of 19: 'SaveParamFile'. 2019/04/11 10:22:08 CLSRSC-594: Executing installation step 6 of 19: 'SetupOSD'. 2019/04/11 10:22:09 CLSRSC-594: Executing installation step 7 of 19: 'CheckCRSConfig'. 2019/04/11 10:22:09 CLSRSC-594: Executing installation step 8 of 19: 'SetupLocalGPNP'. 2019/04/11 10:23:00 CLSRSC-594: Executing installation step 9 of 19: 'ConfigOLR'. 2019/04/11 10:23:12 CLSRSC-594: Executing installation step 10 of 19: 'ConfigCHMOS'. 2019/04/11 10:23:12 CLSRSC-594: Executing installation step 11 of 19: 'CreateOHASD'. 2019/04/11 10:23:18 CLSRSC-594: Executing installation step 12 of 19: 'ConfigOHASD'. 2019/04/11 10:23:34 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service' 2019/04/11 10:23:55 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'. 2019/04/11 10:24:02 CLSRSC-594: Executing installation step 14 of 19: 'InstallACFS'. CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'racnode1' CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'racnode1' has completed CRS-4133: Oracle High Availability Services has been stopped. CRS-4123: Oracle High Availability Services has been started. 2019/04/11 10:24:24 CLSRSC-594: Executing installation step 15 of 19: 'InstallKA'. 2019/04/11 10:24:36 CLSRSC-594: Executing installation step 16 of 19: 'InitConfig'. CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'racnode1' CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'racnode1' 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 'racnode1' CRS-2672: Attempting to start 'ora.mdnsd' on 'racnode1' CRS-2676: Start of 'ora.mdnsd' on 'racnode1' succeeded CRS-2676: Start of 'ora.evmd' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.gpnpd' on 'racnode1' CRS-2676: Start of 'ora.gpnpd' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.cssdmonitor' on 'racnode1' CRS-2672: Attempting to start 'ora.gipcd' on 'racnode1' CRS-2676: Start of 'ora.cssdmonitor' on 'racnode1' succeeded CRS-2676: Start of 'ora.gipcd' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.cssd' on 'racnode1' CRS-2672: Attempting to start 'ora.diskmon' on 'racnode1' CRS-2676: Start of 'ora.diskmon' on 'racnode1' succeeded CRS-2676: Start of 'ora.cssd' on 'racnode1' succeeded
ASM failed to start. Check /u01/app/grid/cfgtoollogs/asmca/asmca-190411AM102519.log for details.
2019/04/11 10:25:41 CLSRSC-184: Configuration of ASM failed 2019/04/11 10:25:47 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
查看日志有报错
1 2 3 4 5
[main] [ 2019-04-11 10:25:29.659 CST ] [OracleHome.getVersion:1152] Current version from sqlplus: 12.2.0.1.0 [main] [ 2019-04-11 10:25:29.659 CST ] [UsmcaLogger.logInfo:156] Role SYSASM [main] [ 2019-04-11 10:25:29.659 CST ] [UsmcaLogger.logInfo:156] OS Auth true [main] [ 2019-04-11 10:25:40.692 CST ] [SQLEngine.done:2314] Done called [main] [ 2019-04-11 10:25:40.695 CST ] [USMInstance.configureLocalASM:3367] ORA-00845: MEMORY_TARGET not supported on this system
[root@racnode1 trace]# /u01/app/12.2.0/grid/crs/install/rootcrs.sh -deconfig -force 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/racnode1/crsconfig/crsdeconfig_racnode1_2019-04-11_11-06-32AM.log PRCR-1070 : Failed to check if resource ora.net1.network is registered CRS-0184 : Cannot communicate with the CRS daemon. PRCR-1070 : Failed to check if resource ora.helper is registered CRS-0184 : Cannot communicate with the CRS daemon. PRCR-1070 : Failed to check if resource ora.ons is registered CRS-0184 : Cannot communicate with the CRS daemon.
2019/04/11 11:06:45 CLSRSC-180: An error occurred while executing the command '/u01/app/12.2.0/grid/bin/srvctl config nodeapps' CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'racnode1' CRS-2673: Attempting to stop 'ora.ctssd' on 'racnode1' CRS-2673: Attempting to stop 'ora.evmd' on 'racnode1' CRS-2673: Attempting to stop 'ora.mdnsd' on 'racnode1' CRS-2673: Attempting to stop 'ora.gpnpd' on 'racnode1' CRS-2679: Attempting to clean 'ora.asm' on 'racnode1' CRS-2677: Stop of 'ora.evmd' on 'racnode1' succeeded CRS-2677: Stop of 'ora.ctssd' on 'racnode1' succeeded CRS-2673: Attempting to stop 'ora.cssd' on 'racnode1' CRS-2677: Stop of 'ora.mdnsd' on 'racnode1' succeeded CRS-2677: Stop of 'ora.cssd' on 'racnode1' succeeded CRS-2673: Attempting to stop 'ora.gipcd' on 'racnode1' CRS-2677: Stop of 'ora.gpnpd' on 'racnode1' succeeded CRS-2681: Clean of 'ora.asm' on 'racnode1' succeeded CRS-2677: Stop of 'ora.gipcd' on 'racnode1' succeeded CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'racnode1' has completed CRS-4133: Oracle High Availability Services has been stopped. 2019/04/11 11:07:16 CLSRSC-4006: Removing Oracle Trace File Analyzer (TFA) Collector. 2019/04/11 11:09:01 CLSRSC-4007: Successfully removed Oracle Trace File Analyzer (TFA) Collector. 2019/04/11 11:09:02 CLSRSC-336: Successfully deconfigured Oracle Clusterware stack on this node
[root@racnode1 trace]# /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/racnode1/crsconfig/rootcrs_racnode1_2019-04-11_11-09-55AM.log 2019/04/11 11:09:58 CLSRSC-594: Executing installation step 1 of 19: 'SetupTFA'. 2019/04/11 11:09:58 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector. 2019/04/11 11:10:29 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector. 2019/04/11 11:10:29 CLSRSC-594: Executing installation step 2 of 19: 'ValidateEnv'. 2019/04/11 11:10:34 CLSRSC-363: User ignored prerequisites during installation 2019/04/11 11:10:34 CLSRSC-594: Executing installation step 3 of 19: 'CheckFirstNode'. 2019/04/11 11:10:37 CLSRSC-594: Executing installation step 4 of 19: 'GenSiteGUIDs'. 2019/04/11 11:10:38 CLSRSC-594: Executing installation step 5 of 19: 'SaveParamFile'. 2019/04/11 11:10:46 CLSRSC-594: Executing installation step 6 of 19: 'SetupOSD'. 2019/04/11 11:10:46 CLSRSC-594: Executing installation step 7 of 19: 'CheckCRSConfig'. 2019/04/11 11:10:46 CLSRSC-594: Executing installation step 8 of 19: 'SetupLocalGPNP'. 2019/04/11 11:11:24 CLSRSC-594: Executing installation step 9 of 19: 'ConfigOLR'. 2019/04/11 11:11:33 CLSRSC-594: Executing installation step 10 of 19: 'ConfigCHMOS'. 2019/04/11 11:11:33 CLSRSC-594: Executing installation step 11 of 19: 'CreateOHASD'. 2019/04/11 11:11:39 CLSRSC-594: Executing installation step 12 of 19: 'ConfigOHASD'. 2019/04/11 11:11:55 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service' 2019/04/11 11:12:15 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'. 2019/04/11 11:12:20 CLSRSC-594: Executing installation step 14 of 19: 'InstallACFS'. CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'racnode1' CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'racnode1' has completed CRS-4133: Oracle High Availability Services has been stopped. CRS-4123: Oracle High Availability Services has been started. 2019/04/11 11:12:42 CLSRSC-594: Executing installation step 15 of 19: 'InstallKA'. 2019/04/11 11:12:48 CLSRSC-594: Executing installation step 16 of 19: 'InitConfig'. CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'racnode1' CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'racnode1' 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 'racnode1' CRS-2672: Attempting to start 'ora.mdnsd' on 'racnode1' CRS-2676: Start of 'ora.evmd' on 'racnode1' succeeded CRS-2676: Start of 'ora.mdnsd' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.gpnpd' on 'racnode1' CRS-2676: Start of 'ora.gpnpd' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.cssdmonitor' on 'racnode1' CRS-2672: Attempting to start 'ora.gipcd' on 'racnode1' CRS-2676: Start of 'ora.cssdmonitor' on 'racnode1' succeeded CRS-2676: Start of 'ora.gipcd' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.cssd' on 'racnode1' CRS-2672: Attempting to start 'ora.diskmon' on 'racnode1' CRS-2676: Start of 'ora.diskmon' on 'racnode1' succeeded CRS-2676: Start of 'ora.cssd' on 'racnode1' succeeded
Disk groups created successfully. Check /u01/app/grid/cfgtoollogs/asmca/asmca-190411AM111328.log for details.
2019/04/11 11:20:23 CLSRSC-482: Running command: '/u01/app/12.2.0/grid/bin/ocrconfig -upgrade grid oinstall' CRS-2672: Attempting to start 'ora.crf' on 'racnode1' CRS-2672: Attempting to start 'ora.storage' on 'racnode1' CRS-2676: Start of 'ora.storage' on 'racnode1' succeeded CRS-2676: Start of 'ora.crf' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.crsd' on 'racnode1' CRS-2676: Start of 'ora.crsd' on 'racnode1' succeeded CRS-4256: Updating the profile Successful addition of voting disk d5d63504c2084fd1bf20c9109c45188c. 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 d5d63504c2084fd1bf20c9109c45188c (/dev/asmdiskf) [DATA] Located 1 voting disk(s). CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'racnode1' CRS-2673: Attempting to stop 'ora.crsd' on 'racnode1' CRS-2677: Stop of 'ora.crsd' on 'racnode1' succeeded CRS-2673: Attempting to stop 'ora.storage' on 'racnode1' CRS-2673: Attempting to stop 'ora.crf' on 'racnode1' CRS-2673: Attempting to stop 'ora.gpnpd' on 'racnode1' CRS-2673: Attempting to stop 'ora.mdnsd' on 'racnode1' CRS-2677: Stop of 'ora.crf' on 'racnode1' succeeded CRS-2677: Stop of 'ora.gpnpd' on 'racnode1' succeeded CRS-2677: Stop of 'ora.storage' on 'racnode1' succeeded CRS-2673: Attempting to stop 'ora.asm' on 'racnode1' CRS-2677: Stop of 'ora.mdnsd' on 'racnode1' succeeded CRS-2677: Stop of 'ora.asm' on 'racnode1' succeeded CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'racnode1' CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'racnode1' succeeded CRS-2673: Attempting to stop 'ora.ctssd' on 'racnode1' CRS-2673: Attempting to stop 'ora.evmd' on 'racnode1' CRS-2677: Stop of 'ora.evmd' on 'racnode1' succeeded CRS-2677: Stop of 'ora.ctssd' on 'racnode1' succeeded CRS-2673: Attempting to stop 'ora.cssd' on 'racnode1' CRS-2677: Stop of 'ora.cssd' on 'racnode1' succeeded CRS-2673: Attempting to stop 'ora.gipcd' on 'racnode1' CRS-2677: Stop of 'ora.gipcd' on 'racnode1' succeeded CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'racnode1' has completed CRS-4133: Oracle High Availability Services has been stopped. 2019/04/11 11:26:42 CLSRSC-594: Executing installation step 17 of 19: 'StartCluster'. CRS-4123: Starting Oracle High Availability Services-managed resources CRS-2672: Attempting to start 'ora.mdnsd' on 'racnode1' CRS-2672: Attempting to start 'ora.evmd' on 'racnode1' CRS-2676: Start of 'ora.evmd' on 'racnode1' succeeded CRS-2676: Start of 'ora.mdnsd' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.gpnpd' on 'racnode1' CRS-2676: Start of 'ora.gpnpd' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.gipcd' on 'racnode1' CRS-2676: Start of 'ora.gipcd' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.cssdmonitor' on 'racnode1' CRS-2676: Start of 'ora.cssdmonitor' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.cssd' on 'racnode1' CRS-2672: Attempting to start 'ora.diskmon' on 'racnode1' CRS-2676: Start of 'ora.diskmon' on 'racnode1' succeeded CRS-2676: Start of 'ora.cssd' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'racnode1' CRS-2672: Attempting to start 'ora.ctssd' on 'racnode1' CRS-2676: Start of 'ora.ctssd' on 'racnode1' succeeded CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.asm' on 'racnode1' CRS-2676: Start of 'ora.asm' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.storage' on 'racnode1' CRS-2676: Start of 'ora.storage' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.crf' on 'racnode1' CRS-2676: Start of 'ora.crf' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.crsd' on 'racnode1' CRS-2676: Start of 'ora.crsd' on 'racnode1' succeeded CRS-6023: Starting Oracle Cluster Ready Services-managed resources CRS-6017: Processing resource auto-start for servers: racnode1 CRS-6016: Resource auto-start has completed for server racnode1 CRS-6024: Completed start of Oracle Cluster Ready Services-managed resources CRS-4123: Oracle High Availability Services has been started. 2019/04/11 11:31:30 CLSRSC-343: Successfully started Oracle Clusterware stack 2019/04/11 11:31:33 CLSRSC-594: Executing installation step 18 of 19: 'ConfigNode'. CRS-2672: Attempting to start 'ora.ASMNET1LSNR_ASM.lsnr' on 'racnode1' CRS-2676: Start of 'ora.ASMNET1LSNR_ASM.lsnr' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.asm' on 'racnode1' CRS-2676: Start of 'ora.asm' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.DATA.dg' on 'racnode1' CRS-2676: Start of 'ora.DATA.dg' on 'racnode1' succeeded 2019/04/11 11:43:18 CLSRSC-594: Executing installation step 19 of 19: 'PostConfig'. 2019/04/11 11:49:21 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded