重庆思庄Oracle、Redhat认证学习论坛

标题: OPatch failed with error code 73 libclntsh.so.11.1文件被占用 [打印本页]

作者: 刘泽宇    时间: 2022-5-22 12:37
标题: OPatch failed with error code 73 libclntsh.so.11.1文件被占用
打补丁时出现报错:Prerequisite check "CheckActiveFilesAndExecutables" failed.
The details are:
Following executables are active :
/oracle/product/11.2.0/db/lib/libclntsh.so.11.1
Prerequisite check "CheckActiveFilesAndExecutables" failed.
The details are:
Following executables are active :
/oracle/product/11.2.0/db/bin/tnslsnr
UtilSession failed: Prerequisite check "CheckActiveFilesAndExecutables" failed.Prerequisite check "CheckActiveFilesAndExecutables" failed.
Log file location: /oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2022-05-05_14-28-26PM_1.log
OPatch failed with error code 73


查看什么进程占用 libclntsh.so.11.1

fuser  /oracle/product/11.2.0/db/lib/libclntsh.so.11.1
/oracle/product/11.2.0/db/lib/libclntsh.so.11.1:  2925m


杀掉这个进程
kill -9 2925

检查2925进程是否存在
ps -ef|grep 2925
oracle    12238  11247  0 14:33 pts/0    00:00:00 grep 2925


再次打补丁,就能成功应用





欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2