论坛风格切换切换到宽版
  • 6359阅读
  • 5回复

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

上一主题 下一主题
离线54nb.
 
发帖
2136
C币
-140107
威望
384
贡献值
1
银元
-4
铜钱
4658
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
[root@centos5-7 nagios-3.2.0]# tail /var/log/httpd/.error_log .服务器
[Thu Apr 0.8 19:59:50 2010] [error] [client 192.168.1.1] (2)No such file or directory: Could not open pass.wo.rd file: /usr/loca.l/nagios/etc/htpasswd.users          婚庆
[Thu Apr 08 19:59.:50 2010] [error] [client 192.168.1.1] access to /n.agios failed, re.ason: 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 op..en password file: /usr/local/nagios/etc/htpasswd.users(广告)
[.Thu Apr 08 19:59:51 2010] [err.or] [client .192.168.1.1] access to /nagios failed, reason: verificat.ion 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: Co.uld not op.en 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' no.t configured.
[Thu Apr 08 20:00:48 2010] [error] [client 192.168.1..1] (2)No .such fi.l.e 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 /n.agios f.ailed, reason: verification of user id 'nagiosadmin' not co.nfigured服务器
[Thu Apr 08 20:00:53 2010] [error] [client 1.92.16.8.1.1] (2)No such fi.le or directory: .Could not open password file: /usr/local/nagios/etc/htpasswd.users投资
[Thu A.pr 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/htpa.sswd.use.r --- 印刷
-.rwxrwx--- .1 apache apache 26 Apr  8 19:54 /usr/local/nagios/e.tc/htpasswd.user域名
[root@centos5-7 na.gios-3.2.0]# more /etc/s.elinux/config 外贸
# This file controls the .stat.e of SELinux on the system.          婚庆
# SELINUX= can take .one of these three val.ues:服务器
#        enfo.rcing - SELinux security policy is enforc.ed..
#  .      permissive - SELinux .prints warnings instead of enforcing.域名
#        .disabled - .SELinux is fully disabled.           建材
SEL.INUX=disabled投资
# SELIN.UXT.YPE= type of policy in use. Possible values are:           建材
#        targeted. - O.nly targeted network daemons are protected.电脑
#.        strict - Ful.l SELinux protection..
SE.LINUXTYPE=targeted健康
[root@c.entos5-7 nagios-3.2.0]# setenfo.rce 0.
   帮我看看http://upload.bbs.csuboy.com/Mon_1004/126_6860_0b0a34ccc7cf0fd.gif[/img]http://upload.bbs.csuboy.com/Mon_1004/126_6860_0b0a34ccc7cf0fd.gif[/img]    美容

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

精彩

感动

搞笑

开心

愤怒

无聊

灌水
发帖
2041
C币
-198555
威望
419
贡献值
1
银元
-2
铜钱
4716
人人网人气币
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.

发帖
2121
C币
-139044
威望
401
贡献值
1
银元
-2
铜钱
4708
人人网人气币
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

离线304334153.
发帖
1993
C币
-60439
威望
374
贡献值
6
银元
2
铜钱
4456
人人网人气币
0
只看该作者 地板  发表于: 2010-04-13
Re:nagios
本帖最后由 jacky_hui 于 2010-04-09 13:14 编辑

mv /usr/local/nagios/etc/htpasswd.user  /usr/local/nagios/etc/htpasswd.users

你设的文件名跟配置文件中的不一样。



离线woofwoof.
发帖
2259
C币
-235050
威望
413
贡献值
1
银元
-2
铜钱
5026
人人网人气币
0
只看该作者 4楼 发表于: 2010-04-13
Re:nagios
检查下web认证文件 /usr/local/nagios/etc/htpasswd.users是否已经有了

离线abccabcc.
发帖
2123
C币
-60246
威望
399
贡献值
1
银元
0
铜钱
4869
人人网人气币
0
只看该作者 5楼 发表于: 2010-04-13
Re:nagios
你们太帅了,我没太注意
快速回复
限100 字节
如果您在写长篇帖子又不马上发表,建议存为草稿
 
上一个 下一个