Ad Widget

Collapse

Zabbix Agent on Ubuntu 24.04 Can't open PID file /run/zabbix/zabbix_agentd.pid

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ModularConfusion
    Junior Member
    • Apr 2024
    • 23

    #1

    Zabbix Agent on Ubuntu 24.04 Can't open PID file /run/zabbix/zabbix_agentd.pid

    Fresh install of zabbix agent on Ubuntu 24.04

    Ran
    Code:
    wget https://repo.zabbix.com/zabbix/7.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_7.0-1+ubuntu24.04_all.deb
    then apt update and apt install zabbix-agent.

    Setup my config, and it fails to start:

    Code:
    Oct 21 22:58:03 docker-minimal systemd[1]: Starting zabbix-agent.service - Zabbix Agent...
    ░░ Subject: A start job for unit zabbix-agent.service has begun execution
    ░░ Defined-By: systemd
    ░░ Support: http://www.ubuntu.com/support
    ░░
    ░░ A start job for unit zabbix-agent.service has begun execution.
    ░░
    ░░ The job identifier is 62508.
    Oct 21 22:58:05 docker-minimal systemd[1]: zabbix-agent.service: Can't open PID file /run/zabbix/zabbix_agentd.pid (yet?) after start: No such file or directory
    Oct 21 22:58:05 docker-minimal systemd[1]: zabbix-agent.service: Failed with result 'protocol'.
    ░░ Subject: Unit failed
    ░░ Defined-By: systemd
    ░░ Support: http://www.ubuntu.com/support
    ░░
    ░░ The unit zabbix-agent.service has entered the 'failed' state with result 'protocol'.
    Oct 21 22:58:05 docker-minimal systemd[1]: Failed to start zabbix-agent.service - Zabbix Agent.
    I verified the /run/zabbix directory exists and is owned by the zabbix user and group.

    I can use `touch` to create the zabbix_agentd.pid file and chown it by zabbix, but it is removed immediately upon starting the service and makes no difference.
    Last edited by ModularConfusion; 22-10-2024, 01:18.
Working...