Ad Widget

Collapse

Failed to start Zabbix Server - Can't open PID file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ITAdminBozeman
    Junior Member
    • Mar 2021
    • 2

    #1

    Failed to start Zabbix Server - Can't open PID file

    I'm in the process of setting up the latest Zabbix 6.0 on Ubuntu 20.04. I have it installed and updated, MySQL, Apache2, PHP configured, and the basic steps of creating SQL user objects and system users taken care of. We are able to get the server/frontend to load, but it crashes after about 10 seconds with the following error (notes from the Ubuntu log). It looks like a permission issue. Please let me know your thoughts and suggestions. I appreciate any assistance/feedback you can render.


    May 20 00:01:22 zabbixmonitor systemd[1]: Starting Zabbix Server...
    May 20 00:01:24 zabbixmonitor systemd[1]: zabbix-server.service: Can't open PID file /run/zabbix/zabbix_server.pid (yet?) after start: Operation not permitted
    May 20 00:01:24 zabbixmonitor systemd[1]: zabbix-server.service: Failed with result 'protocol'.
    May 20 00:01:24 zabbixmonitor systemd[1]: Failed to start Zabbix Server.
    May 20 00:01:34 zabbixmonitor systemd[1]: zabbix-server.service: Scheduled restart job, restart counter is at 527.
    May 20 00:01:34 zabbixmonitor systemd[1]: Stopped Zabbix Server.
    May 20 00:01:34 zabbixmonitor systemd[1]: Starting Zabbix Server...
    May 20 00:01:36 zabbixmonitor systemd[1]: zabbix-server.service: Can't open PID file /run/zabbix/zabbix_server.pid (yet?) after start: Operation not permitted
    May 20 00:01:36 zabbixmonitor systemd[1]: zabbix-server.service: Failed with result 'protocol'.
    May 20 00:01:36 zabbixmonitor systemd[1]: Failed to start Zabbix Server.
    May 20 00:01:46 zabbixmonitor systemd[1]: zabbix-server.service: Scheduled restart job, restart counter is at 528.
    May 20 00:01:46 zabbixmonitor systemd[1]: Stopped Zabbix Server.
    May 20 00:01:46 zabbixmonitor systemd[1]: Starting Zabbix Server...
    May 20 00:01:48 zabbixmonitor systemd[1]: zabbix-server.service: Can't open PID file /run/zabbix/zabbix_server.pid (yet?) after start: Operation not permitted
    May 20 00:01:48 zabbixmonitor systemd[1]: zabbix-server.service: Failed with result 'protocol'.
    May 20 00:01:48 zabbixmonitor systemd[1]: Failed to start Zabbix Server.
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    This looks like the system logs, with basic systemd messages. The "Can't open pid file" is annoying, but I don't think it's what's causing the issue.

    What's in the /var/log/zabbix/zabbix_server.log ? There should be some obvious start-up messages, including version and what features were selected when the software was compiled, but after those messages there should be a clue about what the problem is.

    Comment

    Working...