PDA

View Full Version : Win32 v1.1b5 agent not starting


ReefShark
11-01-2006, 14:23
I can't seem to upgrade my 1.1b2 agents to a higher version for some reason, possibly my own mistake. We are running W2K on several servers and I wish to update them to be able to use the new item syntax.

I've used
ZabbixW32.exe stop
ZabbixW32.exe remove
to get rid of the old service, and double checked in the Services screen to ensure it was really gone.

I then installed the new client with
ZabbixW32.exe --config c:\zabbix\zabbix_agentd.conf install
ZabbixW32.exe start
Yet, it remains in the state 'starting' and is unreachable.
Starting it from the Services screen doesn't work either. I get "Error 1053: the service did not respond to the start or control request in a timely fashion".
Startup command in Services is "C:\Zabbix\ZabbixW32.exe" --config "C:\Zabbix\zabbix_agentd.conf"

What am I doing wrong?

steveh
11-01-2006, 16:09
Use the option to check the config, also try running in standalone mode with debug messages/verbose?

Steve

ReefShark
12-01-2006, 10:28
Great advice!
I figured the config file would be fine considering the previous client had no problem with it, but it seems the option "DisableActive" is no longer recognized by the v1.1b5 client. I removed the option and the config file passed the test.

It still didn't work, not even in standalone, so I went over the config file and removed all linux-specific parameters earlier versions of the W32 agent had no problem with. After this it worked.

I guess there are two things possibly not correct with the current W32 agent:

The config file check should be more extensive or improved.
The agent still seems to be using the old item syntax in stead of the new. For example, agent.version is not supported, version[zabbix_agent] does.

ReefShark
26-01-2006, 11:16
^BUMP^

Alexei, any comment on my two suggestions/remarks? ;)