报错为
[root@fuzaijunheng ~]# systemctl status zabbix-server.service
● zabbix-server.service - Zabbix Server
Loaded: loaded (/usr/lib/systemd/system/zabbix-server.service; enabled; vendor preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since Wed 2021-08-18 04:22:13 EDT; 2s ago
Process: 2321 ExecStart=/usr/sbin/zabbix_server -c $CONFFILE (code=exited, status=127)
8月 18 04:22:13 fuzaijunheng systemd[1]: zabbix-server.service: Control process exited, code=exited status=127
8月 18 04:22:13 fuzaijunheng systemd[1]: zabbix-server.service: Failed with result 'exit-code'.
8月 18 04:22:13 fuzaijunheng systemd[1]: Failed to start Zabbix Server.
[root@fuzaijunheng ~]# cat /var/log/zabbix/
cat: /var/log/zabbix/: 是一个目录
[root@fuzaijunheng ~]# cat /var/log/zabbix/zabbix_agentd.log
32653:20210818:041136.643 Starting Zabbix Agent [Zabbix server]. Zabbix 5.4.3 (revision 68dc2b05cb).
32653:20210818:041136.643 **** Enabled features ****
32653:20210818:041136.643 IPv6 support: YES
32653:20210818:041136.643 TLS support: YES
32653:20210818:041136.643 **************************
32653:20210818:041136.643 using configuration file: /etc/zabbix/zabbix_agentd.conf
32653:20210818:041136.644 agent #0 started [main process]
32654:20210818:041136.646 agent #1 started [collector]
32655:20210818:041136.646 agent #2 started [listener #1]
32656:20210818:041136.650 agent #3 started [listener #2]
32657:20210818:041136.652 agent #4 started [listener #3]
32658:20210818:041136.655 agent #5 started [active checks #1]
32658:20210818:041136.662 active check configuration update from [127.0.0.1:10051] started to fail (cannot connect to [[127.0.0.1]:10051]: [111] Connection refused)
32653:20210818:041151.692 Got signal [signal:15(SIGTERM),sender_pid:32678,sender_uid:976,reason:0]. Exiting ...
32653:20210818:041151.694 Zabbix Agent stopped. Zabbix 5.4.3 (revision 68dc2b05cb).
944:20210818:041218.564 Starting Zabbix Agent [Zabbix server]. Zabbix 5.4.3 (revision 68dc2b05cb).
944:20210818:041218.567 **** Enabled features ****
944:20210818:041218.567 IPv6 support: YES
944:20210818:041218.567 TLS support: YES
944:20210818:041218.567 **************************
944:20210818:041218.567 using configuration file: /etc/zabbix/zabbix_agentd.conf
944:20210818:041218.568 agent #0 started [main process]
947:20210818:041218.577 agent #2 started [listener #1]
948:20210818:041218.578 agent #3 started [listener #2]
946:20210818:041218.579 agent #1 started [collector]
949:20210818:041218.580 agent #4 started [listener #3]
950:20210818:041218.583 agent #5 started [active checks #1]
950:20210818:041218.603 active check configuration update from [127.0.0.1:10051] started to fail (cannot connect to [[127.0.0.1]:10051]: [111] Connection refused)
[root@fuzaijunheng ~]# vim /etc/zabbix/zabbix_server.conf
[root@fuzaijunheng ~]# systemctl restart zabbix-server.service
Job for zabbix-server.service failed because the control process exited with error code.
See "systemctl status zabbix-server.service" and "journalctl -xe" for details.
[root@fuzaijunheng ~]# journalctl -xe
-- Subject: zabbix-server.service 单元已开始启动
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- zabbix-server.service 单元已开始启动。
8月 18 04:24:16 fuzaijunheng zabbix_server[2453]: /usr/sbin/zabbix_server: symbol lookup error: /usr/sbin/zabbix_server: undefined symbol: usmAES192PrivProtocol
8月 18 04:24:16 fuzaijunheng systemd[1]: zabbix-server.service: Control process exited, code=exited status=127
8月 18 04:24:16 fuzaijunheng systemd[1]: zabbix-server.service: Failed with result 'exit-code'.
8月 18 04:24:16 fuzaijunheng systemd[1]: Failed to start Zabbix Server.
-- Subject: zabbix-server.service 单元已失败
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- zabbix-server.service 单元已失败。
--
-- 结果为“RESULT”。
8月 18 04:24:17 fuzaijunheng systemd[1]: Stopped Zabbix Server.
-- Subject: zabbix-server.service 单元已结束停止操作
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- zabbix-server.service 单元已结束停止操作。
8月 18 04:24:17 fuzaijunheng systemd[1]: Starting Zabbix Server...
-- Subject: zabbix-server.service 单元已开始启动
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- zabbix-server.service 单元已开始启动。
8月 18 04:24:17 fuzaijunheng zabbix_server[2468]: /usr/sbin/zabbix_server: symbol lookup error: /usr/sbin/zabbix_server: undefined symbol: usmAES192PrivProtocol
8月 18 04:24:17 fuzaijunheng systemd[1]: zabbix-server.service: Control process exited, code=exited status=127
8月 18 04:24:17 fuzaijunheng systemd[1]: zabbix-server.service: Failed with result 'exit-code'.
8月 18 04:24:17 fuzaijunheng systemd[1]: Failed to start Zabbix Server.
-- Subject: zabbix-server.service 单元已失败
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- zabbix-server.service 单元已失败。
--
-- 结果为“RESULT”。
8月 18 04:24:21 fuzaijunheng grafana-server[1060]: t=2021-08-18T04:24:21-0400 lvl=warn msg="Request Origin is not authorized" logger=live origin=http://192.168.70.132:3000 appUrl=http://>
8月 18 04:24:21 fuzaijunheng grafana-server[1060]: t=2021-08-18T04:24:21-0400 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/api/live/ws st>
解决方法:由于使用系统镜像中的net-snmp-libs-5.8.安装包,不支持usmAES192 privacy protocol,所以导致zabbix-server启动失败。升级net-snmp到高版本。访问Centos8 YUM仓库下载rpm或者通过网络YUM源方式升级net-snmp-libs
发表评论