Hello,
I installed zabbix-server with some difficulties but managed to have it running well and since then I haven't problem until now. My virtual machine has been rebooted and the server is no booting or being in a failing state.
I'm under redhat 7 and trying to boot the server with systemctl start zabbix-server, but It's taking long time and then display zabbix-server.service has failed.
This is what i see with the command journalctl -xn :
[root@virtual-machine zabbix]# journalctl -xn
-- Logs begin at Wed 2017-06-21 23:32:26 CEST, end at Fri 2017-06-23 14:45:43 CEST. --
Jun 23 14:44:03 virtual-machine systemd[1]: zabbix-server.service never wrote its PID file. Failing.
Jun 23 14:44:03 virtual-machine systemd[1]: Failed to start Zabbix Server.
-- Subject: Unit zabbix-server.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman.../systemd-devel
--
-- Unit zabbix-server.service has failed.
--
-- The result is failed.
Jun 23 14:44:03 virtual-machine systemd[1]: Unit zabbix-server.service entered failed state.
Jun 23 14:44:13 virtual-machine systemd[1]: zabbix-server.service holdoff time over, scheduling restart.
Jun 23 14:44:13 virtual-machine systemd[1]: Stopping Zabbix Server...
-- Subject: Unit zabbix-server.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman.../systemd-devel
--
-- Unit zabbix-server.service has begun shutting down.
Jun 23 14:44:13 virtual-machine systemd[1]: Starting Zabbix Server...
-- Subject: Unit zabbix-server.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman.../systemd-devel
--
-- Unit zabbix-server.service has begun starting up.
Jun 23 14:44:13 virtual-machine systemd[1]: PID file /run/zabbix/zabbix_server.pid not readable (yet?) after start.
Jun 23 14:45:43 virtual-machine systemd[1]: zabbix-server.service operation timed out. Terminating.
Jun 23 14:45:43 virtual-machine systemd[1]: Failed to start Zabbix Server.
-- Subject: Unit zabbix-server.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman.../systemd-devel
--
-- Unit zabbix-server.service has failed.
--
-- The result is failed.
Jun 23 14:45:43 virtual-machine systemd[1]: Unit zabbix-server.service entered failed state.
So there seems to be a problem with the pid file. I can't see any file in the /var/run/zabbix/ directory, same in /run/zabbix/ directory.
Any idea on this one guys ?
Thanks in advance,
Regards
Gozu09
I installed zabbix-server with some difficulties but managed to have it running well and since then I haven't problem until now. My virtual machine has been rebooted and the server is no booting or being in a failing state.
I'm under redhat 7 and trying to boot the server with systemctl start zabbix-server, but It's taking long time and then display zabbix-server.service has failed.
This is what i see with the command journalctl -xn :
[root@virtual-machine zabbix]# journalctl -xn
-- Logs begin at Wed 2017-06-21 23:32:26 CEST, end at Fri 2017-06-23 14:45:43 CEST. --
Jun 23 14:44:03 virtual-machine systemd[1]: zabbix-server.service never wrote its PID file. Failing.
Jun 23 14:44:03 virtual-machine systemd[1]: Failed to start Zabbix Server.
-- Subject: Unit zabbix-server.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman.../systemd-devel
--
-- Unit zabbix-server.service has failed.
--
-- The result is failed.
Jun 23 14:44:03 virtual-machine systemd[1]: Unit zabbix-server.service entered failed state.
Jun 23 14:44:13 virtual-machine systemd[1]: zabbix-server.service holdoff time over, scheduling restart.
Jun 23 14:44:13 virtual-machine systemd[1]: Stopping Zabbix Server...
-- Subject: Unit zabbix-server.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman.../systemd-devel
--
-- Unit zabbix-server.service has begun shutting down.
Jun 23 14:44:13 virtual-machine systemd[1]: Starting Zabbix Server...
-- Subject: Unit zabbix-server.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman.../systemd-devel
--
-- Unit zabbix-server.service has begun starting up.
Jun 23 14:44:13 virtual-machine systemd[1]: PID file /run/zabbix/zabbix_server.pid not readable (yet?) after start.
Jun 23 14:45:43 virtual-machine systemd[1]: zabbix-server.service operation timed out. Terminating.
Jun 23 14:45:43 virtual-machine systemd[1]: Failed to start Zabbix Server.
-- Subject: Unit zabbix-server.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman.../systemd-devel
--
-- Unit zabbix-server.service has failed.
--
-- The result is failed.
Jun 23 14:45:43 virtual-machine systemd[1]: Unit zabbix-server.service entered failed state.
So there seems to be a problem with the pid file. I can't see any file in the /var/run/zabbix/ directory, same in /run/zabbix/ directory.
Any idea on this one guys ?
Thanks in advance,
Regards
Gozu09