Urgent! Login problem

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sholdings
Posts: 21
Joined: Mon Jun 14, 2010 10:44 am

Urgent! Login problem

Post by sholdings »

Hi,

This morning we got login problem. When we try to login to Nagios XI, instead of login page we got error message
DB Connect Error [nagiosxi]: Database connection failed

what cause it and how can we fix it?

Thanks
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Urgent! Login problem

Post by mguthrie »

Typically we see this message when someone does a manual install on a 64bit OS. Is this on a fresh install or did it just start doing this recently? If it's on a fresh install then we need to make sure you have the most updated install script, because we just got those working on 64bit systems in the last two weeks. Also, we'd need to know what distro of Linux this is running on.

If it's not a fresh install then it's either mysql or postgresql, and they'll probably need to be restarted. Here are the commands for that and the output you should see.

Code: Select all

[root@localhost ~]# service mysqld restart
Stopping MySQL:                                            [  OK  ]
Starting MySQL:                                            [  OK  ]
[root@localhost ~]# service postgresql restart
Stopping postgresql service:                               [  OK  ]
Starting postgresql service:                               [  OK  ]
[root@localhost ~]#
sholdings
Posts: 21
Joined: Mon Jun 14, 2010 10:44 am

Re: Urgent! Login problem

Post by sholdings »

Thanks a lot. It is postgresql not running.

This is not a new installation. This Nagios Xi instance have been running since April, 2010.
We will investigate why postgresql service stop running and restart it later.

Will let post the result.
Locked