码迷,mamicode.com
首页 > 其他好文 > 详细

Lock file left by a different patch, OPatch will not try re-using the lock file.

时间:2016-04-16 14:00:16      阅读:346      评论:0      收藏:0      [点我收藏+]

标签:

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

 

Lock file left by a different patch, OPatch will not try re-using the lock file.

标签:

原文地址:http://www.cnblogs.com/abclife/p/5398223.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!