欢迎来到尧图网

客户服务 关于我们

您的位置:首页 > 汽车 > 新车 > oracle19c RAC-从19.3应用19.24补丁

oracle19c RAC-从19.3应用19.24补丁

2024/10/25 22:23:51 来源:https://blog.csdn.net/kevinyu998/article/details/140782062  浏览:    关键词:oracle19c RAC-从19.3应用19.24补丁

打补丁的背景:安装好GI和DB后,创建实例前应用的19.24的补丁

# sha256sum  p6880880_190000_Linux-x86-64.zip p36522439_190000_Linux-x86-64.zip
BC21C57DF2DDCABD0BC64B5043CCA38B74B9C9B7535C5AEEC7E6E3ACDAFC0F0B    p6880880_190000_Linux-x86-64.zip
A3029B3459E393DD9A20F2C4DFFF287DE940605A77C0AF4756176B7BC2CFA57E    p36522439_190000_Linux-x86-64.zip

遇到2个问题

告警1:

  [root@hydb1 /opt]# /u01/app/19.0.0/grid_1/OPatch/opatchauto apply /patch/36582629 -oh /u01/app/19.0.0/grid_1

Invalid current directory.  Please run opatchauto from other than '/root' or '/' directory.
And check if the home owner user has write permission set for the current directory.
opatchauto returns with error code = 2

处理办法:    [root@hydb1 /opt]# cd /

告警2:

[root@hydb1 ~]# cd /
[root@hydb1 /]# /u01/app/19.0.0/grid_1/OPatch/opatchauto apply /patch/36582629 -oh /u01/app/19.0.0/grid_1

OPatchauto session is initiated at Sat Jul 27 16:24:36 2024

System initialization log file is /u01/app/19.0.0/grid_1/cfgtoollogs/opatchautodb/systemconfig2024-07-27_04-24-40PM.log.

Session log file is /u01/app/19.0.0/grid_1/cfgtoollogs/opatchauto/opatchauto2024-07-27_04-24-49PM.log
The id for this session is YATX
Shared home /u01/app/19.0.0/grid_1 can only be patched in nonrolling mode.

OPATCHAUTO-72030: Execution mode invalid.
OPATCHAUTO-72030: Cannot execute in rolling mode, as CRS home is shared.
OPATCHAUTO-72030: Execute in non-rolling mode.
OPatchAuto failed.

OPatchauto session completed at Sat Jul 27 16:25:01 2024
Time taken to complete the session 0 minute, 21 seconds

 opatchauto failed with error code 42
[root@hydb1 /]#

处理办法:    [root@hydb1 ~]#export CV_ASSUME_DISTID=RHEL7.6

log过程如下

[root@hydb1 ~]# cd /
[root@hydb1 /]# export CV_ASSUME_DISTID=RHEL7.6
[root@hydb1 /]# /u01/app/19.0.0/grid_1/OPatch/opatchauto apply /patch/36582629 -oh /u01/app/19.0.0/grid_1

OPatchauto session is initiated at Sat Jul 27 16:29:30 2024

System initialization log file is /u01/app/19.0.0/grid_1/cfgtoollogs/opatchautodb/systemconfig2024-07-27_04-29-34PM.log.

Session log file is /u01/app/19.0.0/grid_1/cfgtoollogs/opatchauto/opatchauto2024-07-27_04-29-42PM.log
The id for this session is 5FLB

Executing OPatch prereq operations to verify patch applicability on home /u01/app/19.0.0/grid_1
Patch applicability verified successfully on home /u01/app/19.0.0/grid_1


Executing patch validation checks on home /u01/app/19.0.0/grid_1
Patch validation checks successfully completed on home /u01/app/19.0.0/grid_1


Performing prepatch operations on CRS - bringing down CRS service on home /u01/app/19.0.0/grid_1
Prepatch operation log file location: /u01/app/grid/crsdata/hydb1/crsconfig/crs_prepatch_apply_inplace_hydb1_2024-07-27_04-30-37PM.log
CRS service brought down successfully on home /u01/app/19.0.0/grid_1


Start applying binary patch on home /u01/app/19.0.0/grid_1
Binary patch applied successfully on home /u01/app/19.0.0/grid_1


Running rootadd_rdbms.sh on home /u01/app/19.0.0/grid_1
Successfully executed rootadd_rdbms.sh on home /u01/app/19.0.0/grid_1


Performing postpatch operations on CRS - starting CRS service on home /u01/app/19.0.0/grid_1
Postpatch operation log file location: /u01/app/grid/crsdata/hydb1/crsconfig/crs_postpatch_apply_inplace_hydb1_2024-07-27_04-38-02PM.log
CRS service started successfully on home /u01/app/19.0.0

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com