Pavan DBA's Blog

The DBA Knowledge Store

OUI-10058 error during oracle 10g installation

Posted by Pavan DBA on February 18, 2011

Hi Friends, today one of my collegue faced a peculiar problem during Oracle 10gR2 installation on RHEL 5.

He did everything right and asked Unix team to run and scripts as he don’t have permission. Unix team ran them and said done. When he clicked “OK” on that window, it throwed below error

We both struggled alot and atlast found the solution as “Problem with permissions for oraInst.loc file in /etc directory”

We should have 644 permissions i.e read permission for that file to oracle user and root should be the owner of the file. In our case, we don’t have read permission for oracle user, so it was unable to identify the location of oraInventory.


1. check the umask setting, umask normally set to 0022
umask 0022 ->
– 755 for directories
– 644 for files
2. check the permission of /etc/oraInst.loc 

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

Note: The problem & solution could not be same, so try in test env before implementing the same in your prod environments

10 Responses to “OUI-10058 error during oracle 10g installation”

  1. Gaurav S said

    Helped a lot buddy !!

  2. santajee said

    Thanks. Your solution helped me a lot.

  3. Vimal said

    Thanks Pavan. Although it shows this error, it was able to complete the installation well. But still it’s good to know why it happened!..Cheers..

  4. csk said


    I got this problem in HP-UX (PA RISC). In HP-UX the oraInst.loc is located in /var/opt/oracle.
    Once I gave 755 to /var/opt , the issue got resolved.


  5. om said


    Why Oracle user? This script is supposed to be run by root user. isnt it?

    Om Raj

    • Hi Omraj,

      yes we need to run the script as root user, but at same time we need to have read permission for that file to oracle user as it is going to read inventory location information

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: