Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-17306

Zabbix Agent fails to start on Ubuntu 14.04

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 5.0 (plan)
    • 4.0.17
    • Documentation (D)
    • None
    • Team I
    • 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.

            yurii Jurijs Klopovskis
            lukasjelinek Lukas Jelinek
            Team I
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: