zabbix-agent2 won't start

XMLWordPrintable

    • Type: Problem report
    • Resolution: Fixed
    • Priority: Trivial
    • None
    • Affects Version/s: 6.0.46rc1
    • Component/s: Agent2 (G)
    • None
    • Environment:
      Ubuntu Jammy

      Steps to reproduce:

      1. We updated to 6.0.46 on ubuntu
      2. Now the zabbix-agent2 wont start....

      Result:

      May 05 19:16:52 cloud-test-db1 zabbix_agent2[135102]: failed to parse flags: flag provided but not defined: -T May 05 19:16:52 cloud-test-db1 zabbix_agent2[135102]: Usage of Zabbix agent 2: May 05 19:16:52 cloud-test-db1 zabbix_agent2[135102]: zabbix_agent2 [-c config-file] May 05 19:16:52 cloud-test-db1 zabbix_agent2[135102]: zabbix_agent2 [-c config-file] [-v] -p May 05 19:16:52 cloud-test-db1 zabbix_agent2[135102]: zabbix_agent2 [-c config-file] [-v] -t item-key May 05 19:16:52 cloud-test-db1 zabbix_agent2[135102]: zabbix_agent2 [-c config-file] -R runtime-option May 05 19:16:52 cloud-test-db1 zabbix_agent2[135102]: zabbix_agent2 -h May 05 19:16:52 cloud-test-db1 zabbix_agent2[135102]: zabbix_agent2 -V

      The systemd unit file now has a ** 

       ** ExecStartPre=/usr/sbin/zabbix_agent2 -T -c $CONFFILE

      The systemd unit file now has a 

      and the agent doesn't support that `-T` switch.

      It wasn't an issue in 6.0.45

      This form doesn't let me set the version to 6.0.46

      Expected:
      See screenshot....
      See attached patch file...

            Assignee:
            Edgars Melveris
            Reporter:
            Calliope Clarke
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: