Message : A database connection error has been detected

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

Message : A database connection error has been detected

Post by Frédéric GRANAT »

Hi,
This morning, NagiosXI is unreachable and it displays : Message : A database connection error has been detected, we are attempting to repair the server ...etc
Usually, when I've got that error, it comes from a lack of space but it seems to be not the case that time :

Code: Select all

[root@nagiosxi scripts]# df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      29329476  21097392   6718484  76% /
/dev/sda1               101086     31686     64181  34% /boot
tmpfs                  1553548         0   1553548   0% /dev/shm
I restarted the services : no effect
I restarted the server : no effect
I ran repair_databases.sh : no effect

Please help me.

Frederic
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Message : A database connection error has been detected

Post by rkennedy »

Can you PM over a profile for us to look at? (Admin -> System Profile -> Download Profile)
Former Nagios Employee
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

Re: Message : A database connection error has been detected

Post by Frédéric GRANAT »

Hi,
Sorry I'm not quite sure to understand but NagiosXI is unreachable : so I cannot access Admin part

Rgds,
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Message : A database connection error has been detected

Post by ssax »

Please try running this command:

Code: Select all

service postgresql restart
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Message : A database connection error has been detected

Post by Box293 »

This KB article should help resolve the issue:

https://support.nagios.com/kb/article.php?id=25
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

Re: Message : A database connection error has been detected

Post by Frédéric GRANAT »

Please try running this command:

Code: Select all
service postgresql restart

=> No effect
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

Re: Message : A database connection error has been detected

Post by Frédéric GRANAT »

This KB article should help resolve the issue:

https://support.nagios.com/kb/article.php?id=25
=> I tried the possibles solutions except vaccuum postgre (the error message is linked to mysql) and no effect
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

Re: Message : A database connection error has been detected

Post by Frédéric GRANAT »

Hi,
Three days already that nagiosxi doesn't work.
The support seems to be available only from approximately 5PM every day (french hour).
In these conditions, I can ask a question per day and have an answer per day.
You will agree that it won't be easy to quickly solve my problem.
Is it possible to plan a chat session at 4-5 PM tomorrow ?

Frederic
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Message : A database connection error has been detected

Post by tmcdonald »

I agree, and normally we would not go beyond our office hours but in this case I will personally make an exception and stay late to help you out. Please send in an email ticket with a link to this thread, and "Attn: Trevor" in the subject. I will take the ticket and provide you with details on how to get a remote session set up with myself.
Former Nagios employee
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Message : A database connection error has been detected

Post by tmcdonald »

I have received your ticket, and we will continue there. I will be locking this thread now.
Former Nagios employee
Locked