Bug 209632

Summary: net-mgmt/zabbix24-server: error in rc.d script
Product: Ports & Packages Reporter: FuX <mail>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed DUPLICATE    
Severity: Affects Some People CC: pg
Priority: --- Flags: bugzilla: maintainer-feedback? (pg)
Version: Latest   
Hardware: Any   
OS: Any   

Description FuX 2016-05-19 09:01:33 UTC
pkg version 2.4.7_1

A similar error as the one described in 

/usr/ports/net-mgmt/zabbix24-proxy (209154)

appears to be present in zabbix24-server (we do not use the proxy pkg/port and were affected).

Changing /usr/local/etc/rc.d/zabbix_server : 

        
if get_pidfile_from_conf PidFile ${zabbix_agentd_config}; then

into

if get_pidfile_from_conf PidFile ${zabbix_server_config}; then

solves the issue.

Since we are using pkg for the machine affected we did not check if the latest port version already contained a fix.

Superficially had a look at 

http://svnweb.freebsd.org/ports/head/net-mgmt/zabbix24-server/files/zabbix_server.in?revision=413935

and saw that the line still contained agentd rather than server.

Hope this does not collide with 209154 too much...

Regards,

FuX
Comment 1 pg 2016-05-19 09:51:33 UTC
This issue already fix in #209154
Please close this PR.

Thanks
Comment 2 FuX 2016-05-19 10:11:01 UTC

*** This bug has been marked as a duplicate of bug 209154 ***