1. Execute opatch apply Error OPatch failed with error code 73[[email protected]_11g 14275605]$ /opt/oracle/product/db_1/opatch/opatch apply ./oracle interim patch installer version 11.2.0.3.0copyright (c) 2012, Oracle Corporation. all rights reserved. oracle home : /opt/oracle/product/db_1central inventory : /opt/orainventory from : /opt/oracle/product/db_1/orainst.locopatch version : 11.2.0.3.0OUI version : 11.2.0.3.0Log file Location : /opt/oracle/product/db_1/cfgtoollogs/opatch/opatch2012-12-18_21-45-13pm_1.logverifying environment and performing prerequisite checks ... Prerequisite check "Checkactivefilesandexecutables" failed. the details are:following executables are active :/opt/oracle/product/db_1/bin/ oracleprerequisite check "Checkactivefilesandexecutables" failed. the details are:following executables are active :/opt/oracle/product/db_1/lib/ libclntsh.so.11.1utilsession failed: prerequisite check "CheckActiveFilesAndExecutables" failed. prerequisite check "Checkactivefilesandexecutables" failed. Log file location: /opt/oracle/product/db_1/cfgtoollogs/opatch/opatch2012-12-18_21-45-13pm_1. LOGOPATCH FAILED WITH ERROR CODE 73 carefully check the error message "Check active files and executables "It is possible that some executables use the library file libclntsh.so.11.12 in the/opt/oracle/product/db_1/lib/directory. Use Fuser to view [[email protected]_11g oinstall]$ /sbin/fuser /opt/oracle/product/db_1/lib/ libclntsh.so.11.1/opt/oracle/product/db_1/lib/libclntsh.so.11.1: 12831m3. View Process No. 12,831th, process 12,831th for sqlplus program, It's supposed to be sqlplus. Using the libclntsh.so.11.1 library file [[email protected]_11g oinstall]$ ps -ef | grep 12831oracle 12831 6986 0 21:44 pts/3 00:00:00 sqlplus as sysdbaoracle 12832 12831 0 21:44 ? 00:00:00 oracletest01 (description= (Local=yes) (address= (PROTOCOL=BEQ))) oracle 12993 9126 0 21:47 pts/1 00:00:00 grep 12831[[email protected]_11g oinstall]$ 4. Kill 12831 processes and view results [[email protected]_11g oinstall]$ kill -9 12831 [[email protected]_11g oinstall]$ ps -ef | grep 12831oracle 13013 9126 0 21:55 pts/1 00:00:00 grep 128315. Re-executing opatch smooth execution completed
This article is from the "O Record" blog, so be sure to keep this source http://evils798.blog.51cto.com/8983296/1420909