透过命令 service zabbix_server start 和 service zabbix_agentd start 启动服务时,两者都报错,内容如下:
[root@localhost etc]# systemctl status zabbix_server -l
● zabbix_server.service - SYSV: Zabbix Monitoring Server
Loaded: loaded (/etc/rc.d/init.d/zabbix_server; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2023-07-27 02:45:52 CST; 1h 44min ago
Docs: man:systemd-sysv-generator(8)
Process: 44846 ExecStart=/etc/rc.d/init.d/zabbix_server start (code=exited, status=5)
Jul 27 02:45:52 localhost systemd[1]: Starting SYSV: Zabbix Monitoring Server...
Jul 27 02:45:52 localhost zabbix_server[44846]: /usr/local/sbin/zabbix_server not installed!
Jul 27 02:45:52 localhost systemd[1]: zabbix_server.service: control process exited, code=exited status=5
Jul 27 02:45:52 localhost systemd[1]: Failed to start SYSV: Zabbix Monitoring Server.
Jul 27 02:45:52 localhost systemd[1]: Unit zabbix_server.service entered failed state.
Jul 27 02:45:52 localhost systemd[1]: zabbix_server.service failed.
--------------------------------------------------------------------------------------------------------------------
[root@localhost etc]# systemctl status zabbix_agentd -l
● zabbix_agentd.service - SYSV: Zabbix Monitoring Agent
Loaded: loaded (/etc/rc.d/init.d/zabbix_agentd; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2023-07-27 03:20:00 CST; 1h 10min ago
Docs: man:systemd-sysv-generator(8)
Process: 46531 ExecStart=/etc/rc.d/init.d/zabbix_agentd start (code=exited, status=5)
Jul 27 03:20:00 localhost systemd[1]: Starting SYSV: Zabbix Monitoring Agent...
Jul 27 03:20:00 localhost zabbix_agentd[46531]: /usr/local/sbin/zabbix_agentd not installed!
Jul 27 03:20:00 localhost systemd[1]: zabbix_agentd.service: control process exited, code=exited status=5
Jul 27 03:20:00 localhost systemd[1]: Failed to start SYSV: Zabbix Monitoring Agent.
Jul 27 03:20:00 localhost systemd[1]: Unit zabbix_agentd.service entered failed state.
Jul 27 03:20:00 localhost systemd[1]: zabbix_agentd.service failed.
请各位高手协助,感谢。
[root@localhost etc]# systemctl status zabbix_server -l
● zabbix_server.service - SYSV: Zabbix Monitoring Server
Loaded: loaded (/etc/rc.d/init.d/zabbix_server; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2023-07-27 02:45:52 CST; 1h 44min ago
Docs: man:systemd-sysv-generator(8)
Process: 44846 ExecStart=/etc/rc.d/init.d/zabbix_server start (code=exited, status=5)
Jul 27 02:45:52 localhost systemd[1]: Starting SYSV: Zabbix Monitoring Server...
Jul 27 02:45:52 localhost zabbix_server[44846]: /usr/local/sbin/zabbix_server not installed!
Jul 27 02:45:52 localhost systemd[1]: zabbix_server.service: control process exited, code=exited status=5
Jul 27 02:45:52 localhost systemd[1]: Failed to start SYSV: Zabbix Monitoring Server.
Jul 27 02:45:52 localhost systemd[1]: Unit zabbix_server.service entered failed state.
Jul 27 02:45:52 localhost systemd[1]: zabbix_server.service failed.
--------------------------------------------------------------------------------------------------------------------
[root@localhost etc]# systemctl status zabbix_agentd -l
● zabbix_agentd.service - SYSV: Zabbix Monitoring Agent
Loaded: loaded (/etc/rc.d/init.d/zabbix_agentd; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2023-07-27 03:20:00 CST; 1h 10min ago
Docs: man:systemd-sysv-generator(8)
Process: 46531 ExecStart=/etc/rc.d/init.d/zabbix_agentd start (code=exited, status=5)
Jul 27 03:20:00 localhost systemd[1]: Starting SYSV: Zabbix Monitoring Agent...
Jul 27 03:20:00 localhost zabbix_agentd[46531]: /usr/local/sbin/zabbix_agentd not installed!
Jul 27 03:20:00 localhost systemd[1]: zabbix_agentd.service: control process exited, code=exited status=5
Jul 27 03:20:00 localhost systemd[1]: Failed to start SYSV: Zabbix Monitoring Agent.
Jul 27 03:20:00 localhost systemd[1]: Unit zabbix_agentd.service entered failed state.
Jul 27 03:20:00 localhost systemd[1]: zabbix_agentd.service failed.
请各位高手协助,感谢。
Comment