Zabbix server is not running:the information displayed may not be current
来源:互联网 发布:java开发简历模板 编辑:程序博客网 时间:2024/05/20 20:58
配置完成 zabbix 后,登录浏览器查看,出现以下错误!
server is not running:the information displayed may not be current
点击 Administration>>Queue 时,也出现了错误。
Connection to Zabbix server "10.18.192.147" refused. Possible reasons:
1. Incorrect server IP/DNS in the "zabbix.conf.php";
2. Security environment (for example, SELinux) is blocking the connection;
3. Zabbix server daemon not running;
4. Firewall is blocking TCP connection.
Connection refused
如图:
按提示,查看配置,正确的:
[root@localhost zabbix]# find / -name zabbix.conf.php/var/www/html/zabbix/conf/zabbix.conf.php
再查看日志:
[root@localhost zabbix]# tail -n 30 /tmp/zabbix_server.log 11970:20160704:103617.243 Ez Texting notifications: YES 11970:20160704:103617.243 ODBC: NO 11970:20160704:103617.244 SSH2 support: NO 11970:20160704:103617.244 IPv6 support: NO 11970:20160704:103617.244 ****************************** 11970:20160704:103617.244 using configuration file: /usr/local/zabbix/etc/zabbix_server.conf[root@localhost zabbix]# [root@localhost zabbix]# [root@localhost zabbix]# tail -n 10 /tmp/zabbix_agentd.log 11887:20160704:103551.877 Zabbix Agent stopped. Zabbix 2.4.8 (revision 59539). 11944:20160704:103601.996 Starting Zabbix Agent [Zabbix server]. Zabbix 2.4.8 (revision 59539). 11944:20160704:103601.996 using configuration file: /usr/local/zabbix/etc/zabbix_agentd.conf
发现启动的配置文件为:
/usr/local/zabbix/etc/zabbix_agentd.conf/usr/local/zabbix/etc/zabbix_server.conf
而本人之前配置的操作和配置如下:
mkdir /etc/zabbixcp -r /home/zdtest/zabbix-2.4.8/conf/* /etc/zabbix/vi /etc/zabbix/zabbix_server.conf vi /etc/zabbix/zabbix_agentd.confvi /etc/zabbix/zabbix_agent.conf
在启动服务时,并不是自己拷贝的配置文件,使用的是系统的配置文件,系统的配置文件还是默认的。
所以解决方法是:
#删除原来自己复制的文件rm -fr /etc/zabbix#编辑默认的配置文件: #vi /usr/local/zabbix/etc/zabbix_server.confDBName=zabbixDBUser=zabbixDBPassword=zabbixDBPort=3306#vi /usr/local/zabbix/etc/zabbix_agentd.confServer=127.0.0.1,10.18.192.147ServerActive=127.0.0.1,10.18.192.147:10051Hostname=Zabbix_serverUnsafeUserParameters=1#vi /usr/local/zabbix/etc/zabbix_agent.confServer=127.0.0.1,10.18.192.147UnsafeUserParameters=1
0 0
- zabbix server 报错 zabbix server is not running: the information displayed may not be current
- zabbix监控报错zabbix server is not running: the information displayed may not be current
- zabbix server is not running: the information displayed may not be current
- zabbix server is not running: the information displayed may not be current.
- Zabbix server is not running: the information displayed may not be current.
- Zabbix server is not running:the information displayed may not be current
- zabbix监控报错zabbix server is not running: the information displayed may not be current的解决
- 在虚拟机上安装好zabbix_server拷贝后出现zabbix server is not running:the information displayed may not be current
- Zabbix server is not running
- zabbix server is not running解决方法
- Zabbix server is not running:错误的解决
- 关于创建FLex项目时候的 Cannot access the web server. The server may not be running, or the web root folder or root URL may be invalid.错误
- 20161020ZABBIX安装成功后出现zabbix is not running
- Windows - could-not-be-started-because-the-hypervisor-is-not-running
- Zabbix server is not running alert on CentOS 6(同时解决SMTP发送失败问题)
- Phone may be running a version of iOS that is not supported by this version of Xcode.
- Xcode 8.0 调试运行,This ** is running iOS 10.1.1 (14B100), which may not be supported
- This iPhone 6 is running iOS 10.2 (14C92), which may not be supported by this version of Xcode.
- 程序启动画面Splash类
- 12个机器学习的关键点及阐释
- 软件开发过程中提升用户体验的途径[自己整理了下]
- EasyUI Tree默认全部折叠,通过传入ID判断展开节点并选中
- Libevent使用例子,从简单到复杂
- Zabbix server is not running:the information displayed may not be current
- java中去除空格或者空白字符
- OpenOffice 将word文档转为pdf再转为图片
- 第一次使用Android Studio时你应该知道的一切配置
- java的三层架构03_持久层(数据处理)
- Java位操作总结
- 使用MVP打造项目框架
- 数据库对象
- QT多线程中,对象信号与槽连接不上的问题