oracle12CR2 RAC安裝部署(REDHAT7.6)四、Grid root.sh錯誤解決方案(oracle12cr2安裝包)
解決方案:(需要在執行root.sh之前執行該命令)
MOS文檔Workround: As GI User: $ export ORACLE_HOME=
重新執行root.sh:
[root@fdcdb01 ~]# /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/fdcdb01/crsconfig/rootcrs_fdcdb01_2021-04-01_05-39-52PM.log 2021/04/01 17:39:55 CLSRSC-594: Executing installation step 1 of 19: 'SetupTFA'. 2021/04/01 17:39:55 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector. 2021/04/01 17:39:56 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector. 2021/04/01 17:39:56 CLSRSC-594: Executing installation step 2 of 19: 'ValidateEnv'. 2021/04/01 17:39:57 CLSRSC-363: User ignored prerequisites during installation 2021/04/01 17:39:57 CLSRSC-594: Executing installation step 3 of 19: 'CheckFirstNode'. 2021/04/01 17:39:59 CLSRSC-594: Executing installation step 4 of 19: 'GenSiteGUIDs'. 2021/04/01 17:40:02 CLSRSC-594: Executing installation step 5 of 19: 'SaveParamFile'. 2021/04/01 17:40:03 CLSRSC-594: Executing installation step 6 of 19: 'SetupOSD'. 2021/04/01 17:40:12 CLSRSC-594: Executing installation step 7 of 19: 'CheckCRSConfig'. 2021/04/01 17:40:12 CLSRSC-594: Executing installation step 8 of 19: 'SetupLocalGPNP'. 2021/04/01 17:40:14 CLSRSC-594: Executing installation step 9 of 19: 'ConfigOLR'. 2021/04/01 17:40:15 CLSRSC-594: Executing installation step 10 of 19: 'ConfigCHMOS'. 2021/04/01 17:40:15 CLSRSC-594: Executing installation step 11 of 19: 'CreateOHASD'. 2021/04/01 17:40:16 CLSRSC-594: Executing installation step 12 of 19: 'ConfigOHASD'. 2021/04/01 17:40:16 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'. 2021/04/01 17:40:22 CLSRSC-594: Executing installation step 14 of 19: 'InstallACFS'. 2021/04/01 17:40:23 CLSRSC-594: Executing installation step 15 of 19: 'InstallKA'. 2021/04/01 17:40:28 CLSRSC-594: Executing installation step 16 of 19: 'InitConfig'. CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'fdcdb01' CRS-2673: Attempting to stop 'ora.crsd' on 'fdcdb01' CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on server 'fdcdb01' CRS-2673: Attempting to stop 'ora.fdcdb01.vip' on 'fdcdb01' CRS-2673: Attempting to stop 'ora.qosmserver' on 'fdcdb01' CRS-2673: Attempting to stop 'ora.OCR.dg' on 'fdcdb01' CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'fdcdb01' CRS-2673: Attempting to stop 'ora.cvu' on 'fdcdb01' CRS-2677: Stop of 'ora.OCR.dg' on 'fdcdb01' succeeded CRS-2673: Attempting to stop 'ora.asm' on 'fdcdb01' CRS-2677: Stop of 'ora.cvu' on 'fdcdb01' succeeded CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'fdcdb01' succeeded CRS-2673: Attempting to stop 'ora.scan1.vip' on 'fdcdb01' CRS-2677: Stop of 'ora.asm' on 'fdcdb01' succeeded CRS-2673: Attempting to stop 'ora.ASMNET1LSNR_ASM.lsnr' on 'fdcdb01' CRS-2673: Attempting to stop 'ora.ASMNET2LSNR_ASM.lsnr' on 'fdcdb01' CRS-2677: Stop of 'ora.fdcdb01.vip' on 'fdcdb01' succeeded CRS-2677: Stop of 'ora.qosmserver' on 'fdcdb01' succeeded CRS-2677: Stop of 'ora.scan1.vip' on 'fdcdb01' succeeded CRS-2677: Stop of 'ora.ASMNET1LSNR_ASM.lsnr' on 'fdcdb01' succeeded CRS-2677: Stop of 'ora.ASMNET2LSNR_ASM.lsnr' on 'fdcdb01' succeeded CRS-2673: Attempting to stop 'ora.ons' on 'fdcdb01' CRS-2677: Stop of 'ora.ons' on 'fdcdb01' succeeded CRS-2673: Attempting to stop 'ora.net1.network' on 'fdcdb01' CRS-2677: Stop of 'ora.net1.network' on 'fdcdb01' succeeded CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'fdcdb01' has completed CRS-2677: Stop of 'ora.crsd' on 'fdcdb01' succeeded CRS-2673: Attempting to stop 'ora.storage' on 'fdcdb01' CRS-2673: Attempting to stop 'ora.crf' on 'fdcdb01' CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'fdcdb01' CRS-2673: Attempting to stop 'ora.gpnpd' on 'fdcdb01' CRS-2673: Attempting to stop 'ora.mdnsd' on 'fdcdb01' CRS-2677: Stop of 'ora.drivers.acfs' on 'fdcdb01' succeeded CRS-2677: Stop of 'ora.crf' on 'fdcdb01' succeeded CRS-2677: Stop of 'ora.gpnpd' on 'fdcdb01' succeeded CRS-2677: Stop of 'ora.storage' on 'fdcdb01' succeeded CRS-2673: Attempting to stop 'ora.asm' on 'fdcdb01' CRS-2677: Stop of 'ora.mdnsd' on 'fdcdb01' succeeded CRS-2677: Stop of 'ora.asm' on 'fdcdb01' succeeded CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'fdcdb01' CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'fdcdb01' succeeded CRS-2673: Attempting to stop 'ora.ctssd' on 'fdcdb01' CRS-2673: Attempting to stop 'ora.evmd' on 'fdcdb01' CRS-2677: Stop of 'ora.ctssd' on 'fdcdb01' succeeded CRS-2677: Stop of 'ora.evmd' on 'fdcdb01' succeeded CRS-2673: Attempting to stop 'ora.cssd' on 'fdcdb01' CRS-2677: Stop of 'ora.cssd' on 'fdcdb01' succeeded CRS-2673: Attempting to stop 'ora.gipcd' on 'fdcdb01' CRS-2677: Stop of 'ora.gipcd' on 'fdcdb01' succeeded CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'fdcdb01' has completed CRS-4133: Oracle High Availability Services has been stopped. 2021/04/01 17:40:57 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 'fdcdb01' CRS-2672: Attempting to start 'ora.evmd' on 'fdcdb01' CRS-2676: Start of 'ora.mdnsd' on 'fdcdb01' succeeded CRS-2676: Start of 'ora.evmd' on 'fdcdb01' succeeded CRS-2672: Attempting to start 'ora.gpnpd' on 'fdcdb01' CRS-2676: Start of 'ora.gpnpd' on 'fdcdb01' succeeded CRS-2672: Attempting to start 'ora.gipcd' on 'fdcdb01' CRS-2676: Start of 'ora.gipcd' on 'fdcdb01' succeeded CRS-2672: Attempting to start 'ora.cssdmonitor' on 'fdcdb01' CRS-2676: Start of 'ora.cssdmonitor' on 'fdcdb01' succeeded CRS-2672: Attempting to start 'ora.cssd' on 'fdcdb01' CRS-2672: Attempting to start 'ora.diskmon' on 'fdcdb01' CRS-2676: Start of 'ora.diskmon' on 'fdcdb01' succeeded CRS-2676: Start of 'ora.cssd' on 'fdcdb01' succeeded CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'fdcdb01' CRS-2672: Attempting to start 'ora.ctssd' on 'fdcdb01' CRS-2676: Start of 'ora.ctssd' on 'fdcdb01' succeeded CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'fdcdb01' succeeded CRS-2672: Attempting to start 'ora.asm' on 'fdcdb01' CRS-2676: Start of 'ora.asm' on 'fdcdb01' succeeded CRS-2672: Attempting to start 'ora.storage' on 'fdcdb01' CRS-2676: Start of 'ora.storage' on 'fdcdb01' succeeded CRS-2672: Attempting to start 'ora.crf' on 'fdcdb01' CRS-2676: Start of 'ora.crf' on 'fdcdb01' succeeded CRS-2672: Attempting to start 'ora.crsd' on 'fdcdb01' CRS-2676: Start of 'ora.crsd' on 'fdcdb01' succeeded CRS-6023: Starting Oracle Cluster Ready Services-managed resources CRS-2664: Resource 'ora.OCR.dg' is already running on 'fdcdb01' CRS-6017: Processing resource auto-start for servers: fdcdb01 CRS-2672: Attempting to start 'ora.scan1.vip' on 'fdcdb01' CRS-2672: Attempting to start 'ora.fdcdb01.vip' on 'fdcdb01' CRS-2672: Attempting to start 'ora.qosmserver' on 'fdcdb01' CRS-2672: Attempting to start 'ora.cvu' on 'fdcdb01' CRS-2672: Attempting to start 'ora.ons' on 'fdcdb01' CRS-2676: Start of 'ora.cvu' on 'fdcdb01' succeeded CRS-2676: Start of 'ora.qosmserver' on 'fdcdb01' succeeded CRS-2676: Start of 'ora.fdcdb01.vip' on 'fdcdb01' succeeded CRS-2676: Start of 'ora.scan1.vip' on 'fdcdb01' succeeded CRS-2672: Attempting to start 'ora.LISTENER_SCAN1.lsnr' on 'fdcdb01' CRS-2676: Start of 'ora.ons' on 'fdcdb01' succeeded CRS-2676: Start of 'ora.LISTENER_SCAN1.lsnr' on 'fdcdb01' succeeded CRS-6016: Resource auto-start has completed for server fdcdb01 CRS-6024: Completed start of Oracle Cluster Ready Services-managed resources CRS-4123: Oracle High Availability Services has been started. 2021/04/01 17:42:26 CLSRSC-343: Successfully started Oracle Clusterware stack 2021/04/01 17:42:26 CLSRSC-594: Executing installation step 18 of 19: 'ConfigNode'. 2021/04/01 17:42:28 CLSRSC-594: Executing installation step 19 of 19: 'PostConfig'. 2021/04/01 17:42:48 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded
執行成功。
節點二執行root.sh:
[root@fdcdb02 12.2.0]# /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/fdcdb02/crsconfig/rootcrs_fdcdb02_2021-04-01_05-45-05PM.log 2021/04/01 17:45:06 CLSRSC-594: Executing installation step 1 of 19: 'SetupTFA'. 2021/04/01 17:45:06 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector. 2021/04/01 17:45:07 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector. 2021/04/01 17:45:07 CLSRSC-594: Executing installation step 2 of 19: 'ValidateEnv'. 2021/04/01 17:45:08 CLSRSC-363: User ignored prerequisites during installation 2021/04/01 17:45:08 CLSRSC-594: Executing installation step 3 of 19: 'CheckFirstNode'. 2021/04/01 17:45:09 CLSRSC-594: Executing installation step 4 of 19: 'GenSiteGUIDs'. 2021/04/01 17:45:09 CLSRSC-594: Executing installation step 5 of 19: 'SaveParamFile'. 2021/04/01 17:45:11 CLSRSC-594: Executing installation step 6 of 19: 'SetupOSD'. 2021/04/01 17:45:26 CLSRSC-594: Executing installation step 7 of 19: 'CheckCRSConfig'. 2021/04/01 17:45:26 CLSRSC-594: Executing installation step 8 of 19: 'SetupLocalGPNP'. 2021/04/01 17:45:27 CLSRSC-594: Executing installation step 9 of 19: 'ConfigOLR'. 2021/04/01 17:45:28 CLSRSC-594: Executing installation step 10 of 19: 'ConfigCHMOS'. 2021/04/01 17:46:14 CLSRSC-594: Executing installation step 11 of 19: 'CreateOHASD'. 2021/04/01 17:46:15 CLSRSC-594: Executing installation step 12 of 19: 'ConfigOHASD'. 2021/04/01 17:46:31 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service' 2021/04/01 17:46:57 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'. 2021/04/01 17:46:58 CLSRSC-594: Executing installation step 14 of 19: 'InstallACFS'. CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'fdcdb02' CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'fdcdb02' has completed CRS-4133: Oracle High Availability Services has been stopped. CRS-4123: Oracle High Availability Services has been started. 2021/04/01 17:47:32 CLSRSC-594: Executing installation step 15 of 19: 'InstallKA'. 2021/04/01 17:47:33 CLSRSC-594: Executing installation step 16 of 19: 'InitConfig'. CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'fdcdb02' CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'fdcdb02' has completed CRS-4133: Oracle High Availability Services has been stopped. CRS-4123: Oracle High Availability Services has been started. CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'fdcdb02' CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'fdcdb02' CRS-2677: Stop of 'ora.drivers.acfs' on 'fdcdb02' succeeded CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'fdcdb02' has completed CRS-4133: Oracle High Availability Services has been stopped. 2021/04/01 17:47:40 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 'fdcdb02' CRS-2672: Attempting to start 'ora.evmd' on 'fdcdb02' CRS-2676: Start of 'ora.mdnsd' on 'fdcdb02' succeeded CRS-2676: Start of 'ora.evmd' on 'fdcdb02' succeeded CRS-2672: Attempting to start 'ora.gpnpd' on 'fdcdb02' CRS-2676: Start of 'ora.gpnpd' on 'fdcdb02' succeeded CRS-2672: Attempting to start 'ora.gipcd' on 'fdcdb02' CRS-2676: Start of 'ora.gipcd' on 'fdcdb02' succeeded CRS-2672: Attempting to start 'ora.cssdmonitor' on 'fdcdb02' CRS-2676: Start of 'ora.cssdmonitor' on 'fdcdb02' succeeded CRS-2672: Attempting to start 'ora.cssd' on 'fdcdb02' CRS-2672: Attempting to start 'ora.diskmon' on 'fdcdb02' CRS-2676: Start of 'ora.diskmon' on 'fdcdb02' succeeded CRS-2676: Start of 'ora.cssd' on 'fdcdb02' succeeded CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'fdcdb02' CRS-2672: Attempting to start 'ora.ctssd' on 'fdcdb02' CRS-2676: Start of 'ora.ctssd' on 'fdcdb02' succeeded CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'fdcdb02' succeeded CRS-2672: Attempting to start 'ora.asm' on 'fdcdb02' CRS-2676: Start of 'ora.asm' on 'fdcdb02' succeeded CRS-2672: Attempting to start 'ora.storage' on 'fdcdb02' CRS-2676: Start of 'ora.storage' on 'fdcdb02' succeeded CRS-2672: Attempting to start 'ora.crf' on 'fdcdb02' CRS-2676: Start of 'ora.crf' on 'fdcdb02' succeeded CRS-2672: Attempting to start 'ora.crsd' on 'fdcdb02' CRS-2676: Start of 'ora.crsd' on 'fdcdb02' succeeded CRS-6017: Processing resource auto-start for servers: fdcdb02 CRS-2672: Attempting to start 'ora.net1.network' on 'fdcdb02' CRS-2672: Attempting to start 'ora.ASMNET1LSNR_ASM.lsnr' on 'fdcdb02' CRS-2672: Attempting to start 'ora.ASMNET2LSNR_ASM.lsnr' on 'fdcdb02' CRS-2676: Start of 'ora.net1.network' on 'fdcdb02' succeeded CRS-2672: Attempting to start 'ora.ons' on 'fdcdb02' CRS-2676: Start of 'ora.ASMNET1LSNR_ASM.lsnr' on 'fdcdb02' succeeded CRS-2676: Start of 'ora.ASMNET2LSNR_ASM.lsnr' on 'fdcdb02' succeeded CRS-2672: Attempting to start 'ora.asm' on 'fdcdb02' CRS-2676: Start of 'ora.ons' on 'fdcdb02' succeeded CRS-2676: Start of 'ora.asm' on 'fdcdb02' succeeded CRS-6016: Resource auto-start has completed for server fdcdb02 CRS-6024: Completed start of Oracle Cluster Ready Services-managed resources CRS-4123: Oracle High Availability Services has been started. 2021/04/01 17:49:04 CLSRSC-343: Successfully started Oracle Clusterware stack 2021/04/01 17:49:04 CLSRSC-594: Executing installation step 18 of 19: 'ConfigNode'. 2021/04/01 17:49:12 CLSRSC-594: Executing installation step 19 of 19: 'PostConfig'. 2021/04/01 17:49:20 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded
節點二root.sh執行成功。
[grid@fdcdb01 grid]$ ./gridSetup.sh -applyPSU /soft/32226491/ Preparing the home to patch... Applying the patch /soft/32226491/... Successfully applied the patch. The log can be found at: /u01/app/oraInventory/logs/GridSetupActions2021-04-01_04-18-54PM/installerPatchActions_2021-04-01_04-18-54PM.log Launching Oracle Grid Infrastructure Setup Wizard... You can find the log of this install session at: /u01/app/oraInventory/logs/GridSetupActions2021-04-01_04-18-54PM/gridSetupActions2021-04-01_04-18-54PM.log
GRID軟件安裝成功。
版權聲明:本文內容由網絡用戶投稿,版權歸原作者所有,本站不擁有其著作權,亦不承擔相應法律責任。如果您發現本站中有涉嫌抄襲或描述失實的內容,請聯系我們jiasou666@gmail.com 處理,核實后本網站將在24小時內刪除侵權內容。