ITPub博客

首页 > 数据库 > Oracle > opatch apply 报错 OPatch failed with error code 73

opatch apply 报错 OPatch failed with error code 73

Oracle 作者:拾翠暮忘归 时间:2014-06-18 11:01:57 0 删除 编辑
原文出处:http://blog.csdn.net/evils798/article/details/8316458
感谢作者,真的帮到我了

-------------------------------------------------------------------------------------------------------------
  1. 1.执行opatch apply 报错 OPatch failed with error code 73  
  2.   
  3. [oracle@ora_11g 14275605]$ /opt/oracle/product/db_1/OPatch/opatch apply ./  
  4. Oracle Interim Patch Installer version 11.2.0.3.0  
  5. Copyright (c) 2012, Oracle Corporation.  All rights reserved.  
  6.   
  7.   
  8. Oracle Home       : /opt/oracle/product/db_1  
  9. Central Inventory : /opt/oraInventory  
  10.    from           : /opt/oracle/product/db_1/oraInst.loc  
  11. OPatch version    : 11.2.0.3.0  
  12. OUI version       : 11.2.0.3.0  
  13. Log file location : /opt/oracle/product/db_1/cfgtoollogs/opatch/opatch2012-12-18_21-45-13PM_1.log  
  14.   
  15. Verifying environment and performing prerequisite checks...  
  16. Prerequisite check "CheckActiveFilesAndExecutables" failed.  
  17. The details are:  
  18.   
  19.   
  20. Following executables are active :  
  21. /opt/oracle/product/db_1/bin/oracle  
  22. Prerequisite check "CheckActiveFilesAndExecutables" failed.  
  23. The details are:  
  24.   
  25.   
  26. Following executables are active :  
  27. /opt/oracle/product/db_1/lib/libclntsh.so.11.1  
  28. UtilSession failed: Prerequisite check "CheckActiveFilesAndExecutables" failed.Prerequisite check "CheckActiveFilesAndExecutables" failed.  
  29. Log file location: /opt/oracle/product/db_1/cfgtoollogs/opatch/opatch2012-12-18_21-45-13PM_1.log  
  30.   
  31. OPatch failed with error code 73  
  32.   
  33. 仔细查看报错提示“Check Active Files And Executables”可能是有些执行程序用到了  
  34. /opt/oracle/product/db_1/lib/目录下的库文件libclntsh.so.11.1  
  35.   
  36. 2.使用fuser查看  
  37. [oracle@ora_11g oinstall]$ /sbin/fuser   /opt/oracle/product/db_1/lib/libclntsh.so.11.1  
  38. /opt/oracle/product/db_1/lib/libclntsh.so.11.1: 12831m  
  39.   
  40. 3.查看12831号进程,12831号进程为sqlplus 程序,应该就是sqlplus正在使用libclntsh.so.11.1库文件  
  41. [oracle@ora_11g oinstall]$ ps -ef | grep 12831  
  42. oracle   12831  6986  0 21:44 pts/3    00:00:00 sqlplus   as sysdba  
  43. oracle   12832 12831  0 21:44 ?        00:00:00 oracletest01 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))  
  44. oracle   12993  9126  0 21:47 pts/1    00:00:00 grep 12831  
  45. [oracle@ora_11g oinstall]$   
  46.   
  47. 4.杀掉12831进程,查看结果  
  48. [oracle@ora_11g oinstall]$ kill -9 12831   
  49. [oracle@ora_11g oinstall]$ ps -ef | grep 12831  
  50. oracle   13013  9126  0 21:55 pts/1    00:00:00 grep 12831  
  51.   
  52. 5.重新执行opatch 顺利执行完成  

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29602308/viewspace-1185920/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-04-11

  • 博文量
    24
  • 访问量
    91785