Q

Errors during Oracle 10g installation and patch application

I keep getting errors during the process of installing Oracle 10.2.0.1 and applying the critical patches.

I have been trying to do the following all afternoon:
  • Install 10.2.0.1
  • Install timezonepatch required prior to installing patchset 10.2.0.3
  • Install patchset 10.2.0.3
  • Install the April 2007 critical patch for 10.2.0.3
However, I keep getting strange errors when I am in the process of installing 10.2.0.1 and it prompts me to run two scripts, orainstRoot.sh and root.sh as the user root. After I run the scripts and click okay I get an error, "OUI-10058: The OUI Inventory on this system does not exist 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."

So I run it again and click okay and then everything appears fine. The screen says installation successful. Then

I try to install the 10.2.0.3 patchset and I get another error saying that the oraInventory has files in it and can't be written to and that I have to choose another directory. The first time I ran into this problem I chose a different directory. However, when I tried to apply the latest critical patch, Apr 2007, I got an error regarding the orainst.loc. So I blew away that installation. The second time this happened I deleted the contents from the oraInventory directory and it completed the installation. But when I ran the Apr 2007 script I had the same error. I don't know how to fix this.

This is a permissions issue with the inventory. A new inventory was created with the initial installation of Oacle 10.2.0.1 but it has not been registered yet preventing you from applying further patches and patch sets.

You will probably want to delete the installation and inventory (as well as the oraInst.loc file which is located in either /etc or /var/opt/oracle depending on the operating system). Ensure that the umask setting for the oracle user is set to 0022. This means permissions for directories will be 755 and for files it will be 644. Install 10.2.0.1 and run the orainstRoot.sh as root … do not sudo to root and run the script. After running the script, check the permissions of the oraInst.loc file. The permissions should be as follows:

ls -l /etc/oraInst.loc 
-rw-r--r-- 1 root root 61 Apr 23 02:15 /etc/oraInst.loc
You should now be able to apply any subsequent patches and patch sets.
This was first published in May 2007

Dig deeper on Oracle database installation, upgrades and patches

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close