Hello,
I have a problem during installation of Zabbix Agent on windows OS (As a service).
Indeed, there was a previous installation of zabbix agent on some post with an old agent.conf.
I installed a new zabbix server on Debian 9 because we changed the zabbix server.
I first tried to simply change the agentd.conf with the new IP address (The new server address) and try to restart agent service : Windows Error 1053.
I tried to properly uninstall zabbix agent with this batch :
cd %programfiles%\Zabbix Agent\
zabbix_agentd.exe --config zabbix_agentd.conf --stop
zabbix_agentd.exe --config zabbix_agentd.conf --uninstall
del /s "zabbix_agentd.conf" /q
copy \\srv-quadra-s\Reptransfert\zabbix_agentd.conf zabbix_agentd.conf
zabbix_agentd.exe --config zabbix_agentd.conf --install
zabbix_agentd.exe --config zabbix_agentd.conf --start
Same error : 1053.
With command line zabbix_agentd.exe --config zabbix_agentd.conf --uninstall, it seems that something not uninstalled in the system.
Secondly, I thought about manually deleting "zabbix Agent" Folder with this batch:
cd %programfiles%\Zabbix Agent\
zabbix_agentd.exe --config zabbix_agentd.conf --uninstall
cd ..
del /s "Zabbix Agent" /q
rmdir "Zabbix Agent/zabbix_agentd.conf.d"
rmdir "Zabbix Agent"
cd C:\
copy \\xxxxxxx\zabbix_agent-4.2.3-win-amd64-openssl.msi zabbix_agent-4.2.3-win-amd64-openssl.msi
msiexec /l*v log.txt /i zabbix_agent-4.2.3-win-amd64-openssl.msi Server=192.168.16.61 ServerActive=192.168.16.61:10051 /qn
del zabbix_agent-4.2.3-win-amd64-openssl.msi
New problem, the msi don't install anything, it seems that something not uninstalled in the system again...
To verify, I tried to install agent with msi file manually and it don't ask me to install zabbix agent but he detect something on the system and i have a menu to "Change" features and "Remove" Zabbix Agent...
Nothing in appdata local and appdata roaming. Maybe in registry key ?
Thanks for helping.
I have a problem during installation of Zabbix Agent on windows OS (As a service).
Indeed, there was a previous installation of zabbix agent on some post with an old agent.conf.
I installed a new zabbix server on Debian 9 because we changed the zabbix server.
I first tried to simply change the agentd.conf with the new IP address (The new server address) and try to restart agent service : Windows Error 1053.
I tried to properly uninstall zabbix agent with this batch :
cd %programfiles%\Zabbix Agent\
zabbix_agentd.exe --config zabbix_agentd.conf --stop
zabbix_agentd.exe --config zabbix_agentd.conf --uninstall
del /s "zabbix_agentd.conf" /q
copy \\srv-quadra-s\Reptransfert\zabbix_agentd.conf zabbix_agentd.conf
zabbix_agentd.exe --config zabbix_agentd.conf --install
zabbix_agentd.exe --config zabbix_agentd.conf --start
Same error : 1053.
With command line zabbix_agentd.exe --config zabbix_agentd.conf --uninstall, it seems that something not uninstalled in the system.
Secondly, I thought about manually deleting "zabbix Agent" Folder with this batch:
cd %programfiles%\Zabbix Agent\
zabbix_agentd.exe --config zabbix_agentd.conf --uninstall
cd ..
del /s "Zabbix Agent" /q
rmdir "Zabbix Agent/zabbix_agentd.conf.d"
rmdir "Zabbix Agent"
cd C:\
copy \\xxxxxxx\zabbix_agent-4.2.3-win-amd64-openssl.msi zabbix_agent-4.2.3-win-amd64-openssl.msi
msiexec /l*v log.txt /i zabbix_agent-4.2.3-win-amd64-openssl.msi Server=192.168.16.61 ServerActive=192.168.16.61:10051 /qn
del zabbix_agent-4.2.3-win-amd64-openssl.msi
New problem, the msi don't install anything, it seems that something not uninstalled in the system again...
To verify, I tried to install agent with msi file manually and it don't ask me to install zabbix agent but he detect something on the system and i have a menu to "Change" features and "Remove" Zabbix Agent...
Nothing in appdata local and appdata roaming. Maybe in registry key ?
Thanks for helping.
Comment