No longer able to login to Nagios Core web interface

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
mtripodi
Posts: 61
Joined: Thu Dec 17, 2015 11:15 am

No longer able to login to Nagios Core web interface

Post 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.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

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

Post 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.
Former Nagios employee
https://www.mcapra.com/
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked