[jboss-dev-forums] [Clustering Development] - Re: getting [emerg] create_mem_node /etc/httpd/logs/manager.node failed: Permission denied Configuration Failed when starting apache on rhel 6 after mod_cluster is added
Claudianus Adjai
do-not-reply at jboss.com
Tue Nov 27 12:44:32 EST 2012
Claudianus Adjai [https://community.jboss.org/people/claudianus] created the discussion
"Re: getting [emerg] create_mem_node /etc/httpd/logs/manager.node failed: Permission denied Configuration Failed when starting apache on rhel 6 after mod_cluster is added"
To view the discussion, visit: https://community.jboss.org/message/778670#778670
--------------------------------------------------------------
I solved the issue.
It was SELinux after all.
I ran "sealert -a /var/log/audit/audit.log | less" and saw that SELinux was denying httd write permissions to the /etc/httpd/logs/manager.node.nodes.lock file. So I temporaryly enabled it by running the following two lines
"+grep httpd /var/log/audit/audit.log | audit2allow -M mypol+"
"+semodule -i mypol.pp+"
I then went and removed the locks
"+rm -f /etc/httpd/logs/manager.node.nodes.lock+"
"+rm -f /var/lock/subsys/httpd+"
and then resstarted httpd ("service httpd start")
That did the trick. I still see some errors in the log but at least for now httpd is running and I can see the mod_cluster-manager page.
C
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/778670#778670]
Start a new discussion in Clustering Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2103]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20121127/7920f7f2/attachment.html
More information about the jboss-dev-forums
mailing list