[MacPorts] #16686: zabbix 1.4.6 zabbix_agentd never starts. Incorrect path in zabbix_agentd.init

MacPorts noreply at macports.org
Sun Sep 28 17:50:24 PDT 2008


#16686: zabbix 1.4.6 zabbix_agentd never starts. Incorrect path in
zabbix_agentd.init
-------------------------------------+--------------------------------------
 Reporter:  tobrien at obrienit.com.au  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:  Port Bugs                            
Component:  ports                    |     Version:  1.6.0                                
 Keywords:  zabbix                   |        Port:                                       
-------------------------------------+--------------------------------------
 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

-- 
Ticket URL: <http://trac.macports.org/ticket/16686>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list