Red Hat Bugzilla – Bug 493234
Install Wizard doesn't start
Last modified: 2009-06-15 21:51:37 EDT
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Install zabbix-server zabbix-web
2.Open zabbix URL
Only get a Error page Installation Wizard doesn't start
It should open installation wizard at first access.
Configuration File /etc/zabbix/zabbix.conf.php shouldn't exist so the installation wizard can be started.
Delete the file and you get the Installation Wizard.
Hm, they changed the logic when to show the setup/installation wizard. Previously it was started when the frontend couldn't connect to the database and now the config file must not exist.
Jeff, I have few things that could be done in the package:
- no need to move db.inc.php to /etc/zabbix, it is not changed during the setup in 1.6 (and probably in 1.4 too)
- create a dir /etc/zabbix/web with apache:apache ownership
- patch frontend/include/config.php.inc to define ZBX_CONFIGURATION_FILE as /etc/zabbix/web/zabbix.conf.php
- mark /etc/zabbix/web/zabbix.conf.php as %ghost + %config in the %files section
FWIW, that plan sounds good to me.
...but if zabbix.conf.php is moved, please remember to take care of existing setups on upgrades by copying/moving files around.
Also, what modes did you think of for the /etc/zabbix/web dir and the file(s) in it? zabbix.conf.php shouldn't be world readable due to db passwords in it.
One alternative would be to leave the config file as /etc/zabbix/zabbix.conf.php and change perms to e.g. 0640 root:apache. That'd need some scriptlet actions for upgrades too though, see bug 494434.
zabbix-1.6.4-3.fc10 has been submitted as an update for Fedora 10.
zabbix-1.6.4-3.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update zabbix'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-5141
zabbix-1.6.4-3.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.