Wednesday, August 21, 2013

Zabbix: Unable to proceed past installation screen when using Oracle

I previously ran into an issue with Zabbix 2.0.5 where I could not finish the installation. The issue arose after completing all the steps of setting up Apache server and Zabbix server. Trying to finish installation by going to the Zabbix frontend seemed like it would work. However, after reaching the Database page and filling everything out correctly, pressing the Test Connection button would leave you with a blank page. With this problem, you could not finish installation.

Looking at Apache logs, you can see the issue:
[Mon Mar 04 14:47:57.923532 2013] [:error] [pid 20475:tid 140129251268352] [client 127.0.0.1:33287] PHP Fatal error: Call to undefined function zbx_dbstr() in /usr/local/apache2/htdocs/zabbix/include/db.inc.php on line 126, referer: http://localhost/setup.php 

It is clear that the team did not do any testing with Oracle. Luckily, the solution is simple. The purpose of the Database page (and the installation wizard in general) is to create a configuration file -- zabbix.conf.php. To finish installation, you can generate this file manually, and place it in the /zabbix/php/conf directory of your web server yourself. If you do not know what the file should look like, you should look at the sample that is distributed in the zabbix frontends folder -- zabbix.conf.php.example.

No comments:

Post a Comment