1.启动 zabbix-server失败
2.查看日志
tailf /var/log/zabbix/zabbix_server.log
报错信息:
zabbix_server [4569]: cannot open log: cannot create semaphore set: [28] No space left on device
3.sysctl -a | grep kernel.sem
kernel.sem = 250 32000 32 128
4.echo "kernel.sem = 500 64000 64 256" >> /etc/sysctl.conf
5.sysctl -p
6.sysctl -a | grep kernel.sem
7.systemctl start zabbix-server # 成功
8.systemctl status zabbix-server