Page 1 of 1

No longer able to login to Nagios Core web interface

Posted: Mon Jun 25, 2018 8:54 am
by mtripodi
Hi

I've had Nagios Core 3.5.1 running for a while and been able to login to the web interface with my user credentials. Others on my team have also been able to login using their domain credentials. However, as of last week once we hit the webpage, it popup prompts for our credentials to sign in then just flashes and go back to emply login prompt when clicking Sign In button.

When I click Cancel button I get the following message in the browser page:

Unauthorized
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

Apache/2.4.7 (Ubuntu) Server at nagios.kobo.corp Port 443

I may have recently changed file/owner permissions on the following directory: /etc/nagios3 hosting the htpasswd.users file.
I even ran the following command to change the password but still no luck logging in: htpasswd -c /etc/nagios3/htpasswd.users <username>

Any help would be appreciated.

Re: No longer able to login to Nagios Core web interface

Posted: Mon Jun 25, 2018 11:12 am
by mcapra
Can you attempt to login a few times with valid credentials, then share the Apache error and access logs from the machine hosting your Nagios Core instance?

It might also be useful to see the Nagios Core related configurations Apache currently has loaded.

Re: No longer able to login to Nagios Core web interface

Posted: Mon Jun 25, 2018 12:23 pm
by scottwilkerson
I agree, can you send the apache configs
Also, I would list them to see the last modified time before you do anything, not sure what system you are on but something like this

Code: Select all

ls -al /ett/httpd/conf.d