I have developed an application using Codeigniter and PostgreSQL as the database.
Codeigniter application resides on IP 192.168.X.34
=> Application server
PostgreSQL server resides on IP 192.168.X.35
=> Database server
I frequently get below error in the production environment but in my local-pc I don't get any errors as such. Both production and local-pc are running ubuntu.
How can I fix this?
OpenSSL 1.0.1e 11 Feb 2013
PostgreSQL version 9.1/main
There are no errors shown in the log file.
Restart the Apache at application server. Possible reason might be that Apache is using mixed connection to the database as in my case this was happening when I switched my databse server.