天天看点

OUI-10058问题原因

原创 转载请注明出处 

遇到了故障

OUI-10058: The OUI Inventory on this system does not exits or is not writable .

1-The /opt/oracle/oraInventory/orainstRoot.sh script. was not executed with root privileges,or an error occurred during execution;

2-You are not a member of the specified installer group

原来是我设置的ROOT的umask不对建立的文件权限为640

而对于/etc/oraInst.loc 文件的权限要为644,这个问题就是权限设置问题

运行chmod 644 /etc/oraInst.loc 后再次安装问题解决了。

下面是METALINK的文档截取

OUI-10058 is permission issue. If OUI-10058 occurs, then check the oraInstall_.err -->

java.io.IOException: OUI-10040:Unable to read inventory pointer file: /etc/oraInst.loc.

Check if you have the proper permissions.

Even after executing shell scripts directly by root user, if OUI-10040 error is notified in .err file, check the permission of oraInst.loc

ls -l /etc/oraInst.loc

-rw-r--r-- 1 root root 61 Nov 28 04:00 /etc/oraInst.loc

The permission should be 644 (-rw-r--r--) and owned by root.  The problem is caused by the oracle user not having permissions to read this file (so the location of the oraInventory cannot be determined).