本文介绍了Zabbix 服务器未运行:显示的信息可能不是最新的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以突然之间,在使用它一周后,我在我的 zabbix 服务器 gui (http://localhost/zabbix/.)

So all of a sudden, after a week of using it, I get an error message on my zabbix server gui (http://localhost/zabbix/.)

错误提示:Zabbix server is not running:显示的信息可能不是最新的.

知道为什么会突然发生这种情况吗?我重新启动了机器 - 它应该会在启动时自动恢复 zabbix server - 但它仍然没有运行.

Any idea why is this happening ll of a sudden and out of the blue? I restarted the machine - which should automatically restore the zabbix server upon startup - but it's still not running.

我还研究了启动或重新启动命令,但确实与 zabbix 一起形成的有用,清晰的文档不存在.

I also researched for a startup or restart command but true to form with zabbix helpful, clear documentation is non-existent.

更多信息:

MySQL 运行正常.我可以selectinsert into,随心所欲.

MySQL is running normally. I'm able to select, insert into, whatever I want.

执行 /etc/init.d/zabbix-server status 导致 * zabbix_server is not running

zabbix_server.log 中的最后一个条目是 Zabbix Server 已停止.Zabbix 2.2.9(修订版 52686).

The last entry in zabbix_server.log is Zabbix Server stopped. Zabbix 2.2.9 (revision 52686).

执行sudo/etc/init.d/zabbix-server start 导致* Running Zabbix server zabbix_server 但状态仍然是not running 并且日志文件没有任何新条目.

Doing sudo /etc/init.d/zabbix-server start results in * Starting Zabbix server zabbix_server but the status is still not running and the log file doesn't have any new entries.

推荐答案

进入zabbix.conf.php

just get into the zabbix.conf.php

   >$sudo vim /etc/zabbix/web/zabbix.conf.php
   >$ZBX_SERVER      = '**your zabbix ip address or DNS name**';
   >$ZBX_SERVER_PORT = '10051';
   >$ZBX_SERVER_NAME = '**your zabbix hostname**';

只需更改ip地址即可解决错误

Zabbix 服务器未运行:显示的信息可能不是最新的

然后重启zabbix服务器

After that restart the zabbix server

 >$sudo service zabbix-server restart

要验证,请转到仪表板管理 ->排队看数据

To verify go to Dashboard Administration -> queue there you see data

我解决了我的错误,这对我来说很好用.

i resolved my error like this works fine for me.

这篇关于Zabbix 服务器未运行:显示的信息可能不是最新的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-18 19:28