Zabbix Agent fails to start on Ubuntu 14.04

XMLWordPrintable

    • Type: Problem report
    • Resolution: Fixed
    • Priority: Trivial
    • 5.0 (plan)
    • Affects Version/s: 4.0.17
    • Component/s: Documentation (D)
    • None
    • Sprint 62 (Mar 2020), Sprint 63 (Apr 2020), Sprint 64 (May 2020), Sprint 65 (Jun 2020), Sprint 66 (Jul 2020)

      Steps to reproduce:

      1. Install Zabbix Agent or upgrade it to 4.0.17.
      2. Try to start it via "service zabbix-agent start"

      Result:
      Zabbix Agent doesn't start and it display something like "zabbix-agent stop/pre-start, process 62818"
      (PID varies but the rest is constant)
      Expected:
      Zabbix Agent starts and keeps running.

       

      According to my investigation, the problem is in /etc/init.d/zabbix-agent which is different than in 4.0.16. There are these new lines:

      if [ -n "$ZABBIX_AGENT_USER" ]; then
          user_conf="-c $ZABBIX_AGENT_USER"
      else
          user_conf=''
      fi

      This is probably buggy because -c should specify a configuration file and not an user.

            Assignee:
            Jurijs Klopovskis
            Reporter:
            Lukas Jelinek
            Team I
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: