Line 38 of /usr/local/etc/rc.d/zabbix_proxy is currently set to: if get_pidfile_from_conf PidFile ${zabbix_agentd_config}; then Line 38 of /usr/local/etc/rc.d/zabbix_proxy should be set to: if get_pidfile_from_conf PidFile ${zabbix_proxy_config}; then Looks like a typo but this broke existing Zabbix Proxy installations. Thanks, Rob
The only report online of the error so far is: https://translate.google.com/translate?hl=en&sl=pt&u=http://www.fug.com.br/historico/html/freebsd/2016-04/msg00058.html&prev=search
Original error observed: : service zabbix_proxy start /usr/local/etc/rc.d/zabbix_proxy: ERROR: USAGE: get_pidfile_from_conf string file (zabbix_proxy)
Affect zabbix3-proxy too.
Also affects zabbix22-server: if get_pidfile_from_conf PidFile ${zabbix_agentd_config}; then Which should be: if get_pidfile_from_conf PidFile ${zabbix_server_config}; then Same for zabbix22-proxy and zabbix24-proxy: if get_pidfile_from_conf PidFile ${zabbix_agentd_config}; then Oddly enough zabbix24-server is correct.
Created attachment 170246 [details] patch for zabbix3* - changed rc.d script - patch default PidFile
Created attachment 170247 [details] patch for zabbix24* - changed rc.d script - patch default PidFile
Created attachment 170427 [details] patch for zabbix22* patch for zabbix22* - changed rc.d script - patch default PidFile
Created attachment 170428 [details] patch for zabbix2-* patch for zabbix2-* - changed rc.d script - patch default PidFile
Created attachment 170430 [details] patch for zabbix3* patch for zabbix3* - changed rc.d script - patch default PidFile - fix checking version of OpenSSL
*** Bug 209632 has been marked as a duplicate of this bug. ***
This is a pretty serious breakage. All versions of zabbix are broken for all people. Can we accelerate having this committed?
Thanks for the patches. Maintainer, can you confirm that patched ports build and install fine?
Maintainer responded.
Hi, This patches from maintainer and have flag "maintainer-approval+". On my test system ports build and install fine.
The PR title suggests this is about the zabbix24-proxy it contains several patch files and its not clear what's what here. Can you please clarify what this PR is about, upload one single patch file to be tested and committed? Thanks!
This patch solves similar problems in all ports of zabbix (fix default path to PID and fix rc.d scripts). It may be correct to log new PR for zabbix{2,22,24,3} with these patches?
Yeah, I think PR per patch/port combination would be the proper way, unless this is something that has to be committed together. If you'll create those PR's I can take care of them.
Ok, PR: 209890, 209891, 209892, 209893 Please close this PR as dublicate as 209892
*** This bug has been marked as a duplicate of bug 209892 ***