Hello,
I have problem with configuration of Frontend 2.4 with PostgreSQL 9.4, could somebody direct me the right way to troubleshoot it? Thanks in advance!
Environment:
* CentOS 6.6 (Final)
* Zabbix 2.4 installed by yum according to this: https://www.zabbix.com/documentation..._from_packages
* PostgreSQL 9.4 installed by youm according to this: https://wiki.postgresql.org/wiki/YUM_Installation
Database created as instructed, Zabbix server up and running, connected to database, as I see in zabbix_server.log. But I am unable to successfully test the connection when setting up frontend. "Configure DB connection" is the same as in zabbix_server.conf:
* Database type: PostgreSQL
* Database host: tried empty field, localhost and server IP address
* Database port: tried 0 (default) and 5432
* Database name: zabbix_db
* Database schema: tried empty field and public
* User: zabbix_user
* Password: the same as in zabbix_server.conf
But still having Fail (Error connecting to database.) with no further description. I don't now how to troubleshoot it further, please help. I have a hypothesis that php-pgsql 5.3.3-40.el6_6 is not compatible with new PosgtreSQL 9.4, but I am not well with PHP and by googling I did not succeed to confirm or refute this hypothesis.
Please, could somebody give me an advice where (in which log file) can I find more detailed error message to find exact cause of the failure?
Thanks in advance.
Jano
I have problem with configuration of Frontend 2.4 with PostgreSQL 9.4, could somebody direct me the right way to troubleshoot it? Thanks in advance!
Environment:
* CentOS 6.6 (Final)
* Zabbix 2.4 installed by yum according to this: https://www.zabbix.com/documentation..._from_packages
* PostgreSQL 9.4 installed by youm according to this: https://wiki.postgresql.org/wiki/YUM_Installation
Database created as instructed, Zabbix server up and running, connected to database, as I see in zabbix_server.log. But I am unable to successfully test the connection when setting up frontend. "Configure DB connection" is the same as in zabbix_server.conf:
* Database type: PostgreSQL
* Database host: tried empty field, localhost and server IP address
* Database port: tried 0 (default) and 5432
* Database name: zabbix_db
* Database schema: tried empty field and public
* User: zabbix_user
* Password: the same as in zabbix_server.conf
But still having Fail (Error connecting to database.) with no further description. I don't now how to troubleshoot it further, please help. I have a hypothesis that php-pgsql 5.3.3-40.el6_6 is not compatible with new PosgtreSQL 9.4, but I am not well with PHP and by googling I did not succeed to confirm or refute this hypothesis.
Please, could somebody give me an advice where (in which log file) can I find more detailed error message to find exact cause of the failure?
Thanks in advance.
Jano
Comment