OPatch failed with error code 73 libclntsh.so.11.1文件被占用
打補丁時出現(xiàn)報錯: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
再次打補丁,就能成功應用
