如图:

查看zabbix_server的进程:

[root@localhost ~]# ps aux | grep zabbix
zabbix     7907  0.0  0.3 261556  3728 ?        S    13:10   0:00 /usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf
root       8006  0.0  0.0 112720   980 pts/1    R+   13:15   0:00 grep --color=auto zabbix

查看zabbix_server的端口(默认10051):

[root@localhost ~]# netstat -lntp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      669/rpcbind
tcp        0      0 192.168.122.1:53        0.0.0.0:*               LISTEN      1391/dnsmasq
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1113/sshd
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      1111/cupsd
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      1372/master
tcp6       0      0 :::3306                 :::*                    LISTEN      2240/mysqld
tcp6       0      0 :::111                  :::*                    LISTEN      669/rpcbind
tcp6       0      0 :::80                   :::*                    LISTEN      2014/httpd
tcp6       0      0 :::22                   :::*                    LISTEN      1113/sshd
tcp6       0      0 ::1:631                 :::*                    LISTEN      1111/cupsd
tcp6       0      0 ::1:25                  :::*                    LISTEN      1372/master

发现没有10051端口,说明没有开启zabbix_server进程,接着编辑zabbix_server.conf:

vi /etc/zabbix/zabbix_server.conf  # 找到DBHost并把localhost改为127.0.0.1
...
### Option: DBHost
#       Database host name.
#       If set to localhost, socket is used for MySQL.
#       If set to empty string, socket is used for PostgreSQL.
#
# Mandatory: no
# Default:
DBHost=127.0.0.1
...

重启zabbix-server服务:

[root@localhost ~]# systemctl restart zabbix-server.service

再次查看进程,发现多了好多zabbix相关的进程:

[root@localhost ~]# ps aux | grep zabbix
zabbix     8246  0.0  0.4 261660  4236 ?        S    13:25   0:00 /usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf
zabbix     8248  0.0  0.2 261660  2528 ?        S    13:25   0:00 /usr/sbin/zabbix_server: configuration syncer [waiting 60 sec for processes]
zabbix     8249  0.0  0.2 261660  2528 ?        S    13:25   0:00 /usr/sbin/zabbix_server: alerter #1 started
zabbix     8250  0.0  0.2 261660  2528 ?        S    13:25   0:00 /usr/sbin/zabbix_server: alerter #2 started
zabbix     8251  0.0  0.2 261660  2528 ?        S    13:25   0:00 /usr/sbin/zabbix_server: alerter #3 started
zabbix     8252  0.0  0.2 261660  2528 ?        S    13:25   0:00 /usr/sbin/zabbix_server: housekeeper [startup idle for 30 minutes]
zabbix     8253  0.0  0.3 261808  3252 ?        S    13:25   0:00 /usr/sbin/zabbix_server: timer #1 [processed 1 triggers, 0 events in 0.001601 sec, 0 maintenances in 0.000894 sec, idle 30 sec]
...

再次查看端口,发现10051端口已开启:

[root@localhost ~]# netstat -lntp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:10051           0.0.0.0:*               LISTEN      8246/zabbix_server
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      669/rpcbind
tcp        0      0 192.168.122.1:53        0.0.0.0:*               LISTEN      1391/dnsmasq
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1113/sshd
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      1111/cupsd
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      1372/master
tcp6       0      0 :::10051                :::*                    LISTEN      8246/zabbix_server
tcp6       0      0 :::3306                 :::*                    LISTEN      2240/mysqld
tcp6       0      0 :::111                  :::*                    LISTEN      669/rpcbind
tcp6       0      0 :::80                   :::*                    LISTEN      2014/httpd
tcp6       0      0 :::22                   :::*                    LISTEN      1113/sshd
tcp6       0      0 ::1:631                 :::*                    LISTEN      1111/cupsd
tcp6       0      0 ::1:25                  :::*                    LISTEN      1372/master

查看zabbix的web界面,错误提示消失了:

转载于:https://www.cnblogs.com/freess/p/9150137.html

