[ZBX-5058] Proxy needs zabbix_proxy.conf twice (in /etc/zabbix & in /usr/local/etc) Created: 2012 May 24 Updated: 2017 May 30 Resolved: 2012 Jun 13 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Installation (I) |
Affects Version/s: | 2.0.0 |
Fix Version/s: | 2.0.1rc1, 2.1.0 |
Type: | Incident report | Priority: | Blocker |
Reporter: | rrr | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | configuration, initscripts | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() |
||||||||
Issue Links: |
|
Description |
Zabbix Proxy needs the configuration file zabbix_proxy.conf in two directories (/etc/zabbix and /usr/local/etc), otherwise it would not start! Error-Messages: Even with explicit using compilation variable "--sysconfdir=/etc/zabbix" it wouldnt work... |
Comments |
Comment by Alexander Vladishev [ 2012 May 24 ] |
What parameters you use in a 'configure' script? Could you please attach output of this command: What platform you use? |
Comment by rrr [ 2012 May 24 ] |
Strace is attached now. |
Comment by Andris Mednis [ 2012 May 25 ] |
The attached file 'strace.txt' shows only one (and successful) opening of configuration file: Could you please try |
Comment by rrr [ 2012 May 29 ] |
I found the reason of the error-message: "zabbix_proxyconfiguration file /etc/zabbix/zabbix_proxy.conf does not exists". - it was the init-script. Changing CONFIG_FILE="/etc/zabbix/zabbix_server.conf" to CONFIG_FILE="/usr/local/etc/zabbix_server.conf" resolves the issue. |
Comment by Oleksii Zagorskyi [ 2012 May 29 ] |
Comment by rrr [ 2012 May 29 ] |
I know the the changed default locations of configuration files in the new release already. But did YOU read my last comment? |
Comment by Andris Mednis [ 2012 May 30 ] |
Thanks for your comments! Init-scripts are being fixed with new default paths. |
Comment by Andris Mednis [ 2012 Jun 05 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-5058 |
Comment by dimir [ 2012 Jun 11 ] |
Successfully tested. Please review my changes for Debian init scripts in r28193. <Andris> Reviewed. Thanks for improving! |
Comment by Andris Mednis [ 2012 Jun 11 ] |
Fixed in versions pre-2.0.1 rev. 28196 and pre-2.1.0 rev. 28198. |