#16686 closed defect (fixed)
zabbix 1.4.6 zabbix_agentd never starts. Incorrect path in zabbix_agentd.init
Reported by: | tobrien@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | zabbix | Cc: | markd@… |
Port: |
Description
Due to an invalid path in '/opt/local/share/zabbix/zabbix_agentd.init' the zabbix_agentd process is never called. The init script references '/opt/local/bin/zabbix/zabbix_agentd' where is the actual agent is installed in '/opt/local/sbin/zabbix/zabbix_agentd', see example patch:
--- zabbix_agentd.init.orig 2008-09-29 10:03:40.000000000 +1000 +++ zabbix_agentd.init 2008-09-29 10:04:17.000000000 +1000 @@ -3,7 +3,7 @@ case "$1" in start) echo -n "Starting zabbix_agentd " - sudo -u zabbix /opt/local/bin/zabbix/zabbix_agentd -c /opt/local/etc/zabbix/zabbix_agentd.conf + sudo -u zabbix /opt/local/sbin/zabbix/zabbix_agentd -c /opt/local/etc/zabbix/zabbix_agentd.conf ;; stop)
Kind Regards,
Tim
Change History (2)
comment:1 Changed 16 years ago by markd@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Applied the fix in r40680. Thanks!