Fusion - DB Connect Error
Posted: Thu Jul 04, 2013 12:12 am
Hi,
Day 1:
I have installed Nagios Fusion (2012R1.5) on Linux 2.6.32-358.el6.x86_64 x86_64, clean install. I was able to launch the Fusion website post installation at URL http://xx.xx.xx.xx/nagiosfusion.
Day 2:
I tried to log into the site at same address http://xx.xx.xx.xx/nagiosfusion, but I got an error as:
DB Connect Error [nagiosfusion]: Database connection failed
I have checked few posts on Nagios Fusion forums, the recommendations were to restart the services - postgresql, httpd, mysqld, this didn't help at all!!
There was one more post regarding restarting the
setenforce 0
service httpd restart
Luckily this time it worked! I was able to log into the website.
Day 3:
Again we landed into same problem DB Connect Error [nagiosfusion]: Database connection failed
I restarted the services again setenforce 0, service httpd restart. It is working fine again!
Now the issue here is the same setup is going to be replicated in production, we are in a phase of testing the features of Fusion and I am afraid if the same things repeat everyday. Do we have permanent fix for this problem?
For you reference I am attaching the error_log file.
Awaiting your reply!
Thank you
Day 1:
I have installed Nagios Fusion (2012R1.5) on Linux 2.6.32-358.el6.x86_64 x86_64, clean install. I was able to launch the Fusion website post installation at URL http://xx.xx.xx.xx/nagiosfusion.
Day 2:
I tried to log into the site at same address http://xx.xx.xx.xx/nagiosfusion, but I got an error as:
DB Connect Error [nagiosfusion]: Database connection failed
I have checked few posts on Nagios Fusion forums, the recommendations were to restart the services - postgresql, httpd, mysqld, this didn't help at all!!
There was one more post regarding restarting the
setenforce 0
service httpd restart
Luckily this time it worked! I was able to log into the website.
Day 3:
Again we landed into same problem DB Connect Error [nagiosfusion]: Database connection failed
I restarted the services again setenforce 0, service httpd restart. It is working fine again!
Now the issue here is the same setup is going to be replicated in production, we are in a phase of testing the features of Fusion and I am afraid if the same things repeat everyday. Do we have permanent fix for this problem?
For you reference I am attaching the error_log file.
Awaiting your reply!
Thank you