Because I ran into this issue <Compilation of server fails for 2.4.3 with Oracle support with zabbix 2.4.3 I tried 2.4.4rc1, as was suggested in the article.
Linux OL6.5
Oracle 12.1.0.2
1) for oracle and db2 the schema.sql is not generated
2) the webinterface does not get me past setup.php
3) almost forgot to mention: in oracle nvarchar2 length limit is 2000 characters, not 2048.
The webinterface has an issue with case sensitivity in DB[TYPE] ORACLE. If using Oracle it shows the db config screen, If using ORACLE it just complains about not being able to connect. Looks like some inconsistency.
I can not find logs, access_log and error_log don't have any error messages related to the database connection.
zabbix_server is running without problems.
Also installed the images.
With the config in /var/www/html/zabbix/conf/zabbix.conf.php I can choose between the following error message:
<?php
// Zabbix GUI configuration file.
global $DB;
$DB["TYPE"] = 'ORACLE';
$DB["SERVER"] = 'localhost';
$DB["PORT"] = '1521';
$DB["DATABASE"] = 'orcl';
$DB["USER"] = 'zabbix';
$DB["PASSWORD"] = 'zabbix';
// Schema name. Used for IBM DB2 and PostgreSQL.
$DB["SCHEMA"] = 'zabbix';
$ZBX_SERVER = 'localhost';
$ZBX_SERVER_PORT = '10051';
$ZBX_SERVER_NAME = '';
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
?>
I get:
Zabbix 2.4.4rc1
Database error
Error connecting to database:
and with
<?php
// Zabbix GUI configuration file.
global $DB;
$DB["TYPE"] = 'Oracle';
$DB["SERVER"] = 'localhost';
$DB["PORT"] = '1521';
$DB["DATABASE"] = 'orcl';
$DB["USER"] = 'zabbix';
$DB["PASSWORD"] = 'zabbix';
// Schema name. Used for IBM DB2 and PostgreSQL.
$DB["SCHEMA"] = 'zabbix';
$ZBX_SERVER = 'localhost';
$ZBX_SERVER_PORT = '10051';
$ZBX_SERVER_NAME = '';
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
?>
I get:
Zabbix 2.4.4rc1
Configuration file error
DB type has wrong value. Possible values MYSQL, POSTGRESQL, ORACLE, IBM_DB2, SQLITE3
It's a pity that I can not find a more descriptive error message.
Linux OL6.5
Oracle 12.1.0.2
1) for oracle and db2 the schema.sql is not generated
2) the webinterface does not get me past setup.php
3) almost forgot to mention: in oracle nvarchar2 length limit is 2000 characters, not 2048.
The webinterface has an issue with case sensitivity in DB[TYPE] ORACLE. If using Oracle it shows the db config screen, If using ORACLE it just complains about not being able to connect. Looks like some inconsistency.
I can not find logs, access_log and error_log don't have any error messages related to the database connection.
zabbix_server is running without problems.
Also installed the images.
With the config in /var/www/html/zabbix/conf/zabbix.conf.php I can choose between the following error message:
<?php
// Zabbix GUI configuration file.
global $DB;
$DB["TYPE"] = 'ORACLE';
$DB["SERVER"] = 'localhost';
$DB["PORT"] = '1521';
$DB["DATABASE"] = 'orcl';
$DB["USER"] = 'zabbix';
$DB["PASSWORD"] = 'zabbix';
// Schema name. Used for IBM DB2 and PostgreSQL.
$DB["SCHEMA"] = 'zabbix';
$ZBX_SERVER = 'localhost';
$ZBX_SERVER_PORT = '10051';
$ZBX_SERVER_NAME = '';
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
?>
I get:
Zabbix 2.4.4rc1
Database error
Error connecting to database:
and with
<?php
// Zabbix GUI configuration file.
global $DB;
$DB["TYPE"] = 'Oracle';
$DB["SERVER"] = 'localhost';
$DB["PORT"] = '1521';
$DB["DATABASE"] = 'orcl';
$DB["USER"] = 'zabbix';
$DB["PASSWORD"] = 'zabbix';
// Schema name. Used for IBM DB2 and PostgreSQL.
$DB["SCHEMA"] = 'zabbix';
$ZBX_SERVER = 'localhost';
$ZBX_SERVER_PORT = '10051';
$ZBX_SERVER_NAME = '';
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
?>
I get:
Zabbix 2.4.4rc1
Configuration file error
DB type has wrong value. Possible values MYSQL, POSTGRESQL, ORACLE, IBM_DB2, SQLITE3
It's a pity that I can not find a more descriptive error message.
Comment