Question

Oracle 10201 installation errors on AIX 5.3. Got an error OUI-10058 at the end of installation of Oracle binaries .

Asked by: Waqasulhaq

Hi,

I have installed oracle binaries on a new AIX 5.3 server. Everything went well, but at the end of the installation, I received this OUI-10058 error:
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

I checked the /etc/orainstRoot.sh script permission and they were :

 ls -l *.loc
-rw-r-----    1 root     system           59 Aug 27 16:48 oraInst.loc

I then asked him to change the permission to 644 on this file. so he did it as :
 ls -l *.loc
-rw-r--r--    1 root     system           59 Aug 27 16:48 oraInst.loc

I, then talked to my SA and asked him to run the orainstRoot.sh script as ROOT again and he ran that script successfully right in front of me. Once it was run, the installation wizard said installation was successfull. But after reading related question on this forum, I am in a dilemma whether I should go ahead with patching the Oracle home with 10204 patchset because the error might turn up again during patching up oracle home.
So, can anyone please advice me what should be the next step.

1). Should I unsinstall the entire oracle software from the box and do it again ?
 
(or)

2). Go ahead with patching with some appropriate changes somewhere.? And if yes, can you please let me know what should be those appropriate changes.?

Would really appreciate with an Urgent help !.

Thank You !

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-08-28 at 06:26:19ID24689665
Tags

Oracle 10g Install

,

AIX 5.3

Topics

Oracle 10.x

,

Oracle Database

,

IBM AIX Unix

Participating Experts
3
Points
250
Comments
14

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Install Oracle 9.2.0.1 in AIX 5L
    Dear All, I want to install Oracle database (9.2.0.1) in AIX 5L. When I run the command by user accout of oracle: /cdrom/runInstaller I received the error message as follow Xlib: connection to "0." refused by Server Xlib: Client is not authorizied to connect to ...
  2. Oracle 9i Installation on AIX unix
    I am new to AIX unix. Truly speaking, I have never worked before. Now it has been assingned. Please give me step by step method to accomplish the job. Please don't give the link from Oracle Docs as i have seen those earlier. I need from basic to completion
  3. AIX - oracle halt
    Hi gurus, I have a problem with oracle database 10g running on AIX 5.3. the Oracle halted and i can not log on to shut it down and restart through sqlplus. So i have to restart the AIX system to bring the oracle up. For window server i dont' have to restart the server but...
  4. Oracle 9iAS for AIX
    Hi, Can someone provide me a link to download Oracle 9i Application Server software for AIX 5.3 or 5.2. I am having hard time finding it on OTN. thanks!
  5. Oracle Filesystem Layout on AIX
    Hello Team, Is there any recommended file layout for Oracle Filesystems on AIX, Will the layout be different for different versions of Oracle. Thanks

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: mrjoltcolaPosted on 2009-08-28 at 06:38:52ID: 25207496

The oraInventory directory should be writeable by the oinstall group, or the group that you are using to perform the install. It sounds like the installation succeeded, except that you ran the script as the wrong user. After you talked to your SA, it appear he ran as ROOT and it succeeded, so it is that simple.

I recommend that you go ahead and immediately install 10.2.0.4 patchset. By doing it now, before creating any instances, it will reduce your work.

 

by: KeremEPosted on 2009-08-28 at 07:26:55ID: 25207986

Hi,

Yeah this is a permission issue. Since youve installed the product it created a new inventory but could not be able to register it and thus it is preventing you when you need to access.

I'll suggest you to install all, remove inventory and remove /etc/oracle.loc too.

Then ensure that your umask setting for the orace user is set to 0022

Logon to your system as root do not sudo and run the orainstRoot.sh script ( though you've told it is under /etc/ I'd expct it to be under /opt/oracle/oraInventory/orainstRoot.sh though)

after running the script check your oracle.loc to have the correct permission:

ls -l /etc/oraInst.loc
-rw-r--r-- 1 root root 61 Aug 28 17:15 /etc/oraInst.loc


This is it.

Cheers,
K.



 

by: KeremEPosted on 2009-08-28 at 07:27:48ID: 25207995

Opps mean uninstall not install the line should read

I'll suggest you to *uninstall* all, remove inventory and remove /etc/oracle.loc too.

 

by: KeremEPosted on 2009-08-28 at 07:31:26ID: 25208035

BTW you wont be fixingg this by applying the fiz. In fact it is not possible to apply the fix, as you've noticed, without having an access to the inventory first.

 

by: mrjoltcolaPosted on 2009-08-28 at 07:36:59ID: 25208095