Zabbix server is not running: the information displayed may not be current.相关推荐

  1. Ubuntu 16.04中zabbix显示 :Zabbix server is not running:te information displayed may not be current.

    报错 :Zabbix server is not running:te information displayed may not be current. 查看Zabbix server日志cat / ...

  2. “zabbix server is not running: the information displayed may not be current”的一种可能原因

    不知从什么时候开始,之前搭建的zabbix系统前端页面开始显示"zabbix server is not running: the information displayed may not ...

  3. zabbix server is not running,the information displayed may not be current

    在自己的虚拟机上搭建了一个zabbix平台,安装好了相关的php,mysql,apache,zabbix,并使用默认账号admin密码zabbix登录,登录成功之后发现底部出现abbix server ...

  4. Zabbix server is not running:the information displayed may not be current

    摘要 查看zabbix的web的配置文件配置信息 root@ubuntu:~# find / -name zabbix.conf.php /etc/zabbix/web/zabbix.conf.php ...

  5. zabbix server is not running the information displayed may not be current

    页面报错如下 查看日志提示 30037:20190710:193016.878 cannot start alert manager service: Cannot bind socket to &q ...

  6. zabbix提示错误:zabbix server is not running: the information displayed may not be current

    可能是如下几种原因之一: 一.selinux是否关闭. 一定要关闭这个,开启selinux会引起一连串问题,甚至zabbix的discovery功能也不能正常使用. 关闭SELinux的方法: 修改/ ...

  7. Zabbix server is not running 报错的排查

    前几天部署了一台zabbix 版本是2.2.2的,部署方法是按照百度经验的步骤部署的.我为那个步骤增加了一些说明,然后发在了自己的博客上.部署完了之后一直没时间增加监控的主机.今天登陆zabbix的时 ...

  8. Zabbix server is not running

    问题描述 Dashbord中提示Zabbix server is not running 分析过程 首先查看zabbix-server的运行状态 systemctl status zabbix-ser ...

  9. zabbix4.0添加mysql报警_Zabbix4.0系统告警“Zabbix server is not running”

    第一步: 查看系统日志,进一步确认原因 1 cat /var/log/zabbix/zabbix_server.log 问题出现在数据库. 第二步 数据库确认 1 mysql -u root -p # ...

最新文章

  1. DeepFake 入门了解
  2. 微信小程序学习日记day1
  3. 【Linux】一步一步学Linux——indent命令(262)
  4. java不建议用全局变量吗_不要使用全局变量, ThreadLocal也不行
  5. c语言smile定义函数,【C初始之习题五】
  6. IO口复用时钟的配置
  7. 再过十年,电脑游戏会被手机游戏完全取代吗?
  8. Hibernate查询 内连接和外连接区别
  9. postman电脑版无法安装_Postman系列一:Postman安装及使用过程中遇到的问题
  10. C语言:判断对错(简化版)
  11. h3cmsr830series说明书_H3C MSR830路由器设置
  12. Virtuoso: 最全安装(IC618,IC617等), 问题解决
  13. itext使用字体问题
  14. 如何安装KEIL MDK5开发软件
  15. 「网络安全专利分析」一种基于多粒度异常检测的网络威胁评估方法
  16. 3D种类游戏系统开发
  17. Markdown编辑器 编辑记事
  18. Handler基本使用(二)new Message 、 Handler.obtainMessage和Message.obtain
  19. NGUI基本控件的使用教程与实例
  20. python字典遍历输出_详解Python字典的复制与遍历

热门文章

  1. Java常用排序算法/程序员必须掌握的8大排序算法
  2. Spring - Java/J2EE Application Framework 应用框架 第 10 章 使用JDBC进行数据访问
  3. iOSCoreAnimation动画系列教程(一):CABasicAnimation【包会】
  4. Stanford UFLDL教程 数据预处理
  5. 鸟哥的Linux私房菜(基础篇)-第二章、 Linux 如何学习(二.2. 鸟哥的Linux苦难经验全都录)
  6. 入坑emacs之配置文件 .emas.d/init.el -v1.0
  7. FileReader类型之文字读取
  8. C# 运算符及条件控制语句
  9. iOS开发笔记 - 界面调试神器Reveal
  10. Android listview与adapter用法