Unable to login to NagiosQL on 'localhost'

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dhobbs
Posts: 7
Joined: Sun Jan 24, 2010 7:11 pm

Unable to login to NagiosQL on 'localhost'

Post by dhobbs »

I'm getting the following error when doing a full install on a fresh linux install.

ERROR: Unable to login to NagiosQL on 'localhost' - exiting. If you have a proxy configured, this may be the cause of the problem.

when I check the install.log file I see the following:

ERROR: Unable to login to NagiosQL on 'localhost' - exiting. If you have a proxy configured, this may be the cause of the problem.

I'm able ot login to nagiosql manually from the command line so I don't understand what the issue is.

anyone???
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Unable to login to NagiosQL on 'localhost'

Post by agriffin »

Are you sure you were using the correct username & password? It is a separate password from logging in to Nagios XI and browsers will sometimes try to autofill the wrong one if you saved your password previously.
dhobbs
Posts: 7
Joined: Sun Jan 24, 2010 7:11 pm

Re: Unable to login to NagiosQL on 'localhost'

Post by dhobbs »

I haven't gotten as far yet as logging in through the brower. The full install script fails at task E-importnagiosql
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Unable to login to NagiosQL on 'localhost'

Post by mguthrie »

Did you run the install scripts from the /tmp/nagiosxi directory, or from the /root directory? You need to run them from /tmp or there will be permissions issues part way through the install scripts.
dhobbs
Posts: 7
Joined: Sun Jan 24, 2010 7:11 pm

Re: Unable to login to NagiosQL on 'localhost'

Post by dhobbs »

I ran them from the /tmp/nagiosxi directory
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Unable to login to NagiosQL on 'localhost'

Post by mguthrie »

What version of nagiosxi are you attempting the install on? We did have a bug in the E-nagiosql script that we found where apache was failing to restart correctly so the script was failing. It is fixed as of version 1.5.
Locked