Most likely there is no reason to uninstall anything. The oraInventory would not have been created if the install had not worked. The reason you received the error is that you ran /opt/oracle/oraInventory/orainstRoot.sh as a non-root user, thats it. Running it as root solves the problem. I doubt you need to remove and start over.

Verify that your binaries are in place, verify that you have PATH and LD_LIBRARY_PATH (or LIB_PATH) setup, as well as ORACLE_HOME. Then try to run sqlplus.

sqlplus / as sysdba

If you see "Connected to an idle instance" you should proceed as usual, install the 10.2.0.4 patch, then create databases with DBCA

 

by: KeremEPosted on 2009-08-28 at 08:01:15ID: 25208381

The real problme here is as you've indicated you have the wrong user permissions:

> ls -l *.loc
> -rw-r-----    1 root     system           59 Aug 27 16:48 oraInst.loc
>
> I then asked him to change the permission to 644 on this file. so he did it as :
> ls -l *.loc
> -rw-r--r--    1 root     system           59 Aug 27 16:48 oraInst.loc

This is because of the wrong umask setting. You can check your umask setting by  execuitng the umask command. If you want to modify the value just do it over smit:

smitty user

Slect the user root and change the mask to 22

Since you've failed to supply the umask ther's a dead-lock in thaht you have the /etc/orainst.loc and ininventory which was not populatec correctly. This combination is neither allowing to make a new installation nor it allows you to use the current installation.

So I guess the only wayout is to remove everything. Unless if could repair the inventory manually.  

 

by: mrjoltcolaPosted on 2009-08-28 at 08:53:16ID: 25208917

You cannot assume anything regarding oraInventory based on looking at the permissions of oraInst.loc. One is root owned, one is oracle owned.

The issue is he ran the post-install script as a non-root user.

 

by: WaqasulhaqPosted on 2009-08-28 at 11:24:31ID: 25210316

mrjoltcola when u said  "The reason you received the error is that you ran /opt/oracle/oraInventory/orainstRoot.sh as a non-root user, thats it"

No. The first time the orainstRoot.sh script was run by ROOT itself. I am sure about this. Then I got this error. And before I runthe installtion I checked umask and it retirned 0022. After installation I also saw that the ORACLE HOME directory permission was 750 instead of 755. why is that? Does it not automatically set the permission to 755 ?

 

by: WaqasulhaqPosted on 2009-08-28 at 11:25:39ID: 25210332

And i am able to chec sqlplus and opatch utilities without any problems.

 

by: mrjoltcolaPosted on 2009-08-28 at 12:34:41ID: 25210919

>>is http://www.experts-exchange.com/registerExpert.jsp

Ok, sorry that was not clear to me.

One way to verify the inventory is to run OUI again (runInstaller), choose "Installed Products" and see if it shows your previously installed software. If it shows, then you are ok to proceed without reinstalling, by attempting to install the patch. At least try before taking the uninstall / reinstall route.


 

by: KeremEPosted on 2009-08-28 at 14:36:02ID: 25211736

> And before I runthe installtion I checked umask and it retirned 0022. After installation I also saw that the
> ORACLE HOME directory permission was 750 instead of 755. why is that? Does it not automatically set
> the permission to 755 ?

did you check if it was 022 running the umask command?
Did you properly change permissions using smitty user ?
Moat impoertant is you need to logoff and re-logon for the change to effect. But since the file permissions is wrong afre reinstall it clearly indicates that it was not in effect (meaning you did not logout/login back)


 

by: KeremEPosted on 2009-08-28 at 14:43:56ID: 25211795

I'm still not sure if could start oracle with the repository intact and be able to apply the patch.

 

by: mrjoltcolaPosted on 2009-08-28 at 15:33:33ID: 25212065

You can run Oracle itself without the oraInventory, but you cannot apply patches as they will look for the repository. I don't disagree with Kereme's recommendation of starting over if there are no instances on the machine, but I would at least run OUI again to see if it has an intact oraInventory before starting over. If the 2nd attempt at orainstRoot.sh succeeded and OUI said install was successful, I'd bet you have a complete install. You could verify this in 10 minutes by just running the patchset install. If it shows 10.2.0.3 Oracle Home previously installed, and will install successfully, then you are ok. You have nothing to lose in trying.

 

by: gheistPosted on 2009-08-29 at 13:35:22ID: 25215268

You need required patches from install document, reboot afterwards...
Oracle has to be installed as non-root into same user's homedir.

Any more questions?

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...