[Nagios-users] Unable to log in to Nagios

2009-12-11 Thread Chris Blake
Greetings community,

I have recently installed Nagios by following this tutorial, to the
letter : http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html

However, when I log into http://localhost/nagios, and enter the user
nagiosadmin and the password I set, it just keeps bouncing back to the
login screen.

I have run through the setup instructions a number of times thinking I
may have missed something, but I covered everything again and I`m
still not able to log in.

When I try to access the forums (http://nagios.meulie.net/) I get a
page not found error.

I am running Centos 5.2 i386.

Can someone please point me in the right direction to help solve this,
or simply blurt out the answer for me if you know it :)

Thank you in advance for your prompt reply and your willingness to help.

-- 
Regards

Chris Blake
TAU SPACE
Operations Manager

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Unable to log in to Nagios

2009-12-11 Thread Martin Melin
From the quickstart:

5) Configure the Web Interface

[...]

Create a nagiosadmin account for logging into the Nagios web
interface. Remember the password you assign to this account - you'll
need it later.

htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin

[...]

Your htpasswd file probably either does not contain what you think it
does, or is not where it should be. Try re-creating it and using a
very simple password.

Regards,
Martin Melin

On Fri, Dec 11, 2009 at 11:04 AM, Chris Blake chris.bl...@tauspace.com wrote:

 Greetings community,

 I have recently installed Nagios by following this tutorial, to the
 letter : http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html

 However, when I log into http://localhost/nagios, and enter the user
 nagiosadmin and the password I set, it just keeps bouncing back to the
 login screen.

 I have run through the setup instructions a number of times thinking I
 may have missed something, but I covered everything again and I`m
 still not able to log in.

 When I try to access the forums (http://nagios.meulie.net/) I get a
 page not found error.

 I am running Centos 5.2 i386.

 Can someone please point me in the right direction to help solve this,
 or simply blurt out the answer for me if you know it :)

 Thank you in advance for your prompt reply and your willingness to help.

 --
 Regards

 Chris Blake
 TAU SPACE
 Operations Manager

 --
 Return on Information:
 Google Enterprise Search pays you back
 Get the facts.
 http://p.sf.net/sfu/google-dev2dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Unable to log in to Nagios

2009-12-11 Thread Chris Blake
n Fri, Dec 11, 2009 at 12:18 PM, Martin Melin mme...@gmail.com wrote:
 From the quickstart:

 5) Configure the Web Interface

 [...]

 Create a nagiosadmin account for logging into the Nagios web
 interface. Remember the password you assign to this account - you'll
 need it later.

 htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin

 [...]

 Your htpasswd file probably either does not contain what you think it
 does, or is not where it should be. Try re-creating it and using a
 very simple password.

 Regards,
 Martin Melin

Hi Martin, thank you for your reply.

I re-did those steps a number of times already, restarting Apache each time.

I used a simple password, 123, and this is the result of that command :

[r...@nagios ~]# cat /usr/local/nagios/etc/htpassword.users
nagiosadmin:as6UMfOBi.VLI

I am still getting bounced back to the login screen.

Is the problem perhaps occurring with Apache ?

-- 
Regards

Chris Blake
TAU SPACE
Operations Manager
Phone: 011 807 8300

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Unable to log in to Nagios

2009-12-11 Thread Chris Blake
On Fri, Dec 11, 2009 at 12:18 PM, Martin Melin mme...@gmail.com wrote:
 From the quickstart:

 5) Configure the Web Interface

 [...]

 Create a nagiosadmin account for logging into the Nagios web
 interface. Remember the password you assign to this account - you'll
 need it later.

 htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin

 [...]

 Your htpasswd file probably either does not contain what you think it
 does, or is not where it should be. Try re-creating it and using a
 very simple password.

 Regards,
 Martin Melin

Hi again,

