When Zabbix is installed it install 2 files in /usr/lcoal/etc/rc.d : zabbix-agent.sh.sample and zabbix.sh.sample I renamed the files minus the ".sample" as I do with all the software and it doesn't work when I reboot the server. How-To-Repeat: Rename the filenames in /usr/local/etc/rc.d without the ".sample" and reboot the machine.
State Changed From-To: open->feedback What you've discovered is indeed the current way of enabling zabbix! I'll forward your request to the maintainer, though, because rc_subr now offers a more uniform way of enabling services.
Responsible Changed From-To: freebsd-ports-bugs->vs I'll see this through.
Oy! I'm stupid and misread your report since it didn't fit into my web-browser completely :) You have to also set zabbix_suckerd_enable and zabbix_agentd_enable="YES" in /etc/rc.conf. Does this solve your problem? Volker
Nop. Neither changing the filename from /usr/local/etc/rc.d/zabbix.sh.sample to /usr/local/etc/rc.d/zabbix.sh When booting it says: .: Can't open %LOCALBASE%/etc/rc.subr: No such file or directory []'s On 4/23/05, Volker Stolz <vs@freebsd.org> wrote: > Oy! I'm stupid and misread your report since it didn't fit into my > web-browser completely :) > You have to also set zabbix_suckerd_enable and zabbix_agentd_enable=3D"YE= S" > in /etc/rc.conf. > Does this solve your problem? >=20 > Volker >
Am 26. Apr 2005 um 11:46 CEST schrieb Guilherme Oliveira: > Nop. > Neither changing the filename from > /usr/local/etc/rc.d/zabbix.sh.sample to /usr/local/etc/rc.d/zabbix.sh > > When booting it says: > .: Can't open %LOCALBASE%/etc/rc.subr: No such file or directory Okay, I'm cc:ing the maintainer. Something doesn't seem to be working with the substitutions in there. He probably should be using USE_RC_SUBR=zabbix-foo.sh zabbix-bar.sh instead of the home-grown way anyway :) Volker -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME It's a million to one chance, but it just might work.
State Changed From-To: feedback->open Feedback timeout, I'll see if I can bring this more into line with the expected RC_SUBR-stuff soon.
In the interests of closing this PR, does the attached (untested) patch help? Regards, Robin
State Changed From-To: open->closed Okay I fixed the startup scripts to be real rcng scripts.
Hi ! I've cvsup'ed and with this latest version it says: # /usr/local/etc/rc.d/zabbix_suckerd start /usr/local/etc/rc.d/zabbix_suckerd: WARNING: $zabbix_suckerd_enable is not set properly - see rc.conf(5). #