Background Description:
1, the original installation Zabbix is in the lamp environment is able to operate normally; (Linux CentOS 7)
2, now want to replace MySQL with Oracle, through the installation of Oracle client remote access to another machine on the Oracle service, the customer e-end and Zabbix is the same machine, Sqlplus is able to run access;
3, the PHP page through the OCI can also be normal landing Http://127.0.0.1/zabbix;
4, zabbix_server.conf Configuration dbhost= database Ip,dbname= DB instance name, dbport=1521 ...
But backstage zabbix_server.log error "Z3001" Connection to database ' ORCL ' failed: [] Lost connection to MySQL server at ' reading I Nitial communication packet ', System error:0
5, install Zabbix when using the source code installation, into the decompression directory
./configure--with-mysql=/usr/bin/mysql_config--with-net-snmp--with-libcurl--enable-server--enable-agent-- Enable-proxy--prefix=/usr/local/zabbix
--with-oracle is not configured here
Questions:
1. How to resolve the connection database failure in the description 4 above?
2. How does zabbix_server access the database? OCI?
3. Use the 5 command again./configure--with-oracle--enable-server--prefix=/usr/local/zabbix Notice OCI library not found
./configure--with-oracle= $ORACLE _home/lib--enable-server--prefix=/usr/local/zabbix tips OCI library not found
Thank you!
Zabbix Storage Oracle