Unable to log in to Nagios
Chris Blake
chris.blake at tauspace.com
Fri Dec 11 12:56:53 CET 2009
On Fri, Dec 11, 2009 at 12:18 PM, Martin Melin <mmelin at 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 :
[root at zabbix etc]# pwd
/usr/local/nagios/etc
[root at zabbix etc]# ls -l
total 88
-rw-rw-r-- 1 nagios nagios 11408 Dec 11 13:16 cgi.cfg
-rwxrwxrwx 1 nagios nagios 26 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
[root at 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 at 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
More information about the Users
mailing list