[ZBX-9134] Zabbix proxy crashes on rhel 7 Created: 2014 Dec 11 Updated: 2017 May 30 Resolved: 2014 Dec 11 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Installation (I), Proxy (P) |
Affects Version/s: | 2.4.2 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Critical |
Reporter: | patrik uytterhoeven | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
centos7 rhel7 |
Issue Links: |
|
Description |
/usr/lib/systemd/system/zabbix-proxy.service is looking for the file /etc/zabbix/zabbix-proxy.conf while the correct file is zabbix_proxy.conf as result the proxy crashes when starting |
Comments |
Comment by Aleksandrs Saveljevs [ 2014 Dec 11 ] |
Could you please describe how does the crashing manifest? For me, if I specify a non-existing configuration file, proxy simply quits with the following error message: $ sbin/zabbix_proxy -c /asdf/asdf zabbix_proxy [11185]: cannot open config file [/asdf/asdf]: [2] No such file or directory Also, how did you obtain Zabbix proxy? Did you get it from repo.zabbix.com? If so, is it a packaging issue or real issue with proxy code? |
Comment by patrik uytterhoeven [ 2014 Dec 11 ] |
The zabbix-proxy was obtained from the zabbix repo 2.4 for rhel 7 Dec 11 11:27:13 zabbix-proxy systemd: [/usr/lib/systemd/system/zabbix-proxy.service:7] Invalid environment assignment, ignoring: "$CONFFILE=/etc/zabbix/zabbix-proxy.conf" changing the Environment alone was not working i fixed it quick and dirty by changing ExecStart line |
Comment by Aleksandrs Saveljevs [ 2014 Dec 11 ] |
So it seems to be a packaging issue. Kodai, could you please take a look? |
Comment by Anton Samets [ 2014 Dec 11 ] |
|
Comment by richlv [ 2014 Dec 11 ] |
thanks, indeed seems to be a duplicate of |