I followed a bunch of instructions relating to configuring Apache
directives and setting things in nagios.conf, and I`m still not able
to log in.

I am really confused now, when I tail the logs for Apache I get this
when trying to log in :


[Fri Dec 11 13:20:09 2009] [error] [client 192.168.2.102] (2)No such
file or directory: Could not open password file:
/usr/local/nagios/etc/htpasswd.users
[Fri Dec 11 13:20:09 2009] [error] [client 192.168.2.102] access to
/nagios/ failed, reason: verification of user id 'nagiosadmin' not
configured

I have the following permissions set up :

[r...@zabbix etc]# pwd
/usr/local/nagios/etc
[r...@zabbix etc]# ls -l
total 88
-rw-rw-r-- 1 nagios nagios 11408 Dec 11 13:16 cgi.cfg
-rwxrwxrwx 1 nagios nagios26 Dec 11 12:52 htpassword.users
-rw-rw-r-- 1 nagios nagios 43776 Dec 11 10:36 nagios.cfg
drwxrwxr-x 2 nagios nagios  4096 Dec 11 10:36 objects
-rw-rw 1 nagios nagios  1340 Dec 11 10:36 resource.cfg
[r...@zabbix etc]#

Can someone please help me, I have gone through a few articles and I
am obviously missing something as to why I cannot log in

Thank you.

-- 
Regards

Chris Blake
TAU SPACE
Operations Manag

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Unable to log in to Nagios

2009-12-11 Thread Deborah Martin
Chris, 

The file name the error is referring to is htpasswd.users

[Fri Dec 11 13:20:09 2009] [error] [client 192.168.2.102] (2)No such file or
directory: Could not open password file:
/usr/local/nagios/etc/htpasswd.users

But your directory listing shows 

-rwxrwxrwx 1 nagios nagios26 Dec 11 12:52 htpassword.users

Rename the file to htpasswd.users and that may resolve it! 

Regards,
Deborah

-Original Message-
From: Chris Blake [mailto:chris.bl...@tauspace.com] 
Sent: 11 December 2009 11:57
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Unable to log in to Nagios

On Fri, Dec 11, 2009 at 12:18 PM, Martin Melin mme...@gmail.com wrote:
 From the quickstart:

 5) Configure the Web Interface

 [...]

 Create a nagiosadmin account for logging into the Nagios web
 interface. Remember the password you assign to this account - you'll
 need it later.

 htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin

 [...]

 Your htpasswd file probably either does not contain what you think it
 does, or is not where it should be. Try re-creating it and using a
 very simple password.

 Regards,
 Martin Melin

Hi again,

I followed a bunch of instructions relating to configuring Apache
directives and setting things in nagios.conf, and I`m still not able
to log in.

I am really confused now, when I tail the logs for Apache I get this
when trying to log in :


[Fri Dec 11 13:20:09 2009] [error] [client 192.168.2.102] (2)No such
file or directory: Could not open password file:
/usr/local/nagios/etc/htpasswd.users
[Fri Dec 11 13:20:09 2009] [error] [client 192.168.2.102] access to
/nagios/ failed, reason: verification of user id 'nagiosadmin' not
configured

I have the following permissions set up :

[r...@zabbix etc]# pwd
/usr/local/nagios/etc
[r...@zabbix etc]# ls -l
total 88
-rw-rw-r-- 1 nagios nagios 11408 Dec 11 13:16 cgi.cfg
-rwxrwxrwx 1 nagios nagios26 Dec 11 12:52 htpassword.users
-rw-rw-r-- 1 nagios nagios 43776 Dec 11 10:36 nagios.cfg
drwxrwxr-x 2 nagios nagios  4096 Dec 11 10:36 objects
-rw-rw 1 nagios nagios  1340 Dec 11 10:36 resource.cfg
[r...@zabbix etc]#

Can someone please help me, I have gone through a few articles and I
am obviously missing something as to why I cannot log in

Thank you.

-- 
Regards

Chris Blake
TAU SPACE
Operations Manag


--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


***
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 

Any unauthorised distribution or copying is strictly prohibited. 
Whilst Kognitio Limited takes steps to prevent the transmission of viruses via 
e-mail, we can not guarantee that any email or attachment is free from computer 
viruses and you are strongly advised to undertake your own anti-virus 
precautions. 

Kognitio grants no warranties regarding performance, use or quality of any 
e-mail or attachment and undertakes no liability for loss or damage, howsoever 
caused. 

