- For individual users
- Instant access to solutions
- Ask your tech questions
- Start your 30-day Free Trial
Main Topics
Browse All TopicsI had to rebuild a Linux box and recover my Oracle Application Server software from backup.
I'm fairly sure that the Linux permissions did not download correctly. When I ran "find /u01 -perm +6000 -type f -exec ls -ld {} \;" I found no suid permissions. I have set all the following permissions but am sure that I have either missed some or have done too many.
Does anyone know which files need changed to what permissions??
All help is much appreciated.
-rwsr-s--- 1 root dba 18462 May 15 2007 /u01/app/oracle/product/Or
-rwsr-s--- 1 root dba 19656 May 15 2007 /u01/app/oracle/product/Or
-rwsr-s--- 1 oracle dba 74794 May 16 2007 /u01/app/oracle/product/Or
-rwsr-s--x 1 oracle dba 901 May 16 2007 /u01/app/oracle/product/Or
-rwsr-s--- 1 root dba 13411216 Oct 15 2006 /u01/app/oracle/product/Or
-rwsr-s--- 1 root dba 13302 May 21 2007 /u01/app/oracle/product/Or
-rwsr-s--x 1 oracle dba 916 May 21 2007 /u01/app/oracle/product/Or
-rwsr-s--- 1 root dba 13720 May 21 2007 /u01/app/oracle/product/Or
-rwsr-s--- 1 oracle dba 28071 Jan 24 2008 /u01/app/oracle/product/Or
-rwsr-s--- 1 root dba 13411216 Oct 15 2006 /u01/app/oracle/product/Or
-rwsr-s--- 1 root dba 13302 May 21 2007 /u01/app/oracle/product/Or
-rwsr-s--- 1 root dba 13720 May 21 2007 /u01/app/oracle/product/Or
-rwsr-s--- 1 oracle dba 28071 Jan 24 2008 /u01/app/oracle/product/Or
-rwsr-s--x 1 oracle dba 916 May 21 2007 /u01/app/oracle/product/Or
Currently when I attempt to start the application server it is hanging at this point:
Starting all Services for Mid-Tier ...
--------------------------
opmnctl: opmn started
opmnctl: starting opmn and all managed processes...
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
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.
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.
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.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
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.
Business Accounts
Answer for Membership
by: slcoitPosted on 2009-11-05 at 13:32:03ID: 25754275
I found that the root.sh script would set the permissions. a10gAS_Inf /root.sh a10gAS_Mid /root.sh
a10.2/bin/ nmb a10.2/bin/ nmo a10.2/bin/ nmupm a10.2/bin/ emtgtctl a10gAS_Inf /Apache/Ap ache/bin/s somigrate a10gAS_Inf /bin/nmb a10gAS_Inf /bin/oidre pld a10gAS_Inf /bin/oidld apd a10gAS_Inf /bin/oidmo n a10gAS_Inf /bin/emtgt ctl a10gAS_Inf /bin/nmo a10gAS_Inf /bin/nmupm a10gAS_Inf /dbs/orapw orcl a10gAS_Inf /opmn/bin/ opmnctl a10gAS_Mid /Apache/Ap ache/bin/s somigrate a10gAS_Mid /bin/nmb a10gAS_Mid /bin/nmo a10gAS_Mid /bin/nmupm a10gAS_Mid /bin/emtgt ctl a10gAS_Mid /opmn/bin/ opmnctl a10gAS_Mid /webcache/ bin/webcac hectl
I located the root.sh in two locations and ran them both.
/u01/app/oracle/product/Or
/u01/app/oracle/product/Or
I then ran
"find /u01 -perm +6000 -type f -exec ls -ld {} \;"
and got this result:
-rwsr-s--- 1 root dba 18462 May 15 2007 /u01/app/oracle/product/Or
-rwsr-s--- 1 root dba 19656 May 15 2007 /u01/app/oracle/product/Or
-rwsr-s--- 1 oracle dba 74794 May 16 2007 /u01/app/oracle/product/Or
-rwsr-s--x 1 oracle dba 901 May 16 2007 /u01/app/oracle/product/Or
-rwsr-s--- 1 root dba 13411216 Oct 15 2006 /u01/app/oracle/product/Or
-rwsr-s--- 1 root dba 13302 May 21 2007 /u01/app/oracle/product/Or
-rws--x--- 1 oracle dba 1805775 Jan 24 2008 /u01/app/oracle/product/Or
-rws--x--- 1 root dba 1712084 Jan 24 2008 /u01/app/oracle/product/Or
-rws--x--- 1 oracle dba 1773596 Jan 24 2008 /u01/app/oracle/product/Or
-rwsr-s--x 1 oracle dba 916 May 21 2007 /u01/app/oracle/product/Or
-rwsr-s--- 1 root dba 13720 May 21 2007 /u01/app/oracle/product/Or
-rwsr-s--- 1 oracle dba 28071 Jan 24 2008 /u01/app/oracle/product/Or
-rwSr----- 1 oracle dba 1536 Feb 6 2008 /u01/app/oracle/product/Or
-rwsr-s--- 1 oracle dba 23219 May 21 2007 /u01/app/oracle/product/Or
-rwsr-s--- 1 root dba 13411216 Oct 15 2006 /u01/app/oracle/product/Or
-rwsr-s--- 1 root dba 13302 May 21 2007 /u01/app/oracle/product/Or
-rwsr-s--- 1 root dba 13720 May 21 2007 /u01/app/oracle/product/Or
-rwsr-s--- 1 oracle dba 28071 Jan 24 2008 /u01/app/oracle/product/Or
-rwsr-s--x 1 oracle dba 916 May 21 2007 /u01/app/oracle/product/Or
-rwsr-s--- 1 oracle dba 23219 May 21 2007 /u01/app/oracle/product/Or
-rwsr-x--- 1 oracle dba 17495 Jan 24 2008 /u01/app/oracle/product/Or
Once these permissions got set and I installed all the packages required by Oracle, I was up and running again.
I have found my own answer and I have documented it for future use.