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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
05-09-2006, 05:36 PM
|
#1
|
Member
Registered: Nov 2004
Distribution: CentOS-4
Posts: 142
Rep:
|
Permission denied on Apache after install
Installing ColdFusion MX7 on RH EL 4 under root, everything seems to go ok during the install, except this possible problem:
Warning: C++ compatibility pack
The installer was unable to determine if the C++ compatibility pack is
installed by running the following command: rpm --query compat-libstdc++
If this machine uses a version of glibc that is 2.2.5.x or higher the
compatibility pack is necessary for C++ custom tags, Verity, and web server
connectors to work properly.
But I found some material that said this is a false indication on RH EL 4 and I should just ignor it. So I have installed now a few times - but when I finish the install, start the CF Server, and re-start Apache, I get an Apache error when it reads a line installed in the Apache config file by CFMX7 as follows:
httpd failed. The error was: Stopping httpd: [ OK ]
Starting httpd: Syntax error on line 907 of /etc/httpd/conf/httpd.conf:
Cannot load /opt/cf7/runtime/lib/wsconfig/1/mod_jrun20.so into server: /opt/cf7/runtime/lib/wsconfig/1/mod_jrun20.so: failed to map segment from shared object: Permission denied
So . . . . . like I said, I am logged in as root, I used the default runtime user (nobody) and the permissions on that account seem normal, so I am at a loss as to why I don't have permission to run this object - does the runtime user have to be the same for the Apache server?
|
|
|
05-10-2006, 09:10 PM
|
#2
|
Member
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620
Rep:
|
Does RHEL4 support SELinux? If it does, temporarily turn it off (add 'selinux=0' to the kernel line in grub).
Or run 'setenforce 0', before you start apache (/etc/init.d/httpd start)
If that fixes it then investigate on what the proper security policy/context changes in selinux are required to allow for that module to load.
|
|
|
05-13-2006, 10:44 PM
|
#3
|
Member
Registered: Nov 2004
Distribution: CentOS-4
Posts: 142
Original Poster
Rep:
|
HA! - so yeah, I went back to RH EL 3 and it installed fine anyway, I finally got a chance to re-install with Rh ELv4 and yeah, it turned out to be SELinux. Thanx for the help. Now I just need to figure out how to configure SELinux. ;-)
|
|
|
All times are GMT -5. The time now is 09:32 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|