zabbix_proxy 2.05 (and 2.0.4-r1) init.d for zabbix_proxy fails top set the correct path to it's conf file. zabbix_agentd init.d script sets the path to the config file. Adding -- -c /etc/zabbix/zabbix_proxy.conf at the end of the start line in the init.d script solves this problem.
I'll look at this when making the next bump.
reproduced and same result also for me: actual result: gentoo-test zabbix # /etc/init.d/zabbix-proxy start * Caching service dependencies ... [ ok ] * Starting Zabbix proxy ... zabbix_proxy [16051]: cannot open config file [/etc/zabbix_proxy.conf]: [2] No such file or directory * start-stop-daemon: failed to start `/usr/sbin/zabbix_proxy' [ !! ] * ERROR: zabbix-proxy failed to start Expected Results: gentoo-test zabbix # /etc/init.d/zabbix-proxy start * Starting Zabbix proxy ... [ ok ]
Created attachment 346924 [details, diff] init conifguration patch
Created attachment 346926 [details] new zabbix-proxy init file files/2.0/init.d/
Fixed in zabbix-2.0.6-r2 which was just committed to cvs.
i have tested on 2.0.6-r3 and the -- -c /etc/zabbix/zabbix_proxy.conf is been added and zabbix-proxy from init.d now starts correctly however the ebegin description in the init.d is wrong please change: ebegin "Starting Zabbix agent" ebegin "Stopping Zabbix agent" with: ebegin "Starting Zabbix proxy" ebegin "Stopping Zabbix proxy"
Fixed.