yanfangsheng123 发表于 2019-1-14 08:21:54

nagios访问web界面出现Internal Server Error解决方法

http://s3.运维网.com/wyfs02/M00/22/CD/wKiom1MoFLfQvAOeAAMfKAKrs2s357.jpg
  解决方法
  如果是SELinux处于强制安全模式时需要做
  getenforce
  令SELinux处于容许模式
  setenforce 0
  如果要永久性更变它,需要更改/etc/selinux/config里的设置并重启系统。
  不关闭SELinux或是永久性变更它的方法是让CGI模块在SELinux下指定强制目标模式:
  chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/ chcon -R -t httpd_sys_content_t /usr/local/nagios/share/


页: [1]
查看完整版本: nagios访问web界面出现Internal Server Error解决方法