Problems with database patches deployed on database hosts with Ogg $oracle_home/lib/libclntsh.so.11.1 active
The following is an error message:
[[email protected] 17579684]$/u01/app/oracle/product/11.2.0/dbhome_1/opatch/opatch applyOracle Interim Patch Installer version 11.2.0.3.10Copyright (c), Oracle Corporation. All rights reserved. Oracle Home:/u01/app/oracle/product/11.2.0/dbhome_1central Inventory:/u01/app/orainventory from:/u 01/app/oracle/product/11.2.0/dbhome_1/orainst.locopatch Version:11.2.0.3.10oui version:11.2.0.3.0log File loc ation:/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 is 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 is being used by some processes. Opatch failed with error code 41[[email protected] 17579684]$
It's strange why the instance and DB Listener have been closed in advance for the hint.
Below Fuser and lsof play:
[Email protected] ~]# 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[[email protected] ~]# 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[[email Protected] ~]#
The original is Ggsci program still visit libclntsh.so.11.1, in fact, at that time the process of Ogg has been stop, but Ggsci did not quit. Exit Ggsci. Then re-opatch apply!
Reference article:
Opatch failed with error code 73 (document ID 1942237.1)
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Problems with database patches deployed on database hosts with Ogg libclntsh.so.11.1 active