[ZBX-10331] agent does not start on Windows as a service Created: 2016 Feb 01 Updated: 2017 May 30 Resolved: 2016 Feb 02 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G) |
Affects Version/s: | 3.0.0beta2 |
Fix Version/s: | 3.0.0rc1 |
Type: | Incident report | Priority: | Blocker |
Reporter: | Aleksandrs Saveljevs | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | regression, windows | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
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 |
Comments |
Comment by Andris Zeila [ 2016 Feb 01 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-10331 |
Comment by Andris Zeila [ 2016 Feb 01 ] |
Consider removing "--multiple-agents" from agent service command line parameters, as it seems to be used only with service control options (-i, -d, -s, -x). |
Comment by Aleksandrs Saveljevs [ 2016 Feb 01 ] |
Looks good. Please verify r58138 before merging. |
Comment by Andris Zeila [ 2016 Feb 01 ] |
Released in:
|