RSS

Nagios "Internal Server Error"

This post talk about problem when configure the nagios. There is something new for me when try configure it in Fedora or Redhat Familly. wich is called SELINUX, if we just configure the nagios with just ordinary install in Redhat familly, i think we will get one of the errors. i ever get the error "Internal Server Error". And in httpd log only say permission denied. so it means only the permission issue. After try to google it, and then we must take care about the SELINUX. we can set the SELINUX to be permanent in the /etc/selinux/config. but i more prefer to make it default to be enforcing. we can specify which part is to be set by using command chcon. in this part i just execute the command and then my nagios is done without that error.
chcon -R -t httpd_sys_content_t /usr/local/nagios/bin
chcon -R -t httpd_sys_content_t /usr/local/nagios/share

0 comments:

Posting Komentar

Please copy and share it, if it helps you
 
Copyright 2009 My Note All rights reserved.
Free Blogger Templates by DeluxeTemplates.net
Wordpress Theme by EZwpthemes
Blogger Templates