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

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

时间: 2024-10-30 11:31:33

OUI-67076 : OracleHomeInventory was not able to create a lock file" in Unix的相关文章

MongoDB: exception in initAndListen: 20 Attempted to create a lock file on a read-only directory: /data/db, terminating

启动mongodb遇到的一个问题和解决: 转(http://blog.csdn.net/u012877472/article/details/51001025) sudo chmod -R go+w /data/db or this, which will make the directory owned by you: sudo chown -R $USER /data/db

File upload error - unable to create a temporary file

php上传图片的时候会报错: File upload error - unable to create a temporary file 文件上传错误 - 无法创建一个临时文件 你只需要打开你的php.ini文件,设置upload_tmp_dir="f:\temp"  然后重启环境就可以了,如果还不行就去看看文件夹的权限是否有权限,赋予写入权限就好了

mysql报Can't create/write to file '/tmp/ib0n3frL' (Errcode: 13 - Permission denied)

初始化数据库报错 [[email protected] mysql-5.6.24]# /usr/local/mysql/scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data Installing MySQL system tables...2017-04-03 19:52:21 0 [Warning] TIMESTAMP with implicit DEFA

ERROR 1 (HY000): Can't create/write to file '/tmp/#sql_830_0.MYI' (Errcode: 13)

mysql操作时,出现报错. 执行describe 命令时, 临时文件目录没有创建或者无写入权限:于是: cd /var/lib/mysql/ #进入mysql数据目录 mkdir tmp #创建需要的临时目录 chown mysql.mysql /var/lib/mysql/tmp #给临时目录分配mysql权限用户及群组 ERROR 1 (HY000): Can't create/write to file '/tmp/#sql_830_0.MYI' (Errcode: 13)

No space left on device: Couldn't create accept lock

原因: (1) 确认是否是硬盘空间不足:结果发现不是空间的问题: (2) 网上查看了下,发现是ipc不足.可以使用ipcs -s(|grep apache的group) 处理: (1) 可以使用$ ipcrm -s <semid>清理指定 semaphore (2) 也可以使用下面命令,清理所有的semaphore, 注:替换nobody为apache对应的用户名 for semid in `ipcs -s | grep nobody | cut -f2 -d" "`; d

编译安装mysql ERROR: 1 Can&#39;t create/write to file &#39;/tmp/#sql_86b_0.MYI&#39;

之前安装一个5.1版本,试了一个5.5版本,useradd -s /sbin/nologin -M mysql   创建一个mysql用户mkdir -p /data/mysql chmod -R /data/mysql cd /usr/local/mysqlscripts/mysql_install_db --user=mysql --datadir=/data/mysql出现报错:ERROR: 1  Can't create/write to file '/tmp/#sql_86b_0.MY

ERROR 1 (HY000): Can&#39;t create/write to file &#39;/tmp/#sql_909_0.MYI&#39; (Errcode: 13)

mysql> desc tablename; ERROR 1 (HY000): Can't create/write to file '/tmp/#sql_909_0.MYI' (Errcode: 13) 两种解决办法:方法一:1.chmod 777 /tmp[[email protected] /]# chmod 777 /tmpchmod: 更改"/tmp" 的权限: 只读文件系统 --遇到这种情况,tmp权限无法更改. 2./etc/init.d/mysqld start

How do I create a zip file?(转)

Creating a zip file is a task that can easily be accomplished by using the classes ZipOutputStream and ZipEntry in the java.util.zip package. First of all, I'm going to present to you a complete code snippet that will create a zip file containing all

ERROR: ORA-09925: Unable to create audit trail file Linux-x86_64

今天手工建库的过程中遇到了这么个错误 ERROR: ORA-09925: Unable to create audit trail file Linux-x86_64 Error: 2: No such file or directory Additional information: 9925 ORA-01075: you are currently logged on [[email protected] dbhome_1]$ ps -ef | grep smon oracle   1190