[ZBX-7257] Misleading error message if zabbix.conf.php exists but is unreadable Created: 2013 Oct 31  Updated: 2017 May 30  Resolved: 2013 Nov 04

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.1.9
Fix Version/s: 2.1.9

Type: Incident report Priority: Trivial
Reporter: Andris Mednis Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

GNU/Linux, Apache/2.4.6 (Debian) PHP/5.5.5-1



 Description   

If "zabbix.conf.php" file is inaccessible (i.e. wrong permissions or file ownership) the error message "Configuration file error: DB type is not set." is shown even if "zabbix.conf.php" content is correct.
To reproduce: stop webserver, make "zabbix.conf.php" visible but unreadable by webserver, start webserver.



 Comments   
Comment by Eduards Samersovs (Inactive) [ 2013 Nov 04 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-7257

Comment by Ivo Kurzemnieks [ 2013 Nov 04 ]

(1) Please see my changes in r39825

Eduards OK, thanks!

Comment by Ivo Kurzemnieks [ 2013 Nov 04 ]

TESTED.

If (1) is OK, you can merge.

Comment by Eduards Samersovs (Inactive) [ 2013 Nov 04 ]

Fixed in versions pre-2.1.9 (trunk) r.39826

Generated at Fri Apr 26 17:15:29 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.