Err: Password mismatch
-
devilsguest
- Posts: 76
- Joined: Wed Mar 20, 2013 7:15 pm
- Location: New York
Err: Password mismatch
[auth_basic:error] AH01617: user nagiosadmin: authentication failure for "/nagios": Password Mismatch can someone look into it please struggling since 3days on same issue....
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Err: Password mismatch
You might want to reset your password.
You will have to look at your nagios.conf apache file to verify the location of the file, then run the following replacing
/usr/local/nagios/etc/htpasswd.users if it is different
You will have to look at your nagios.conf apache file to verify the location of the file, then run the following replacing
/usr/local/nagios/etc/htpasswd.users if it is different
Code: Select all
htpasswd /usr/local/nagios/etc/htpasswd.users nagiosadmin-
devilsguest
- Posts: 76
- Joined: Wed Mar 20, 2013 7:15 pm
- Location: New York
Re: Err: Password mismatch
Here is my nagios.conf for apache it looks fine
Code: Select all
ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin/"
<Directory "/usr/local/nagios/sbin/">
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Web Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</Directory>
Alias /nagios "/usr/local/nagios/share/"
<Directory "/usr/local/nagios/share/">
Options None
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Web Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</Directory>
Re: Err: Password mismatch
What errors did you receive when you set a *blank* password as per your previous thread?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
devilsguest
- Posts: 76
- Joined: Wed Mar 20, 2013 7:15 pm
- Location: New York
Re: Err: Password mismatch
"Password mismatch"
-
devilsguest
- Posts: 76
- Joined: Wed Mar 20, 2013 7:15 pm
- Location: New York
Re: Err: Password mismatch
Code: Select all
AH01617: user nagiosadmin: authentication failure for "/nagios": Password MismatchRe: Err: Password mismatch
Hmmm. If you created a *blank* password, that error should not happen. Do you have *any* other .htaccess files, apache vhost configs, or htpasswd.users files?
Code: Select all
find / -name .htaccess
find / -name *.users
find /etc -name nagios.confFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
devilsguest
- Posts: 76
- Joined: Wed Mar 20, 2013 7:15 pm
- Location: New York
Re: Err: Password mismatch
.htaccess for sbin and share
Code: Select all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
require valid-user
Code: Select all
/usr/local/nagios/etc/htpasswd.users
/usr/local/sbin/htaccess.users
Code: Select all
# find /etc -name nagios.conf
/etc/httpd/conf.d/nagios.confRe: Err: Password mismatch
How many entries are in /usr/local/nagios/etc/htpasswd.users ? (you should have just one for nagiosadmin)
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
devilsguest
- Posts: 76
- Joined: Wed Mar 20, 2013 7:15 pm
- Location: New York
Re: Err: Password mismatch
nagiosadmin:$apr1$s1.[Commented out]
Message 2:
oohhh... Ok thanks I thought as it was encrypted we can use it....
Message 2:
oohhh... Ok thanks I thought as it was encrypted we can use it....
Last edited by slansing on Tue Mar 26, 2013 2:24 pm, edited 2 times in total.
Reason: posting password hashes is not a good idea, also, do not double post, please edit the previous post.
Reason: posting password hashes is not a good idea, also, do not double post, please edit the previous post.