Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#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: newclosed

Applied the fix in r40680. Thanks!

comment:2 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.