破解天下论坛's Archiver

wumingxiaozu 发表于 2010-5-24 16:53

selinux可能引发的问题,配置svn的时候出现问题

Wed Dec 23 16:22:38 2009] [error] [client 10.206.19.254] (13)Permission denied: Could not open password file: /usr/local/nagios/etc/htpasswd.users

网上说是selinux的原因,于是我做如下操作关闭selinux
命令:setenforce 0

再次访问就OK了,可以正常登陆,但是点击某些页面时有如下提示:
It appears as though you do not have permission to view information for any of the hosts you requested...

vi /usr/local/nagios/etc/cgi.cfg
修改use_authentication=1为use_authentication=0
service nagios restart 重启后就OKl了:)

页: [1]

Powered by Discuz! Archiver 7.0.0  © 2001-2009 Comsenz Inc.