LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 10-14-2003, 05:18 PM   #1
misba672
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, 05:26 PM   #2
jharris
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
Code:
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
require valid-user
What does
Code:
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?

HTH

Jamie...
 
Old 10-14-2003, 07:13 PM   #3
misba672
LQ Newbie
 
Registered: Oct 2003
Posts: 2

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

thanks for your reply

MisbA
 
  


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 05:50 PM
Nagios problem I_AM Linux - General 1 10-03-2005 03:22 PM
Nagios problem denis Linux - Software 1 04-27-2005 11:23 AM
Nagios Problem sbrewer Linux - Software 1 12-19-2004 04:49 AM
Nagios Problem kopite2012 Linux - Newbie 9 04-02-2004 11:21 AM


All times are GMT -5. The time now is 09:29 AM.

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