重庆思庄Oracle、Redhat认证学习论坛
标题:
oracle 11g rac 打最新补丁失败
[打印本页]
作者:
mahan
时间:
2022-4-21 14:01
标题:
oracle 11g rac 打最新补丁失败
在打oracle补丁时候有时会报OPatch failed with error code 73错误
登录/注册后可看大图
661696260f27103653.png
(302.92 KB, 下载次数: 279)
下载附件
2022-4-21 13:58 上传
通过日志文件发现一个进程占用
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
[root@rac02 31718723]# fuser/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1:49209m
[root@rac02 31718723]# ps -ef|grep 49209
oracle 4920914982 0 00:29 ? 00:00:01/u01/app/oracle/product/11.2.0/db_1/bin/emagent
root 55845 2882 0 00:37 pts/0 00:00:00 grep --color=auto 49209
找到并kill这个49209进程,然后重新执行安装
[root@rac01 31718723]#/u01/app/11.2.0/grid/OPatch/opatch auto /u01/setup/psu/31720783/31718723
Executing /u01/app/11.2.0/grid/perl/bin/perl/u01/app/11.2.0/grid/OPatch/crs/patch11203.pl -patchdir /u01/setup/psu/31720783-patchn 31718723 -paramfile /u01/app/11.2.0/grid/crs/install/crsconfig_params
This is the main log file:/u01/app/11.2.0/grid/cfgtoollogs/opatchauto2022-04-19_00-30-08.log
This file will show your detected configuration andall the steps that opatchauto attempted to do on your system:
/u01/app/11.2.0/grid/cfgtoollogs/opatchauto2022-04-19_00-30-08.report.log
2022-04-19 00:30:08: Starting Clusterware Patch Setup
Using configuration parameter file:/u01/app/11.2.0/grid/crs/install/crsconfig_params
Stopping RAC /u01/app/oracle/product/11.2.0/db_1 ...
Stopped RAC /u01/app/oracle/product/11.2.0/db_1successfully
patch/u01/setup/psu/31720783/31718723/29938455/custom/server/29938455 apply successful for home /u01/app/oracle/product/11.2.0/db_1
patch /u01/setup/psu/31720783/31718723/31537677 apply successful for home /u01/app/oracle/product/11.2.0/db_1
Stopping CRS...
Stopped CRS successfully
patch /u01/setup/psu/31720783/31718723/29938455 apply successful for home /u01/app/11.2.0/grid
patch /u01/setup/psu/31720783/31718723/31537677 apply successful for home /u01/app/11.2.0/grid
patch /u01/setup/psu/31720783/31718723/29509309 apply successful for home /u01/app/11.2.0/grid
Starting CRS...
Installing Trace File Analyzer
CRS-4123: Oracle High Availability Services has beenstarted.
Starting RAC /u01/app/oracle/product/11.2.0/db_1 ...
Started RAC /u01/app/oracle/product/11.2.0/db_1 successfully
opatch auto succeeded.
Last login: Tue Apr 19 00:42:55 CST 2022 on pts/0
[size=14.6667px]成功打上补丁
欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/)
Powered by Discuz! X3.2