Zabbix server is no running
Posted IT陳慶澤
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Zabbix server is no running相关的知识,希望对你有一定的参考价值。
在我自動化大量部署新增主機之後,zabbix server顯示Zabbix server is no running,查看log訊息,
[root@idczabbix85 zabbix]# tail -50 zabbix_server.log
顯示 One child process died (PID:9954,exitcode/signal:1). Exiting ...
9953:20210927:180057.378 One child process died (PID:9954,exitcode/signal:1). Exiting ...
9953:20210927:180057.379 syncing trend data...
9953:20210927:180057.379 syncing trend data done
9953:20210927:180057.379 Zabbix Server stopped. Zabbix 5.0.14 (revision 892ce506db).
並看到
9954:20210927:180057.373 __mem_malloc: skipped 0 asked 96 skip_min 18446744073709551615 skip_max 0
9954:20210927:180057.374 [file:dbconfig.c,line:96] zbx_mem_malloc(): out of memory (requested 96 bytes)
9954:20210927:180057.374 [file:dbconfig.c,line:96] zbx_mem_malloc(): please increase CacheSize configuration parameter
記憶體溢出,需要調整增加cache
9953:20210927:180056.890 using configuration file: /etc/zabbix/zabbix_server.conf
9953:20210927:180056.894 current database version (mandatory/optional): 05000000/05000004
9953:20210927:180056.894 required mandatory version: 05000000
9953:20210927:180056.906 server #0 started [main process]
9954:20210927:180056.906 server #1 started [configuration syncer #1]
9954:20210927:180057.373 __mem_malloc: skipped 0 asked 96 skip_min 18446744073709551615 skip_max 0
9954:20210927:180057.374 [file:dbconfig.c,line:96] __zbx_mem_malloc(): out of memory (requested 96 bytes)
9954:20210927:180057.374 [file:dbconfig.c,line:96] __zbx_mem_malloc(): please increase CacheSize configuration parameter
找到設定檔,預設我都沒設定CacheSize,將其註釋取消掉,設定為1024M,重啟服務即可正常。
[root@idczabbix85 zabbix]# vim /etc/zabbix/zabbix_server.conf
[root@idczabbix85 zabbix]# systemctl restart zabbix-server.service
以上是关于Zabbix server is no running的主要内容,如果未能解决你的问题,请参考以下文章
Zabbix 4.4 仪表盘报错!!(zabbix服务器端运行中 显示为“不” Zabbix server is running No)
zabbix is not running value is no
10 Zabbix4.4.0-告警“Zabbix server is not running”
zabbix安装后提示:Zabbix server is not running