11.2.0.4单机 打补丁报错

[oracle@rsync-test03 31103343]$ opatch apply
Oracle Interim Patch Installer version 11.2.0.3.25
Copyright (c) 2020, Oracle Corporation. All rights reserved.


Oracle Home : /u01/app/oracle/product/11.2.0/db_1
Central Inventory : /u01/app/oraInventory
from : /u01/app/oracle/product/11.2.0/db_1/oraInst.loc
OPatch version : 11.2.0.3.25
OUI version : 11.2.0.4.0
Log file location : /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2020-08-04_09-26-11AM_1.log

Verifying environment and performing prerequisite checks...
Prerequisite check "CheckActiveFilesAndExecutables" failed.
The details are:


Following active executables are not used by opatch process :
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1

Following active executables are used by opatch process :

UtilSession failed: Prerequisite check "CheckActiveFilesAndExecutables" failed.
Log file location: /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2020-08-04_09-26-11AM_1.log

OPatch failed with error code 73
[oracle@rsync-test03 31103343]$ lsof /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
extract 39889 oracle mem REG 253,0 53793682 398619 /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
mgr 52810 oracle mem REG 253,0 53793682 398619 /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
tnslsnr 72315 oracle mem REG 253,0 53793682 398619 /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1

从这里我们就可以看到谁在占用libclntsh.so.11.1文件,该系统存在ogg应用,没有关闭,关闭ogg之后,重新打补丁成功

原文地址:https://www.cnblogs.com/hanglinux/p/13434379.html