Hello all -
I am getting the following error when I try to start apache on rhel 6.
[emerg] create_mem_node /etc/httpd/logs/manager.node failed: Permission denied
Configuration Failed
Note that apache was working fine before I uploaded mod_cluster modules and configured it. I also had mod_jk configured and working with apache before this, which I disabled.
I am trying to run apache with mod_cluster 1.2.0.Final on rhel 6 x64.
I am also starting apache as root (starting it as a regular user causes permission denied error).
Finally, note that I tried to run it both with SELinux enabled and disabled and the outcome seems to be the same.
My mod_cluster conf looks like below
LoadModule slotmem_module modules/mod_slotmem.so
LoadModule manager_module modules/mod_manager.so
LoadModule proxy_cluster_module modules/mod_proxy_cluster.so
LoadModule advertise_module modules/mod_advertise.so
#Listen 192.168.10.91:8008
<VirtualHost 192.168.10.91:8008>
<Directory />
Order deny,allow
Deny from all
Allow from 127.0.0.1
Allow from 192.168.10.
</Directory>
<Location /mod_cluster-manager>
SetHandler mod_cluster-manager
Order deny,allow
Deny from all
Allow from 127.0.0.1
Allow from 192.168.10.
</Location>
ManagerBalancerName mycluster
KeepAliveTimeout 60
MaxKeepAliveRequests 0
ServerAdvertise On
EnableMCPMReceive
</VirtualHost>
I commented out the Listen directive because I put it in the main http.conf file (having it in this file does not change the outcome) and the above mod_cluster.conf file is located under my /etc/http/conf.d/ folder.
I also saw that there is a bug related to this error but under Windows OS.
What am I missing?
Thanks
C