LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-16-2005, 02:34 AM   #1
linux_pioneer
Member
 
Registered: May 2003
Distribution: Solaris 10, Solaris 8.0, Fedora Core 3
Posts: 203

Rep: Reputation: 30
Unhappy Oracle Error


Hi I'm using Fedora Core 3 and Oracle 10g. Oracle seems to start up fine, but I'm getting this error whenever I try to run lsnrctl or sqlplus:

error while loading shared libraries: /usr/local/u01/app/oracle/product/10.1.0/db_1/lib/libnnz10.so: cannot restore segment prot after reloc: Permission denied

I did a search on Google and did come up with much. Has anyone seen this error before? The only thing I did to my system before this started happening was ran RedHats up2date tool.

I also attempted to reinstall Oracle 10g and I'm coming up with the same error. I checked permissions and looks like oracleinstall has the correct permissions

Last edited by linux_pioneer; 06-16-2005 at 03:08 AM.
 
Old 06-16-2005, 09:16 PM   #2
duliano
Member
 
Registered: Oct 2004
Location: Clayton, NY
Distribution: SuSE Prof 9.1, 9.2, 9.3Pro X86_64 SLES 8 & 9
Posts: 82

Rep: Reputation: 16
Did you change the umask to 022 and did you chmod 755? I would suggest that you change the mode on /oracle including all the subdirectories. You can also try to touch <file> /oracle and see if you can create a file there as your oracle user. Now that I think of it perhaps you did not run root.sh?

Hope this helps
 
Old 06-20-2005, 11:40 AM   #3
linux_pioneer
Member
 
Registered: May 2003
Distribution: Solaris 10, Solaris 8.0, Fedora Core 3
Posts: 203

Original Poster
Rep: Reputation: 30
Yes I did set the umask to 022 and chmod to 755 for $ORACLE_HOME (I made sure I used the -R recursive option). I ran root.sh when I initially installed oracle. I have had Oracle running fine for months. This was happened after I ran the redhat update tool. I install updates at least twice a week and this is the first time it has negatively impacted my system. The oracle user has permissions on the $ORACLE_HOME directory. I have no clue why I'm getting a permissions error. Has anyone run into this problem before?
 
Old 06-22-2005, 02:45 AM   #4
sadun
Member
 
Registered: Mar 2005
Posts: 48

Rep: Reputation: 15
Hi,

Check your other thread they are releated. I have posted there they are same thing.
 
Old 06-24-2005, 10:29 PM   #5
linux_pioneer
Member
 
Registered: May 2003
Distribution: Solaris 10, Solaris 8.0, Fedora Core 3
Posts: 203

Original Poster
Rep: Reputation: 30
I got this issue figured out. it looks like some permissions were changed after I ran redhat's update agent. First time i've ever had any issues with running the auto-update agent.
 
Old 06-25-2005, 07:52 AM   #6
duliano
Member
 
Registered: Oct 2004
Location: Clayton, NY
Distribution: SuSE Prof 9.1, 9.2, 9.3Pro X86_64 SLES 8 & 9
Posts: 82

Rep: Reputation: 16
Wow! That's interesting!! Where did the permissions change (/oracle, /oracle/<SID>)? I'm just curious.
 
Old 06-27-2005, 02:59 PM   #7
or1onas
Member
 
Registered: Mar 2004
Location: Athens,Greece
Distribution: Mint
Posts: 181

Rep: Reputation: 32
Yes, pls tell us what happened exactly cause i'm facing the same problem after a SELinux up2date...(my libmpg123.so produces the same error..)
 
Old 06-28-2005, 06:40 PM   #8
thomasfly
LQ Newbie
 
Registered: Jun 2005
Posts: 1

Rep: Reputation: 0
http://www.orafaq.com/forum/t/47634/0/
http://www.google.com/search?biw=113...=Google+Search

The key is just to set selinux=permissive or disabled- rather than enforcing- in the /etc/selinux/config file.

Evidently, there was some change from Fedora 3 to 4 that caused this problem- up2date-ing Fedora 3 will break Oracle if SELinux is enabled.
 
Old 06-29-2005, 06:38 AM   #9
or1onas
Member
 
Registered: Mar 2004
Location: Athens,Greece
Distribution: Mint
Posts: 181

Rep: Reputation: 32
Thanx a lot for the info! I'll try that when i get back home.
I just can't understand why fc3 has been working with selinux=enforcing for more than 6 months and suddenly, the latest update produces the error.
Apart from that, i really can't understand why the same file (libmpg123.so) which is used as a plugin by xmms in /usr/lib/xmms/Input is working fine but the one in /usr/lib/bmp/Input doesn't...
I guess selinux is indeed a big trouble...
 
Old 06-29-2005, 11:19 PM   #10
or1onas
Member
 
Registered: Mar 2004
Location: Athens,Greece
Distribution: Mint
Posts: 181

Rep: Reputation: 32
I just had another update for selinux and that solved the issue.
thanx for the tip though :-)
 
Old 07-02-2005, 12:23 PM   #11
linux_pioneer
Member
 
Registered: May 2003
Distribution: Solaris 10, Solaris 8.0, Fedora Core 3
Posts: 203

Original Poster
Rep: Reputation: 30
My oracle user and group are oracle and oinstall respectively. I just ran these commands:
chown -R oracleinstall $ORACLE_HOME
chmod -R u+rwx $ORACLE_HOME

After I ran the update agent I noticed the $ORACLE_HOME/bin directory was owned by root. I have no clue why updating redhat packages would change permissions. Hope this helps!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
oracle forms error frm-91111 justin_bloom Linux - Software 4 06-17-2005 04:54 AM
Getting error when installing Oracle 11.5.9 on RedHat AS 3.0 yorcl Linux - Software 1 11-17-2004 10:48 AM
Error on SuSE 9 when using Oracle dbca captainhog Linux - Software 1 04-06-2004 08:38 PM
Oracle Installation / runInstaller error ultraman Linux - Software 9 05-31-2003 05:47 AM
Error while installing oracle 9i R2 on RedHat 8.0 leisure Linux - Software 0 03-24-2003 03:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration