[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 DatabaseConfigurationAssistant 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/1111:09:58CLSRSC-594: Executing installation step 1of19: 'SetupTFA'. 2019/04/1111:09:58CLSRSC-4001: InstallingOracleTraceFileAnalyzer (TFA) Collector. 2019/04/1111:10:29CLSRSC-4002: Successfully installed OracleTraceFileAnalyzer (TFA) Collector. 2019/04/1111:10:29CLSRSC-594: Executing installation step 2of19: 'ValidateEnv'. 2019/04/1111:10:34CLSRSC-363: User ignored prerequisites during installation 2019/04/1111:10:34CLSRSC-594: Executing installation step 3of19: 'CheckFirstNode'. 2019/04/1111:10:37CLSRSC-594: Executing installation step 4of19: 'GenSiteGUIDs'. 2019/04/1111:10:38CLSRSC-594: Executing installation step 5of19: 'SaveParamFile'. 2019/04/1111:10:46CLSRSC-594: Executing installation step 6of19: 'SetupOSD'. 2019/04/1111:10:46CLSRSC-594: Executing installation step 7of19: 'CheckCRSConfig'. 2019/04/1111:10:46CLSRSC-594: Executing installation step 8of19: 'SetupLocalGPNP'. 2019/04/1111:11:24CLSRSC-594: Executing installation step 9of19: 'ConfigOLR'. 2019/04/1111:11:33CLSRSC-594: Executing installation step 10of19: 'ConfigCHMOS'. 2019/04/1111:11:33CLSRSC-594: Executing installation step 11of19: 'CreateOHASD'. 2019/04/1111:11:39CLSRSC-594: Executing installation step 12of19: 'ConfigOHASD'. 2019/04/1111:11:55CLSRSC-330: AddingClusterware entries to file 'oracle-ohasd.service' 2019/04/1111:12:15CLSRSC-594: Executing installation step 13of19: 'InstallAFD'. 2019/04/1111:12:20CLSRSC-594: Executing installation step 14of19: 'InstallACFS'. CRS-2791: Starting shutdown ofOracleHighAvailabilityServices-managed resources on 'racnode1' CRS-2793: ShutdownofOracleHighAvailabilityServices-managed resources on 'racnode1' has completed CRS-4133: OracleHighAvailabilityServices has been stopped. CRS-4123: OracleHighAvailabilityServices has been started. 2019/04/1111:12:42CLSRSC-594: Executing installation step 15of19: 'InstallKA'. 2019/04/1111:12:48CLSRSC-594: Executing installation step 16of19: 'InitConfig'. CRS-2791: Starting shutdown ofOracleHighAvailabilityServices-managed resources on 'racnode1' CRS-2793: ShutdownofOracleHighAvailabilityServices-managed resources on 'racnode1' has completed CRS-4133: OracleHighAvailabilityServices has been stopped. CRS-4123: OracleHighAvailabilityServices has been started. CRS-2672: Attempting to start 'ora.evmd' on 'racnode1' CRS-2672: Attempting to start 'ora.mdnsd' on 'racnode1' CRS-2676: Startof'ora.evmd' on 'racnode1' succeeded CRS-2676: Startof'ora.mdnsd' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.gpnpd' on 'racnode1' CRS-2676: Startof'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: Startof'ora.cssdmonitor' on 'racnode1' succeeded CRS-2676: Startof'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: Startof'ora.diskmon' on 'racnode1' succeeded CRS-2676: Startof'ora.cssd' on 'racnode1' succeeded
Disk groups created successfully. Check /u01/app/grid/cfgtoollogs/asmca/asmca-190411AM111328.log for details.
2019/04/1111:20:23CLSRSC-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: Startof'ora.storage' on 'racnode1' succeeded CRS-2676: Startof'ora.crf' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.crsd' on 'racnode1' CRS-2676: Startof'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 ## STATEFileUniversalIdFileNameDisk group -- ----- ----------------- --------- --------- 1.ONLINE d5d63504c2084fd1bf20c9109c45188c (/dev/asmdiskf) [DATA] Located1 voting disk(s). CRS-2791: Starting shutdown ofOracleHighAvailabilityServices-managed resources on 'racnode1' CRS-2673: Attempting to stop 'ora.crsd' on 'racnode1' CRS-2677: Stopof'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: Stopof'ora.crf' on 'racnode1' succeeded CRS-2677: Stopof'ora.gpnpd' on 'racnode1' succeeded CRS-2677: Stopof'ora.storage' on 'racnode1' succeeded CRS-2673: Attempting to stop 'ora.asm' on 'racnode1' CRS-2677: Stopof'ora.mdnsd' on 'racnode1' succeeded CRS-2677: Stopof'ora.asm' on 'racnode1' succeeded CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'racnode1' CRS-2677: Stopof'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: Stopof'ora.evmd' on 'racnode1' succeeded CRS-2677: Stopof'ora.ctssd' on 'racnode1' succeeded CRS-2673: Attempting to stop 'ora.cssd' on 'racnode1' CRS-2677: Stopof'ora.cssd' on 'racnode1' succeeded CRS-2673: Attempting to stop 'ora.gipcd' on 'racnode1' CRS-2677: Stopof'ora.gipcd' on 'racnode1' succeeded CRS-2793: ShutdownofOracleHighAvailabilityServices-managed resources on 'racnode1' has completed CRS-4133: OracleHighAvailabilityServices has been stopped. 2019/04/1111:26:42CLSRSC-594: Executing installation step 17of19: 'StartCluster'. CRS-4123: StartingOracleHighAvailabilityServices-managed resources CRS-2672: Attempting to start 'ora.mdnsd' on 'racnode1' CRS-2672: Attempting to start 'ora.evmd' on 'racnode1' CRS-2676: Startof'ora.evmd' on 'racnode1' succeeded CRS-2676: Startof'ora.mdnsd' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.gpnpd' on 'racnode1' CRS-2676: Startof'ora.gpnpd' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.gipcd' on 'racnode1' CRS-2676: Startof'ora.gipcd' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.cssdmonitor' on 'racnode1' CRS-2676: Startof'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: Startof'ora.diskmon' on 'racnode1' succeeded CRS-2676: Startof'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: Startof'ora.ctssd' on 'racnode1' succeeded CRS-2676: Startof'ora.cluster_interconnect.haip' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.asm' on 'racnode1' CRS-2676: Startof'ora.asm' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.storage' on 'racnode1' CRS-2676: Startof'ora.storage' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.crf' on 'racnode1' CRS-2676: Startof'ora.crf' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.crsd' on 'racnode1' CRS-2676: Startof'ora.crsd' on 'racnode1' succeeded CRS-6023: StartingOracleClusterReadyServices-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 ofOracleClusterReadyServices-managed resources CRS-4123: OracleHighAvailabilityServices has been started. 2019/04/1111:31:30CLSRSC-343: Successfully started OracleClusterware stack 2019/04/1111:31:33CLSRSC-594: Executing installation step 18of19: 'ConfigNode'. CRS-2672: Attempting to start 'ora.ASMNET1LSNR_ASM.lsnr' on 'racnode1' CRS-2676: Startof'ora.ASMNET1LSNR_ASM.lsnr' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.asm' on 'racnode1' CRS-2676: Startof'ora.asm' on 'racnode1' succeeded CRS-2672: Attempting to start 'ora.DATA.dg' on 'racnode1' CRS-2676: Startof'ora.DATA.dg' on 'racnode1' succeeded 2019/04/1111:43:18CLSRSC-594: Executing installation step 19of19: 'PostConfig'. 2019/04/1111:49:21CLSRSC-325: ConfigureOracleGridInfrastructure for a Cluster ... succeeded