oracle 19c 打补丁
打补丁失败
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | [root@ht01 ~]# /u01/app/grid/OPatch/opatchauto apply /tmp/33509923 OPatchauto session is initiated at Thu Apr 21 18:44:53 2022 System initialization log file is /u01/app/grid/cfgtoollogs/opatchautodb/systemconfig2022-04-21_06-44-55PM.log. 会话日志文件是/u01/app/grid/cfgtoollogs/opatchauto/opatchauto2022-04-21_06-45-13PM.log 此会话的 ID 为 F1ZY Executing OPatch prereq operations to verify patch applicability on home /u01/app/grid Executing OPatch prereq operations to verify patch applicability on home /u01/app/oracle/product/19c/dbhome_1 Patch applicability verified successfully on home /u01/app/grid Patch applicability verified successfully on home /u01/app/oracle/product/19c/dbhome_1 Executing patch validation checks on home /u01/app/grid Patch validation checks successfully completed on home /u01/app/grid Executing patch validation checks on home /u01/app/oracle/product/19c/dbhome_1 Patch validation checks successfully completed on home /u01/app/oracle/product/19c/dbhome_1 Verifying SQL patch applicability on home /u01/app/oracle/product/19c/dbhome_1 SQL patch applicability verified successfully on home /u01/app/oracle/product/19c/dbhome_1 Preparing to bring down database service on home /u01/app/oracle/product/19c/dbhome_1 Successfully prepared home /u01/app/oracle/product/19c/dbhome_1 to bring down database service Performing prepatch operations on CRS - bringing down CRS service on home /u01/app/grid Prepatch operation log file location: /u01/app/11.2.0/grid/crsdata/ht01/crsconfig/crs_prepatch_apply_inplace_ht01_2022-04-21_06-46-58PM.log CRS service brought down successfully on home /u01/app/grid Performing prepatch operation on home /u01/app/oracle/product/19c/dbhome_1 Perpatch operation completed successfully on home /u01/app/oracle/product/19c/dbhome_1 Start applying binary patch on home /u01/app/oracle/product/19c/dbhome_1 Binary patch applied successfully on home /u01/app/oracle/product/19c/dbhome_1 Performing postpatch operation on home /u01/app/oracle/product/19c/dbhome_1 Postpatch operation completed successfully on home /u01/app/oracle/product/19c/dbhome_1 Start applying binary patch on home /u01/app/grid Failed while applying binary patches on home /u01/app/grid 未能执行 [OPatchAutoBinaryAction] 补丁程序操作, 有关详细信息, 请查看日志。故障: Patch Target : ht01->/u01/app/grid 类型 [crs] Details: [ ---------------------------Patching Failed--------------------------------- Command execution failed during patching in home: /u01/app/grid, host: ht01. Command failed: /u01/app/grid/OPatch/opatchauto apply /tmp/33509923 -oh /u01/app/grid -target_type cluster -binary -invPtrLoc /u01/app/grid/oraInst.loc -jre /u01/app/grid/OPatch/jre -persistresult /u01/app/grid/opatchautocfg/db/sessioninfo/sessionresult_ht01_crs_1.ser -analyzedresult /u01/app/grid/opatchautocfg/db/sessioninfo/sessionresult_analyze_ht01_crs_1.ser Command failure output: ==Following patches FAILED in apply: Patch: /tmp/33509923/33239955 Log: /u01/app/grid/cfgtoollogs/opatchauto/core/opatch/opatch2022-04-21_18-52-25下午_1.log Reason: Failed during Patching: oracle.opatch.opatchsdk.OPatchException: ApplySession 在系统修改阶段失败... 'ApplySession::apply failed: java.io.IOException: oracle.sysman.oui.patch.PatchException: java.io.FileNotFoundException: /u01/app/11.2.0/oraInventory/ContentsXML/oui-patch.xml (权限不够)' After fixing the cause of failure Run opatchauto resume ] OPATCHAUTO-68061: 业务流程引擎失败。 OPATCHAUTO-68061: 业务流程引擎失败, 返回代码为 1 OPATCHAUTO-68061: 有关详细资料, 请查看日志。 OPatchAuto 失败。 OPatchauto session completed at Thu Apr 21 18:53:04 2022 Time taken to complete the session 8 minutes, 11 seconds opatchauto failed with error code 42 |
修改权限
chmod 777 /u01/app/11.2.0/oraInventory/ContentsXML/oui-patch.xml
继续打补丁
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | [root@ht01 ~]# /u01/app/grid/OPatch/opatchauto apply /tmp/33509923 perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en.US" are supported and installed on your system. perl: warning: Falling back to the standard locale ( "C" ). OPatchauto session is initiated at Thu Apr 21 19:13:24 2022 System initialization log file is /u01/app/grid/cfgtoollogs/opatchautodb/systemconfig2022-04-21_07-13-26PM.log. Clusterware is either not running or not configured. You have the following 2 options: 1. Configure and start the Clusterware on this node and re-run the tool 2. Run the tool with '-oh <GI_HOME>' to first patch the Grid Home, then invoke tool with '-database <oracle database name>' or '-oh <RAC_HOME>' to patch the RAC home OPATCHAUTO-72029: CLusterware home not configured. OPATCHAUTO-72029: Clusterware is either not running or not configured or cluster is software only GI OPATCHAUTO-72029: If only Grid Infrastructure software is installed, please run opatchauto with '-oh' option . Alternatively configure and start the Clusterware before running opatchauto. OPatchauto session completed at Thu Apr 21 19:13:27 2022 Time taken to complete the session 0 minute, 3 seconds |
看来 报错后 grid 和 database 一起打不行了,那就分开打
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | [root@ht01 ~]# /u01/app/grid/OPatch/opatchauto apply /tmp/33509923 -oh /u01/app/grid perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en.US" are supported and installed on your system. perl: warning: Falling back to the standard locale ( "C" ). OPatchauto session is initiated at Thu Apr 21 19:14:16 2022 System initialization log file is /u01/app/grid/cfgtoollogs/opatchautodb/systemconfig2022-04-21_07-14-19PM.log. Session log file is /u01/app/grid/cfgtoollogs/opatchauto/opatchauto2022-04-21_07-14-22PM.log The id for this session is VND7 OPATCHAUTO-72141: Grid patching cannot be performed in rolling mode. OPATCHAUTO-72141: Grid is installed only on a single node. OPATCHAUTO-72141: Execute opatchauto in non-rolling mode. OPatchAuto failed. OPatchauto session completed at Thu Apr 21 19:14:32 2022 Time taken to complete the session 0 minute, 16 seconds opatchauto failed with error code 42 |
打这个补丁不能回滚,需要不回滚模式
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | [root@ht01 ~]# /u01/app/grid/OPatch/opatchauto apply /tmp/33509923 -oh /u01/app/grid -nonrolling perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en.US" are supported and installed on your system. perl: warning: Falling back to the standard locale ( "C" ). OPatchauto session is initiated at Thu Apr 21 19:16:15 2022 System initialization log file is /u01/app/grid/cfgtoollogs/opatchautodb/systemconfig2022-04-21_07-16-17PM.log. Session log file is /u01/app/grid/cfgtoollogs/opatchauto/opatchauto2022-04-21_07-16-20PM.log The id for this session is Z9JR Executing OPatch prereq operations to verify patch applicability on home /u01/app/grid Patch applicability verification failed on home /u01/app/grid Execution of [OPatchAutoBinaryAction] patch action failed, check log for more details. Failures: Patch Target : ht01->/u01/app/grid Type[crs] Details: [ ---------------------------Patching Failed--------------------------------- Command execution failed during patching in home: /u01/app/grid, host: ht01. Command failed: /u01/app/grid/OPatch/opatchauto apply /tmp/33509923 -oh /u01/app/grid -target_type cluster -binary -invPtrLoc /u01/app/grid/oraInst.loc -jre /u01/app/grid/OPatch/jre -persistresult /u01/app/grid/opatchautocfg/db/sessioninfo/sessionresult_analyze_ht01_crs_1.ser -analyze -online -prepare_home Command failure output: ==Following patches FAILED in analysis for apply: Patch: /tmp/33509923/33529556 Log: /u01/app/grid/cfgtoollogs/opatchauto/core/opatch/opatch2022-04-21_19-16-33PM_1.log Reason: Failed during Analysis: /tmp/33509923/33529556 is not applicable to the oracle home /u01/app/grid Patch: /tmp/33509923/33534448 Log: /u01/app/grid/cfgtoollogs/opatchauto/core/opatch/opatch2022-04-21_19-16-33PM_1.log Reason: Failed during Analysis: /tmp/33509923/33534448 is not applicable to the oracle home /u01/app/grid Patch: /tmp/33509923/33575402 Log: /u01/app/grid/cfgtoollogs/opatchauto/core/opatch/opatch2022-04-21_19-16-33PM_1.log Reason: Failed during Analysis: /tmp/33509923/33575402 is not applicable to the oracle home /u01/app/grid Patch: /tmp/33509923/33239955 Log: /u01/app/grid/cfgtoollogs/opatchauto/core/opatch/opatch2022-04-21_19-16-33PM_1.log Reason: Failed during Analysis: /tmp/33509923/33239955 is not applicable to the oracle home /u01/app/grid Patch: /tmp/33509923/33515361 Log: /u01/app/grid/cfgtoollogs/opatchauto/core/opatch/opatch2022-04-21_19-16-33PM_1.log Reason: Failed during Analysis: /tmp/33509923/33515361 is not applicable to the oracle home /u01/app/grid After fixing the cause of failure Run opatchauto resume ] OPATCHAUTO-68061: The orchestration engine failed. OPATCHAUTO-68061: The orchestration engine failed with return code 1 OPATCHAUTO-68061: Check the log for more details. OPatchAuto failed. OPatchauto session completed at Thu Apr 21 19:16:37 2022 Time taken to complete the session 0 minute, 23 seconds opatchauto failed with error code 42 |
回滚模式还是报错,继续排错
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | [+ASM1]@ht01[/u01/app/11.2.0/oraInventory/ContentsXML]$cat /u01/app/grid/cfgtoollogs/opatchauto/core/opatch/opatch2022-04-21_19-18-24PM_1.log [Apr 21, 2022 7:18:28 PM] [INFO] ENTERING METHOD: NApplyReportForPrereqs(OPatchPatch[] patches,OPatchNApplyOptions options) [Apr 21, 2022 7:18:28 PM] [INFO] [OPSR-TIME] Loading cooked inventory [Apr 21, 2022 7:18:28 PM] [INFO] [OPSR-MEMORY] : Loading cooked one offs. Heap memory used 99 (MB) [Apr 21, 2022 7:18:28 PM] [INFO] Stack Description: oracle.opatch.opatchsdk.OPatchException: Unable to create patchObject Possible causes are: ORACLE_HOME/inventory/oneoffs/33239955 is corrupted. PatchObject constructor: Input file "/u01/app/grid/inventory/oneoffs/33239955/etc/config/actions" or "/u01/app/grid/inventory/oneoffs/33239955/etc/config/inventory" does not exist. at oracle.opatch.ipm.HomeInventoryHelper.getOneOffEntry(HomeInventoryHelper.java:605) at oracle.opatch.ipm.CookedInventory.loadCookedInventory(CookedInventory.java:264) at oracle.opatch.ipm.CookedInventory.<init>(CookedInventory.java:77) at oracle.opatch.ipm.CookedInventory.init(CookedInventory.java:104) at oracle.opatch.ipm.CookedInventory.getInstance(CookedInventory.java:85) at oracle.opatch.ipm.IPMReadServices.getCookedInventory(IPMReadServices.java:200) at oracle.opatch.ipm.IPMReadServices.getInstalledPatches(IPMReadServices.java:1578) at oracle.opatch.opatchsdk.OPatchContext.getInstalledActivePatches(OPatchContext.java:922) at oracle.opatch.opatchsdk.OPatchAnalysisReport.<init>(OPatchAnalysisReport.java:110) at oracle.opatch.opatchsdk.OPatchTarget.NApplyReportForAllPrereqs(OPatchTarget.java:4024) at oracle.opatchauto.core.binary.action.OnlineAnalyzeAction.execute(OnlineAnalyzeAction.java:87) at oracle.opatchauto.core.binary.OPatchAutoBinary.NAnalyze(OPatchAutoBinary.java:346) at oracle.opatchauto.core.binary.OPatchAutoBinary.patch(OPatchAutoBinary.java:394) at oracle.opatchauto.core.binary.OPatchAutoBinary.apply(OPatchAutoBinary.java:369) at oracle.opatchauto.core.OPatchAutoCore.runOPatchAutoBinary(OPatchAutoCore.java:185) at oracle.opatchauto.core.OPatchAutoCore.main(OPatchAutoCore.java:75) [Apr 21, 2022 7:18:28 PM] [INFO] EXITING METHOD: NApplyReportForPrereqs(OPatchPatch[] patches,OPatchNApplyOptions options) |
需要把补丁里这个小补丁拷贝到/u01/app/grid/inventory/oneoffs目录下解决这个报错
[+ASM1]@ht01[/tmp/33509923]$cp -r 33239955/ /u01/app/grid/inventory/oneoffs/
继续打补丁
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | [root@ht01 ~]# /u01/app/grid/OPatch/opatchauto apply /tmp/33509923 -oh /u01/app/grid/ -nonrolling perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en.US" are supported and installed on your system. perl: warning: Falling back to the standard locale ( "C" ). OPatchauto session is initiated at Thu Apr 21 19:27:33 2022 System initialization log file is /u01/app/grid/cfgtoollogs/opatchautodb/systemconfig2022-04-21_07-27-36PM.log. Session log file is /u01/app/grid/cfgtoollogs/opatchauto/opatchauto2022-04-21_07-27-39PM.log The id for this session is E8L8 Executing OPatch prereq operations to verify patch applicability on home /u01/app/grid Patch applicability verified successfully on home /u01/app/grid Executing patch validation checks on home /u01/app/grid Patch validation checks successfully completed on home /u01/app/grid Performing prepatch operations on CRS - bringing down CRS service on home /u01/app/grid Prepatch operation log file location: /u01/app/11.2.0/grid/crsdata/ht01/crsconfig/crs_prepatch_apply_inplace_ht01_2022-04-21_07-28-12PM.log CRS service brought down successfully on home /u01/app/grid Start applying binary patch on home /u01/app/grid Binary patch applied successfully on home /u01/app/grid Performing postpatch operations on CRS - starting CRS service on home /u01/app/grid Postpatch operation log file location: /u01/app/11.2.0/grid/crsdata/ht01/crsconfig/crs_postpatch_apply_inplace_ht01_2022-04-21_07-33-00PM.log Failed to start CRS service on home /u01/app/grid Execution of [GIStartupAction] patch action failed, check log for more details. Failures: Patch Target : ht01->/u01/app/grid Type[crs] Details: [ ---------------------------Patching Failed--------------------------------- Command execution failed during patching in home: /u01/app/grid, host: ht01. Command failed: /u01/app/grid/perl/bin/perl -I/u01/app/grid/perl/lib -I/u01/app/grid/opatchautocfg/db/dbtmp/bootstrap_ht01/patchwork/crs/install -I/u01/app/grid/opatchautocfg/db/dbtmp/bootstrap_ht01/patchwork/xag /u01/app/grid/opatchautocfg/db/dbtmp/bootstrap_ht01/patchwork/crs/install/rootcrs.pl -postpatch -nonrolling Command failure output: Using configuration parameter file: /u01/app/grid/opatchautocfg/db/dbtmp/bootstrap_ht01/patchwork/crs/install/crsconfig_params The log of current session can be found at: /u01/app/11.2.0/grid/crsdata/ht01/crsconfig/crs_postpatch_apply_inplace_ht01_2022-04-21_07-33-00PM.log 2022/04/21 19:33:08 CLSRSC-329: Replacing Clusterware entries in file 'oracle-ohasd.service' CRS-4123: ???????????? Oracle ????????????????????????????????? CRS-2672: ???????????? 'ora.mdnsd' (??? 'ht01' ???) CRS-2672: ???????????? 'ora.evmd' (??? 'ht01' ???) CRS-2676: ???????????? 'ora.mdnsd' (??? 'ht01' ???) CRS-2676: ???????????? 'ora.evmd' (??? 'ht01' ???) CRS-2672: ???????????? 'ora.gpnpd' (??? 'ht01' ???) CRS-2676: ???????????? 'ora.gpnpd' (??? 'ht01' ???) CRS-2672: ???????????? 'ora.gipcd' (??? 'ht01' ???) CRS-2676: ???????????? 'ora.gipcd' (??? 'ht01' ???) CRS-2672: ???????????? 'ora.crf' (??? 'ht01' ???) CRS-2672: ???????????? 'ora.cssdmonitor' (??? 'ht01' ???) CRS-2676: ???????????? 'ora.cssdmonitor' (??? 'ht01' ???) CRS-2672: ???????????? 'ora.cssd' (??? 'ht01' ???) CRS-2672: ???????????? 'ora.diskmon' (??? 'ht01' ???) CRS-2676: ???????????? 'ora.diskmon' (??? 'ht01' ???) CRS-2676: ???????????? 'ora.crf' (??? 'ht01' ???) CRS-2676: ???????????? 'ora.cssd' (??? 'ht01' ???) CRS-2672: ???????????? 'ora.cluster_interconnect.haip' (??? 'ht01' ???) CRS-2672: ???????????? 'ora.ctssd' (??? 'ht01' ???) CRS-2676: ???????????? 'ora.ctssd' (??? 'ht01' ???) CRS-2676: ???????????? 'ora.cluster_interconnect.haip' (??? 'ht01' ???) CRS-2672: ???????????? 'ora.asm' (??? 'ht01' ???) CRS-2676: ???????????? 'ora.asm' (??? 'ht01' ???) CRS-2672: ???????????? 'ora.storage' (??? 'ht01' ???) ORA-15077: ????????????????????????????????? ASM ?????? CRS-5055: ??????????????? ASM ?????????????????????????????? ASM ?????????????????? CRS-2883: ??????????????????????????????, ?????? 'ora.storage' ????????? CRS-4406: Oracle ??????????????????????????????????????? CRS-41053: ???????????? Oracle Grid Infrastructure ?????????????????????????????? PRVH-0109 : Path "/u01/app/11.2.0/grid/diag/tnslsnr" with permissions "rwxr-xr-x" does not have write permissions for the file's group on node "ht01" . PRVH-0116 : Path "/u01/app/grid/crs/install/cmdllroot.sh" with permissions "rw-r--r--" does not have execute permissions for the owner, file's group , and others on node "ht01" . PRVG-2031 : Owner of file "/u01/app/grid/crs/install/cmdllroot.sh" did not match the expected value on node "ht01" . [Expected = "grid(54323)" ; Found = "root(0)" ] PRVG-2032 : Group of file "/u01/app/grid/crs/install/cmdllroot.sh" did not match the expected value on node "ht01" . [Expected = "oinstall(54321)" ; Found = "root(0)" ] CRS-4000: ?????? Start ??????, ?????????????????????????????? 2022/04/21 19:44:06 CLSRSC-117: Failed to start Oracle Clusterware stack from the Grid Infrastructure home /u01/app/grid After fixing the cause of failure Run opatchauto resume ] OPATCHAUTO-68061: The orchestration engine failed. OPATCHAUTO-68061: The orchestration engine failed with return code 1 OPATCHAUTO-68061: Check the log for more details. OPatchAuto failed. OPatchauto session completed at Thu Apr 21 19:44:07 2022 Time taken to complete the session 16 minutes, 34 seconds opatchauto failed with error code 42 |
修复以上权限不对的地方 ,继续打
[root@ht01 ~]# chmod -R 777 /u01/app/grid/crs/install/cmdllroot.sh [root@ht01 ~]# chmod -R 777 /u01/app/11.2.0/grid/diag/tnslsnr [root@ht01 ~]# chown grid:oinstall /u01/app/grid/crs/install/cmdllroot.sh
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | [root@ht01 ~]# /u01/app/grid/OPatch/opatchauto resume perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en.US" are supported and installed on your system. perl: warning: Falling back to the standard locale ( "C" ). OPatchauto session is initiated at Thu Apr 21 19:58:16 2022 Session log file is /u01/app/grid/cfgtoollogs/opatchauto/opatchauto2022-04-21_07-58-16PM.log Resuming existing session with id E8L8 Performing postpatch operations on CRS - starting CRS service on home /u01/app/grid Postpatch operation log file location: /u01/app/11.2.0/grid/crsdata/ht01/crsconfig/crs_postpatch_apply_inplace_ht01_2022-04-21_07-58-28PM.log Failed to start CRS service on home /u01/app/grid Execution of [GIStartupAction] patch action failed, check log for more details. Failures: Patch Target : ht01->/u01/app/grid Type[crs] Details: [ ---------------------------Patching Failed--------------------------------- Command execution failed during patching in home: /u01/app/grid, host: ht01. Command failed: /u01/app/grid/perl/bin/perl -I/u01/app/grid/perl/lib -I/u01/app/grid/opatchautocfg/db/dbtmp/bootstrap_ht01/patchwork/crs/install -I/u01/app/grid/opatchautocfg/db/dbtmp/bootstrap_ht01/patchwork/xag /u01/app/grid/opatchautocfg/db/dbtmp/bootstrap_ht01/patchwork/crs/install/rootcrs.pl -postpatch -nonrolling Command failure output: Using configuration parameter file: /u01/app/grid/opatchautocfg/db/dbtmp/bootstrap_ht01/patchwork/crs/install/crsconfig_params The log of current session can be found at: /u01/app/11.2.0/grid/crsdata/ht01/crsconfig/crs_postpatch_apply_inplace_ht01_2022-04-21_07-58-28PM.log CRS-4123: Starting Oracle High Availability Services-managed resources CRS-2672: ???????????? 'ora.evmd' (??? 'ht01' ???) CRS-2672: ???????????? 'ora.mdnsd' (??? 'ht01' ???) CRS-2676: ???????????? 'ora.evmd' (??? 'ht01' ???) CRS-2676: ???????????? 'ora.mdnsd' (??? 'ht01' ???) CRS-2672: ???????????? 'ora.gpnpd' (??? 'ht01' ???) CRS-2676: ???????????? 'ora.gpnpd' (??? 'ht01' ???) CRS-2672: ???????????? 'ora.gipcd' (??? 'ht01' ???) CRS-2676: ???????????? 'ora.gipcd' (??? 'ht01' ???) CRS-2672: ???????????? 'ora.crf' (??? 'ht01' ???) CRS-2672: ???????????? 'ora.cssdmonitor' (??? 'ht01' ???) CRS-2676: ???????????? 'ora.cssdmonitor' (??? 'ht01' ???) CRS-2672: ???????????? 'ora.cssd' (??? 'ht01' ???) CRS-2672: ???????????? 'ora.diskmon' (??? 'ht01' ???) CRS-2676: ???????????? 'ora.diskmon' (??? 'ht01' ???) CRS-2676: ???????????? 'ora.crf' (??? 'ht01' ???) CRS-2676: ???????????? 'ora.cssd' (??? 'ht01' ???) CRS-2672: ???????????? 'ora.cluster_interconnect.haip' (??? 'ht01' ???) CRS-2672: ???????????? 'ora.ctssd' (??? 'ht01' ???) CRS-2676: ???????????? 'ora.ctssd' (??? 'ht01' ???) CRS-2676: ???????????? 'ora.cluster_interconnect.haip' (??? 'ht01' ???) CRS-2672: ???????????? 'ora.asm' (??? 'ht01' ???) CRS-2676: ???????????? 'ora.asm' (??? 'ht01' ???) CRS-2672: ???????????? 'ora.storage' (??? 'ht01' ???) ORA-15077: ????????????????????????????????? ASM ?????? CRS-5055: ??????????????? ASM ?????????????????????????????? ASM ?????????????????? CRS-2883: Resource 'ora.storage' failed during Clusterware stack start. CRS-4406: Oracle High Availability Services synchronous start failed. CRS-41053: checking Oracle Grid Infrastructure for file permission issues CRS-4000: Command Start failed, or completed with errors. 2022/04/21 20:09:24 CLSRSC-117: Failed to start Oracle Clusterware stack from the Grid Infrastructure home /u01/app/grid After fixing the cause of failure Run opatchauto resume ] OPATCHAUTO-68061: The orchestration engine failed. OPATCHAUTO-68061: The orchestration engine failed with return code 1 OPATCHAUTO-68061: Check the log for more details. OPatchAuto failed. OPatchauto session completed at Thu Apr 21 20:09:25 2022 Time taken to complete the session 11 minutes, 10 seconds opatchauto failed with error code 42 |
ora.storage 服务没启动起来,手动启动asm
+ASM1]@ht01[/tmp/33509923]$sqlplus / as sysasm SQL*Plus: Release 19.0.0.0.0 - Production on Thu Apr 21 20:21:33 2022 Version 19.14.0.0.0 Copyright (c) 1982, 2021, Oracle. All rights reserved. Connected to an idle instance. SQL> startup ASM instance started Total System Global Area 1137173312 bytes Fixed Size 8905536 bytes Variable Size 1103101952 bytes ASM Cache 25165824 bytes ASM diskgroups mounted SQL> exit Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production Version 19.14.0.0.0 [+ASM1]@ht01[/tmp/33509923]$asmcmd lsdg State Type Rebal Sector Logical_Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name MOUNTED EXTERN N 512 512 4096 4194304 6000 5612 0 5612 0 Y OCR/ [+ASM1]@ht01[/tmp/33509923]$opatch lspatches 33575402;DBWLM RELEASE UPDATE 19.0.0.0.0 (33575402) 33534448;ACFS RELEASE UPDATE 19.14.0.0.0 (33534448) 33529556;OCW RELEASE UPDATE 19.14.0.0.0 (33529556) 33515361;Database Release Update : 19.14.0.0.220118 (33515361) 33239955;TOMCAT RELEASE UPDATE 19.0.0.0.0 (33239955)
到此grid补丁安装完毕,够折磨的了
分类:
oracle
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!