Page 1 of 1

[b]DB Connect Error [nagiosxi]: Database connection failed

Posted: Thu Jun 30, 2011 1:30 pm
by perryell
I have a ticket open since yesterday for the error

(Error while connecting to database:
[localhost] Connection to the database server has failed by reason:
Too many connections

After repair the database we start going out of sync, and now Im getting

DB Connect Error [nagiosxi]: Database connection failed

Running Centus on default VM environment, 32 bits.
Please help ASAP

Re: [b]DB Connect Error [nagiosxi]: Database connection fail

Posted: Thu Jun 30, 2011 2:16 pm
by perryell
I reboot the server..problems fixed..i dont like this behavior!

Re: [b]DB Connect Error [nagiosxi]: Database connection fail

Posted: Thu Jun 30, 2011 3:21 pm
by mguthrie
My guess would be that the postgres service needed to be restarted. If you encounter that in the future, try:

Code: Select all

service postgresql restart