OPatch failed with error code 73 libclntsh.so.11.1文件被占用
更新时间: 2022-06-14 08:26
打补丁时出现报错: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
再次打补丁,就能成功应用