Apache Permission Error - extension cannot load, apache cannot start

2011-01-06 Thread Duncan

Hi All,

Happy New year to all, I hope that you all had a great break.

We are putting together a Centos 64 bit linux, CF8 multiserver web server,
and having some issues getting the default 'cfusion' CF instance running.

We are installing 64bit ColdFusion 8 in MultiServer Mode on a Centos 5.5
64bit machine, with apache 2.2.3 and have run into an issue with apache
permissions.

We are currently experiencing permission issues on the CF Apache extension
and it is preventing Apache from starting. The following is the error being
shown on the console, and we’ve also listed the permissions dump for the
files we believe are affected:

[r...@red5m01-web03 bin]# service httpd start
Starting httpd: httpd: Syntax error on line 873 of
/etc/httpd/conf/httpd.conf: Cannot load
/opt/jrun4/lib/wsconfig/1/mod_jrun22.so into server:
/opt/jrun4/lib/wsconfig/1/mod_jrun22.so: cannot open shared object file:
Permission denied

[r...@red5m01-web03 bin]# ls -Z /opt/jrun4/lib/wsconfig/1/mod_jrun22.so
-rwxr-xr-x  root root system_u:object_r:initrc_exec_t
 /opt/jrun4/lib/wsconfig/1/mod_jrun22.so
[r...@red5m01-web03 bin]# ls -Z /usr/sbin/apachectl
-rwxr-xr-x  root root system_u:object_r:initrc_exec_t  /usr/sbin/apachectl

It seems that the mod_jrun22.so file has the necessary permissions.

The following is the /etc/httpd/conf/httpd.conf lines the error is referring
to:

 872 # JRun Settings
873 LoadModule jrun_module /opt/jrun4/lib/wsconfig/1/mod_jrun22.so
874 IfModule mod_jrun22.c
875 JRunConfig Verbose false
876 JRunConfig Apialloc false
877 JRunConfig Ignoresuffixmap false
878 JRunConfig Serverstore /opt/jrun4/lib/wsconfig/1/jrunserver.store
879 JRunConfig Bootstrap 127.0.0.1:51020
880 #JRunConfig Errorurl url optionally redirect to this URL on errors
881 #JRunConfig ProxyRetryInterval 600 number of seconds to
wait before trying to reconnect to unreachable clustered server
882 #JRunConfig ConnectTimeout 15 number of seconds to wait
on a socket connect to a jrun server
883 #JRunConfig RecvTimeout 300 number of seconds to wait on
a socket receive to a jrun server
884 #JRunConfig SendTimeout 15 number of seconds to wait on a
socket send to a jrun server
885 AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf
886 /IfModule

We believe that all files are in the correct locations. Can anyone provide
any suggestions on what might be wrong, and where?

Thanks in advance.

-- 
Duncan I Loxton
duncan.lox...@gmail.com


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340555
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Apache Permission Error - extension cannot load, apache cannot start

2011-01-06 Thread Mack

Is selinux enabled ? Is there something in /var/log/audit/audit.log
about the error ?

-- 
Mack

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340556
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm