- 论坛徽章:
- 0
|
[root@centos5-7 nagios-3.2.0]# tail /var/log/httpd/error_log
[Thu Apr 08 19:59:50 2010] [error] [client 192.168.1.1] (2)No such file or directory: Could not open password file: /usr/local/nagios/etc/htpasswd.users
[Thu Apr 08 19:59:50 2010] [error] [client 192.168.1.1] access to /nagios failed, reason: verification of user id 'nagiosadmin' not configured
[Thu Apr 08 19:59:51 2010] [error] [client 192.168.1.1] (2)No such file or directory: Could not open password file: /usr/local/nagios/etc/htpasswd.users
[Thu Apr 08 19:59:51 2010] [error] [client 192.168.1.1] access to /nagios failed, reason: verification of user id 'nagiosadmin' not configured
[Thu Apr 08 20:00:47 2010] [error] [client 192.168.1.1] (2)No such file or directory: Could not open password file: /usr/local/nagios/etc/htpasswd.users
[Thu Apr 08 20:00:47 2010] [error] [client 192.168.1.1] access to /nagios failed, reason: verification of user id 'nagiosadmin' not configured
[Thu Apr 08 20:00:48 2010] [error] [client 192.168.1.1] (2)No such file or directory: Could not open password file: /usr/local/nagios/etc/htpasswd.users
[Thu Apr 08 20:00:48 2010] [error] [client 192.168.1.1] access to /nagios failed, reason: verification of user id 'nagiosadmin' not configured
[Thu Apr 08 20:00:53 2010] [error] [client 192.168.1.1] (2)No such file or directory: Could not open password file: /usr/local/nagios/etc/htpasswd.users
[Thu Apr 08 20:00:53 2010] [error] [client 192.168.1.1] access to /nagios failed, reason: verification of user id 'nagios' not configured
[root@centos5-7 nagios-3.2.0]# ll /usr/local/nagios/etc/htpasswd.user
-rwxrwx--- 1 apache apache 26 Apr 8 19:54 /usr/local/nagios/etc/htpasswd.user
[root@centos5-7 nagios-3.2.0]# more /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
[root@centos5-7 nagios-3.2.0]# setenforce 0
帮我看看  |
|