opatch apply 报错 OPatch failed with error code 73
1.执行opatchapply报错OPatchfailedwitherrorcode73[oracle@ora_11g14275605]$/opt/oracle/product/db_1/OPatch/opatchapply./OracleInterimPatchInstallerversion11.2.0.3.0Copyright(c)2012,OracleCorporation.Allrightsreserved.OracleHome:/opt/oracle/product/db_1CentralInventory:/opt/oraInventoryfrom:/opt/oracle/product/db_1/oraInst.locOPatchversion:11.2.0.3.0OUIversion:11.2.0.3.0Logfilelocation:/opt/oracle/product/db_1/cfgtoollogs/opatch/opatch3012-12-18_21-45-13PM_1.logVerifyingenvironmentandperformingprerequisitechecks...Prerequisitecheck"CheckActiveFilesAndExecutables"failed.Thedetailsare:Followingexecutablesareactive:/opt/oracle/product/db_1/bin/oraclePrerequisitecheck"CheckActiveFilesAndExecutables"failed.Thedetailsare:Followingexecutablesareactive:/opt/oracle/product/db_1/lib/libclntsh.so.11.1UtilSessionfailed:Prerequisitecheck"CheckActiveFilesAndExecutables"failed.Prerequisitecheck"CheckActiveFilesAndExecutables"failed.Logfilelocation:/opt/oracle/product/db_1/cfgtoollogs/opatch/opatch3012-12-18_21-45-13PM_1.logOPatchfailedwitherrorcode73仔细查看报错提示“CheckActiveFilesAndExecutables”可能是有些执行程序用到了/opt/oracle/product/db_1/lib/目录下的库文件libclntsh.so.11.12.使用fuser查看[oracle@ora_11goinstall]$/sbin/fuser/opt/oracle/product/db_1/lib/libclntsh.so.11.1/opt/oracle/product/db_1/lib/libclntsh.so.11.1:12831m3.查看12831号进程,12831号进程为sqlplus程序,应该就是sqlplus正在使用libclntsh.so.11.1库文件[oracle@ora_11goinstall]$ps-ef|grep12831oracle128316986021:44pts/300:00:00sqlplusassysdbaoracle1283212831021:44?00:00:00oracletest01(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))oracle129939126021:47pts/100:00:00grep12831[oracle@ora_11goinstall]$4.杀掉12831进程,查看结果[oracle@ora_11goinstall]$kill-912831[oracle@ora_11goinstall]$ps-ef|grep12831oracle130139126021:55pts/100:00:00grep128315.重新执行opatch顺利执行完成
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。