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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值