OPatch在打补丁的过程中被中断,重新执行后报以下错误:

UtilSession failed: Lock file left by a different patch, OPatch will not try re-using the lock file.
Log file location: /u11/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/14084247_Apr_16_2016_13_21_29/apply2016-04-16_13-21-29PM_1.log

OPatch failed with error code 73

 

查看日志文件也报类似的错误。
原因是之前的opatch会话失败后,仍然在本地inventory上持有锁

 

解决方法:

1. Take a backup of  $ORACLE_HOME/.patch_storage
2. Remove $ORACLE_HOME/.patch_storage/patch_locked
	% rm $ORACLE_HOME/.patch_storage/patch_locked
3. Create $ORACLE_HOME/.patch_storage/patch_free
	% touch $ORACLE_HOME/.patch_storage/patch_free
4. Verify that "opatch lsinventory" no longer reports the error
	% opatch lsinventory -detail

 

相关文章:

  • 2021-06-10
  • 2022-02-13
  • 2021-08-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-09
  • 2022-12-23
猜你喜欢
  • 2022-02-24
  • 2022-12-23
  • 2021-07-23
  • 2022-12-23
  • 2022-02-08
相关资源
相似解决方案