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

agent does not start on Windows as a service

XMLWordPrintable

      Zabbix agent no longer seems to start on Windows as a service, but there is no error in the log (in fact, the log is not even created). The problem seems to be in the following fragment in zabbix_agentd.c:

      ...
      default:
      	if (0 != (t->flags & ZBX_TASK_FLAG_MULTIPLE_AGENTS))
      	{
      		zbx_error("multiple agents option can be used only with Zabbix agent services");
      		ret = FAIL;
      		goto out;
      	}
      ...
      

      It is likely to be a problem, because when Windows starts our agent as a service, it passes --multiple-agents option without -i, -s, -x, -d, but we expect --multiple-agent to only be used in conjuction with the latter.

      This is a regression from ZBXNEXT-611, which added --foreground option.

            Unassigned Unassigned
            asaveljevs Aleksandrs Saveljevs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: