码迷,mamicode.com
首页 > 数据库 > 详细

OUI-67076 : OracleHomeInventory was not able to create a lock file" in Unix

时间:2014-08-14 14:08:18      阅读:398      评论:0      收藏:0      [点我收藏+]

标签:oui-67076   opatch lsinv   lock file   oraclehomeinventory   failed opatch sessio   

Symptoms


The command "opatch lsinventory" reports the error:

OUI-67076:OracleHomeInventory was not able to create a lock file, probably due to a failed OPatch Session. The loaded inventory might not show correctly what you have in the Oracle Home.

Cause

A previous "opatch apply" session failed and so a lock still exists on the local inventory

Solution


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

 

Assuming "opatch lsinventory" no longer reports the error, if a previous "opatch apply" failed then you may want to try applying the patch again


OUI-67076 : OracleHomeInventory was not able to create a lock file" in Unix,布布扣,bubuko.com

OUI-67076 : OracleHomeInventory was not able to create a lock file" in Unix

标签:oui-67076   opatch lsinv   lock file   oraclehomeinventory   failed opatch sessio   

原文地址:http://blog.csdn.net/xiangsir/article/details/38556927

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