chcon -R -t httpd_sys_content_t /usr/local/nagios/bin chcon -R -t httpd_sys_content_t /usr/local/nagios/share
Nagios "Internal Server Error"
Posted by
Miftachul Tri Prastyo Utomo
on Minggu, 16 Desember 2012
Labels:
problem linux
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.
0 comments:
Posting Komentar