Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Solaris 10, Solaris 8.0, Fedora Core 3
Posts: 203
Rep:
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.
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?
Distribution: Solaris 10, Solaris 8.0, Fedora Core 3
Posts: 203
Original Poster
Rep:
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?
Distribution: Solaris 10, Solaris 8.0, Fedora Core 3
Posts: 203
Original Poster
Rep:
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.
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...
Distribution: Solaris 10, Solaris 8.0, Fedora Core 3
Posts: 203
Original Poster
Rep:
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.