前提是我什么都没动zabbix-server,只是加主机关联模板等等,一定要仔细地看日志、看报错!!!(我也是,只是添加了几台交换机,就报错了)
页面报错如下:
用命令查看状态 systemctl status zabbix-server ,如下
systemctl restart zabbix-server 也不行
systemctl restart zabbix-server zabbix-agent httpd rh-php72-php-fpm 也不行
查看/var/log/zabbix/zabbix-server.log
发现OOM——内存溢出了
解决:
- vim /etc/zabbix/zabbix_server.conf
- CacheSize=32M ##原本是8M,改到16M或32M或更大
注意:要把#号注释删掉!!!!!!!!!!!!!!!
再重启zabbix-server就可以了
systemctl restart zabbix-server
文章摘自:
https://blog.csdn.net/m0_63536320/article/details/135699501
标签:log,running,server,zabbix,systemctl,报错,restart From: https://www.cnblogs.com/jiguibu/p/18572791