Starting zabbix_agentd: No such file or directory
问题描述
[root@localhost admin]# service zabbix_agentd restart Shutting down zabbix_agentd: [FAILED] Starting zabbix_agentd: /etc/init.d/functions: line 546: /usr/local/zabbix/zabbix/sbin/zabbix_agentd: No such file or directory
[FAILED]
通过提示发现目录错误,正确启动目录为:
/usr/local/zabbix/sbin/zabbix_agentd
解决:
1.进入zabbix_agentd配置文件
vim /etc/init.d/zabbix_agentd
2.修改BASEDIR选项
BASEDIR=/usr/local/zabbix