Kognitio Limited, a company registered in England and Wales. Registered number 
0212 7833. Registered Office:  3a Waterside Park, Cookham Road, Bracknell, 
Berks, RG12 1RB. VAT number 864 4378 92.

Kognitio Inc, a company incorporated in Delaware, principal office 180 North 
Stetson, Suite 3500, Chicago, IL 60601, USA
***--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Unable to log in to Nagios

2009-12-11 Thread Chris Blake
On Fri, Dec 11, 2009 at 2:12 PM, Deborah Martin
deborah.mar...@kognitio.com wrote:
 Chris,

 The file name the error is referring to is htpasswd.users

 [Fri Dec 11 13:20:09 2009] [error] [client 192.168.2.102] (2)No such file or
 directory: Could not open password file:
 /usr/local/nagios/etc/htpasswd.users

 But your directory listing shows

 -rwxrwxrwx 1 nagios nagios    26 Dec 11 12:52 htpassword.users

 Rename the file to htpasswd.users and that may resolve it!

 Regards,
 Deborah


Thank you Deborah, I am quite embarrassed about this
oversight...lol...it was pointed out by Martin as well.

Thank you both, I am now able to access Nagios

-- 
Regards

Chris Blake
TAU SPACE
Operations Manager

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Unable to log in to Nagios

2009-12-11 Thread Chris Blake
On Fri, Dec 11, 2009 at 2:08 PM, Martin Melin mme...@gmail.com wrote:
 The line:

 htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin

 should be exactly that. htpasswd is not a typo of htpassword ;)

 As you can see from your ls output, your htpasswd.users file is
 actually called htpasswORd.users - if you rename the file, you should
 be good to go.

 Regards,
 Martin Melin

Oh my hat !!

All this and I was overlooking a spelling mistake :(

Arghhh 

Thank you for pointing out the error of my ways, much appreciated.

I am now able to access Nagios.

-- 
Regards

Chris Blake
TAU SPACE
Operations Manager

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Unable to log in to Nagios

2009-12-11 Thread Christian Schneemann
On Friday 11 December 2009 12:56:53 Chris Blake wrote:
 On Fri, Dec 11, 2009 at 12:18 PM, Martin Melin mme...@gmail.com wrote:
 [Fri Dec 11 13:20:09 2009] [error] [client 192.168.2.102] (2)No such
 file or directory: Could not open password file:
 /usr/local/nagios/etc/htpasswd.users
 [Fri Dec 11 13:20:09 2009] [error] [client 192.168.2.102] access to
 /nagios/ failed, reason: verification of user id 'nagiosadmin' not
 configured
 
 I have the following permissions set up :
 
 [r...@zabbix etc]# pwd
 /usr/local/nagios/etc
 [r...@zabbix etc]# ls -l
 total 88
 -rw-rw-r-- 1 nagios nagios 11408 Dec 11 13:16 cgi.cfg
 -rwxrwxrwx 1 nagios nagios26 Dec 11 12:52 htpassword.users
 -rw-rw-r-- 1 nagios nagios 43776 Dec 11 10:36 nagios.cfg
 drwxrwxr-x 2 nagios nagios  4096 Dec 11 10:36 objects
 -rw-rw 1 nagios nagios  1340 Dec 11 10:36 resource.cfg
 [r...@zabbix etc]#
 
 Can someone please help me, I have gone through a few articles and I
 am obviously missing something as to why I cannot log in

Hi, 
your webserver looks for /usr/local/nagios/etc/htpasswd.users, but your file 
is named htpassword.users. Just rename your htpassword.users to htpasswd.users 
and everything should be fine.

Greetings,
 Christian

 
 Thank you.
 

-- 
Christian SchneemannGeschaeftsfuehrer: Ralph Dehner
Technical Tester  Writer   Unternehmenssitz:  Vohburg
B1 Systems GmbH Amtsgericht:   Ingolstadt
Handelsregister:   HRB 3537
EMail: schneem...@b1-systems.de http://www.b1-systems.de

Adresse: B1 Systems GmbH, Osterfeldstraße 7, 85088 Vohburg
GPG: http://pgpkeys.pca.dfn.de/pks/lookup?op=getsearch=0x2FA8643A41BDAB81

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null