Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-09-2006, 05:36 PM   #1
Registered: Nov 2004
Distribution: CentOS-4
Posts: 142

Rep: Reputation: 15
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/ into server: /opt/cf7/runtime/lib/wsconfig/1/ 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?
Old 05-10-2006, 09:10 PM   #2
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
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.
Old 05-13-2006, 10:44 PM   #3
Registered: Nov 2004
Distribution: CentOS-4
Posts: 142

Original Poster
Rep: Reputation: 15
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. ;-)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
file permission denied, install postfix aw_wolfe Linux - Newbie 7 07-13-2011 07:27 AM
permission denied on .htaccess files in Apache scott.anderson Linux - Software 3 12-16-2005 12:19 PM
Cannot Install Bitdefender Permission Denied Redfiveuk Linux - Newbie 6 04-15-2004 09:14 AM
ATI driver install (9700, permission denied) Jason711 Linux - Hardware 3 03-17-2004 03:48 PM
GD 2.0.15 install, permission denied enzo250gto Linux - Software 2 11-19-2003 08:04 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:59 AM.

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