Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-14-2003, 06:18 PM   #1
LQ Newbie
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
login problem nagios

Hi all, I'm new to Linux myself and my first project is Nagios. I'm running Redhat 8 with Apache. I have verified all of my configuration files and even created authorization files for my users, but for some reason when I go to the webpage localhost/nagios/ I can't log in. It gives me the log in box and when I put user id and password in it just pops the box back up. I think that possibly Apache is not able to read my htpasswd.users file, but I've gone through the instructions back and forth and have started over 3 times with out any success. I guess I could just run it with out the web interface, but I'm a Windows guy and am not comfortable with that yet. Any ideas?

Sorry to throw this into your post shelby. but I would recommend just as others have, run the verify script it points out every little mistake you have. Thx for any replies.
Old 10-14-2003, 06:26 PM   #2
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Welcome to LinuxQuestions!

Nagios is one hell of a nasty place to start your time with Linux! Anyway...

It sounds to me too like Apache can't read your htpasswd files. I'm assuming that your nagios is living in the default location of /usr/local/nagios if this isn't the case then adjust these paths as necessary...

What do you have in /usr/local/nagios/sbin/.htaccess? I would expect it to looks something like
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
require valid-user
What does
ls -l /usr/local/nagios/etc/htpasswd.users
return? It should be chmod'ed to 644 and not owned by either root or the nagios user. How did you add your users to the htpasswd file?


Old 10-14-2003, 08:13 PM   #3
LQ Newbie
Registered: Oct 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks you very much , now it works !

thanks for your reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nagios web login error..... dwarf007 Linux - Software 33 01-27-2009 06:50 PM
Nagios problem I_AM Linux - General 1 10-03-2005 04:22 PM
Nagios problem denis Linux - Software 1 04-27-2005 12:23 PM
Nagios Problem sbrewer Linux - Software 1 12-19-2004 05:49 AM
Nagios Problem kopite2012 Linux - Newbie 9 04-02-2004 12:21 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration