Libclntsh. so.11.1 active, libclntsh. so.11.1
Problem of applying a database patch on a database host with OGG deployed $ ORACLE_HOME/lib/libclntsh. so.11.1 active
The following error message is displayed:
[oracle@lei1 17579684]$ /u01/app/oracle/product/11.2.0/dbhome_1/OPatch/opatch applyOracle Interim Patch Installer version 11.2.0.3.10Copyright (c) 2015, Oracle Corporation. All rights reserved.Oracle Home : /u01/app/oracle/product/11.2.0/dbhome_1Central Inventory : /u01/app/oraInventory from : /u01/app/oracle/product/11.2.0/dbhome_1/oraInst.locOPatch version : 11.2.0.3.10OUI version : 11.2.0.3.0Log file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/17579684_Jun_29_2015_16_41_59/apply2015-06-29_16-41-58PM_1.logApplying interim patch '17579684' to OH '/u01/app/oracle/product/11.2.0/dbhome_1'Verifying environment and performing prerequisite checks...Prerequisite check "CheckActiveFilesAndExecutables" failed.The details are:Following executables are active :/u01/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1Log file location: /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/17579684_Jun_29_2015_16_41_59/apply2015-06-29_16-41-58PM_1.logRecommended actions: OPatch needs to modify files which are being used by some processes.OPatch failed with error code 41[oracle@lei1 17579684]$
It is strange that db instance and db listener are disabled in advance.
Fuser and lsof are playing below:
[root@lei1 ~]# fuser /u01/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1/u01/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1: 3288m[root@lei1 ~]# lsof /u01/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAMEggsci 3288 oracle mem REG 253,0 52699035 661288 /u01/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1[root@lei1 ~]#
Originally, the ggsci program was still accessing libclntsh. so.11.1. In fact, the ogg process was stopped, but ggsci did not exit. Exit ggsci. Then re-opatch apply!
References:
OPatch failed with error code 73 (Document ID 1942237.1)
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.