论坛风格切换切换到宽版
  • 1737阅读
  • 2回复

[问题求助]nagios 用户和密码无效的问题 [复制链接]

上一主题 下一主题
离线风语.
 
发帖
2116
C币
-139044
威望
379
贡献值
1
银元
-2
铜钱
4703
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
[root@centos5-7 nagios-3.2.0].# tail /var/log/htt.pd/error_log .
[.Thu Apr 08 19:59:50 2010] [error] [client 192.168.1.1] (2)No such f.ile or directory: Could .not ope.n password file: /usr/local/nagios/etc/htpasswd.users    美容
[Thu Apr 08 19:59:50 2010] [error] [client 192.168..1.1] access to /n.agios failed, reason: verifi.cation of user id 'nagiosadmin'. not configured学习
[Thu Apr 08 19:59:51 2010] [error] [client 192.168.1.1] (2)No such file or dire.ctory: Could n.ot open password. file: /usr/local/nagios/etc/htpasswd.use.rs.
[Thu Apr 08 19:59:51 2010] [error] [clien.t 192.168.1.1] access to /nagios failed, reason: ver.ification. of user. id 'nagiosadmin' not configured(        游戏          )
[Thu Apr 08 20:00:47 2010] [error] [client 19.2.168.1.1] .(2)No such file or directory: Could not open password file: /usr/l.ocal/nagios/et.c/htpasswd.users             汽车
[.Thu Apr 08 2.0: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 su.ch file or d.irectory: Could not open password .file: /us.r/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 A.pr 08 20:00:5.3 2010] [error] [client 192.168.1.1] (2)No s.uch file or directory: Could not open. password file: /usr/local/nagios/etc/htpasswd.users健康
[Thu Apr 08 20:00:53 2.010] [error] [cl.ient 19.2.168.1.1] access to /nagios failed, reason: verification of us.er id 'nagios' not configured.
[r.oot@centos5-7 nagios-3.2.0]# ll /usr/local/nagios/etc/h.tpasswd.user .
-rwxrwx--- 1 apache a.pache 26 Apr  8 19:54 /.usr/local./nagios/etc/htpasswd.user.
[root@centos5-7 nagio.s-3.2.0]# more. /etc/selinux/config --------------彩票
# This .file controls the state of SELinu.x on the system.(        游戏          )
# SELINUX= can take one of these three .va.lues:(        游戏          )
#        enforcing - SELinux sec.urity policy is en.forced.<性病>
#        permissive - .SELinux prints warnings .instead of enforcing.    外汇
#        .disabled - SELinux is fully di.sabled.           女人
SELINUX=d.isabled(        游戏          )
# SELINUXTYPE= type .of policy in use. Possible val.ues are:(广告)
#       . targeted - .Only targeted network daemons are protected..
#        stri.ct - Fu.ll SELinux protection.           女人
SELINUXT.YPE=targeted.
[root@centos5-7 nagios-3.2.0].# setenforce. 0--- 印刷
   帮我看看http://upload.bbs.csuboy.com/Mon_1004/126_7128_0b0a34ccc7cf0fd.gif[/img]http://upload.bbs.csuboy.com/Mon_1004/126_7128_0b0a34ccc7cf0fd.gif[/img]外贸

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
离线daofeng99.
发帖
2012
C币
-152620
威望
379
贡献值
1
银元
-5
铜钱
4612
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-13
Re:nagios
我在web下能访问,但是输入密码后提示
Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

发帖
2071
C币
-60458
威望
381
贡献值
1
银元
-2
铜钱
4624
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-13
Re:nagios
ll /usr/local/nagios/etc/htpasswd.user


No such file or directory: Could not open password file: /usr/local/nagios/etc/htpasswd.users
快速回复
限100 字节
批量上传需要先选择文件,再选择上传
 
上一个 下一个