Ad Widget

Collapse

Zabbix Server not creating .PID file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • douglas_inter
    Junior Member
    • Sep 2022
    • 1

    #1

    Zabbix Server not creating .PID file

    Hello, guys.

    This is my system:
    Operating System: Red Hat Enterprise Linux 8.6 (Ootpa)
    Kernel: Linux 4.18.0-372.19.1.el8_6.x86_64

    And i heave installed de Zabbix Proxy using the official repository to RedHat 8 (https://www.zabbix.com/br/download?z...red_hat_enterp rise_linux&os_version=8&components=proxy&db=mysql& ws=)

    I disabled the SeLinux.
    I disabled the TrendMicro

    So, when i try start ou restart de Zabbix Proxy, i have this error:

    Code:
    systemctl restart zabbix-proxy
    Job for zabbix-proxy.service failed because the service did not take the steps required by its unit configuration.
    See "systemctl status zabbix-proxy.service" and "journalctl -xe" for details.​
    Code:
    set 13 14:57:28 interserv3201.intermedium.local systemd[1]: zabbix-proxy.service: Can't open PID file /run/zabbix/zabbix_proxy.pid (yet?) after start: No such file or directory
    set 13 14:57:28 interserv3201.intermedium.local systemd[1]: zabbix-proxy.service: Failed with result 'protocol'.
    -- Subject: Unit failed
    -- Defined-By: systemd
    -- Support: https://access.redhat.com/support
    --
    -- The unit zabbix-proxy.service has entered the 'failed' state with result 'protocol'.
    set 13 14:57:28 interserv3201.intermedium.local systemd[1]: Failed to start Zabbix Proxy.​
    when checking if the file exists, it is not in the folder, and even when reinstalling it is not created automatically, not even after system reboot

    Code:
    ls -lha /run
    drwxrwxr-x.  2 zabbix zabbix   60 set 13 15:01 zabbix
    Code:
    ls -lha /run/zabbix/
    drwxrwxr-x.  2 zabbix zabbix  60 set 13 15:02 .
    drwxr-xr-x. 25 root   root   700 set 13 14:47 ..
    srwx------.  1 zabbix zabbix   0 set 13 15:02 zabbix_proxy_rtc.sock​
    This is the contents of the files that point the PID:

    Code:
    /etc/zabbix/zabbix_proxy.conf file:
    PidFile=/run/zabbix/zabbix_proxy.pid
    Code:
    /lib/systemd/system/zabbix-proxy.service file:
    PIDFile=/run/zabbix/zabbix_proxy.pid

    I already tried a series of procedures described here and in other forums, but without success. Can you help me? Thanks!​
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    That error about the PID file is unrelated. That's not the cause of your problem.

    Perhaps you're having the same issue that was discussed in this thread: https://www.zabbix.com/forum/zabbix-...-with-pid-file

    Comment


    • douglas_inter
      douglas_inter commented
      Editing a comment
      Thank You! I have found the solution!
Working...