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
Urgent! Login problem
Re: Urgent! Login problem
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.
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 ~]#
Re: Urgent! Login problem
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.
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.