2331321 发表于 2016-11-8 08:38:58

zabbix agent端启动时报错:“错误1053:服务没有及时响应启...

                      zabbix agent端启动时报错:“错误1053:服务没有及时响应启动或控制请求”
按照前面文章的方法,又想加一台Windows服务器到zabbix监控,结果在最后一步,点击右键菜单“启动”时,却报错了。



  我就是在zabbix agent端服务器的DOS窗口,执行“D:\zabbix_agents_2.4.4.yg\bin\win64>zabbix_agentd.exe -c D:\zabbix_agents_2.4.4.yg\conf\zabbix_agentd.win.conf -d”命令。(注意我的路径,并不一定照搬。)
  里面的“-d”参数就是卸载命令,具体可以使用“zabbix_agentd.exe --help”查看帮助。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
D:\zabbix_agents_2.4.4.yg\bin\win64>zabbix_agentd.exe --help
Zabbix Agent Win64 (service) v2.4.4 (revision 52334) (23 February 2015)

usage: zabbix_agentd.exe [-Vhp] [-idsx] [-m] [-c <config-file>] [-t <item key>]

Options:
-c --config <config-file>       Absolute path to the configuration file
-p --print                      Print known items and exit
-t --test <item key>            Test specified item and exit
-h --help                     Display help information
-V --version                  Display version number

Functions:

-i --install          Install Zabbix agent as service
-d --uninstall      Uninstall Zabbix agent from service
-s --start            Start Zabbix agent service
-x --stop             Stop Zabbix agent service
-m --multiple-agentsService name will include hostname




  这样,就把agent服务从“服务”项里删除了。然后,我把安装agent包的目录删除(之前是绿色安装,从压缩包里解压出来修改配置文件就能用)。
  重新解压绿色安装包,修改好配置文件后,再执行了一次命令:

1
2
3
D:\zabbix_agents_2.4.4.yg\bin\win64>zabbix_agentd.exe -c D:\zabbix_agents_2.4.4.yg\conf\zabbix_agentd.win.conf -i
zabbix_agentd.exe : service installed successfully
zabbix_agentd.exe : event source installed successfully




然后,在“服务”项就可以正常启动了。


页: [1]
查看完整版本: zabbix agent端启动时报错:“错误1053:服务没有及时响应启...