Bug 209632 - net-mgmt/zabbix24-server: error in rc.d script
Summary: net-mgmt/zabbix24-server: error in rc.d script
Status: Closed DUPLICATE of bug 209154
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-19 09:01 UTC by FuX
Modified: 2016-05-19 10:11 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (pg)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***