| Summary: | net-analyzer/zabbix-2.0.5 (and 2.0.4-r1 too) init.d script for zabbix_proxy fails to set the correct conf file path | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Rodrigo Severo <rodrigo> |
| Component: | Current packages | Assignee: | Matthew Marlowe (RETIRED) <mattm> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
init conifguration patch
new zabbix-proxy init file files/2.0/init.d/ |
||
|
Description
Rodrigo Severo
2013-03-06 18:03:36 UTC
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. |