AW: help
Michael Klöffer
mkloeffer at tycoint.com
Wed Jul 30 16:41:25 CEST 2003
Just try
chmod +rx htpasswd.users
Bye
Michael
-----Ursprüngliche Nachricht-----
Von: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von
rahatpuri.singh at sgcib.com
Gesendet: Mittwoch, 30. Juli 2003 15:58
An: Patrick Hasenjager
Cc: nagios-users at lists.sourceforge.net
Betreff: RE: [Nagios-users] help
Thanks , but how do i do it . i am following the installation PDF's and
nothing is mentioned . pls let me know how do i it .
i used the below mentioned command ie"chown apache htpasswd.users" and if
i do ls -l these are the permissions
-rw------- 1 apache root 26 Jul 30 19:02 htpasswd.users
and i am opening the web page as http://mymachine/nagios i get the
following error
Object not found!
The requested URL was not found on this server. The link on the
referring page seems to be wrong or outdated. Please inform the
author of that page about the error.
If you think this is a server error, please contact the webmaster
Error 404
Regards
R.Shailendra Singh
TEL:(080) 8095142
|---------+---------------------------->
| | "Patrick |
| | Hasenjager" |
| | <phasenjager at fzac|
| | pa.com> |
| | |
| | 07/30/03 07:02 PM|
| | |
|---------+---------------------------->
>---------------------------------------------------------------------------
-----------------------------------|
|
|
| To: Rahatpuri SINGH/ia/socgen at socgen
|
| cc: <nagios-users at lists.sourceforge.net>
|
| Subject: RE: [Nagios-users] help
|
>---------------------------------------------------------------------------
-----------------------------------|
I had the same problem. You need to set the group owner on your password
file to the group for apache. (In my case, I did a "chown apache
htpasswd.users"). Restart nagios and apache and your set.
Pat.
>>> <rahatpuri.singh at sgcib.com> 07/30/03 7:44:36 AM >>>
hi ,
thankyou for you response , i have checked all the cfg files and it
looks that all the entries are correct. but still i am not able to view
nagios graphics
ie ( http://hostname/nagios) the page opens and if i click any links
in the Monitoring panel , it asks for authentication ie i think you have
to give
user as nagiosadmin and password XXXXXX . but i get the following
error
Authentication required!
> > This server could not verify that you are authorized to
access
> the
> > URL "/nagios/sbin/status.cgi". You either supplied the wrong
> > credentials (e.g., bad password), or your browser doesn't
> understand
> > how to supply the credentials required.
> > In case you are allowed to request the document, please
check
> your
> > user-id and password and try again.
> > If you think this is a server error, please contact the
> webmaster
> > Error 401
Regards
R.Shailendra Singh
TEL:(080) 8095142
|---------+---------------------------->
| | "Ian Davidson" |
| | <idavidso at juniper|
| | .net> |
| | |
| | 07/30/03 05:58 PM|
| | |
|---------+---------------------------->
>
----------------------------------------------------------------------------
----------------------------------|
|
|
| To: Rahatpuri SINGH/ia/socgen at socgen
|
| cc:
|
| Subject: RE: [Nagios-users] help
|
>
----------------------------------------------------------------------------
----------------------------------|
This isn't a real-user on your system, just a username/passwd combination to
access the cgi scripts on the Nagios web-pages.
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of
> rahatpuri.singh at sgcib.com
> Sent: 30 July 2003 07:53
> To: Marc Powell
> Cc: nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] help
>
>
>
>
>
> In httpd logs ie access.log file the following are the
entries,
> the installaton doc says to create a nagiosadmin user and password
> using the following command
>
> htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin , do i
> have
> to create this user being on the root or su to nagios user
>
>
>
>
> - - [30/Jul/2003:12:09:50 +051800] "GET
> /nagios/sbin/status.cgi?hostgroup=all&style=grid HTTP/1.1" 404 117
>
> IPADDRESS - - [30/Jul/2003:12:15:24 +051800] "GET
> /nagios/sbin/status.cgi?host=all HTTP/1.1" 404 1196 "http://hostn.
> ame/side.html" "Mozilla/4.0 (compatible; MSIE
> 5.5; Windows NT 4.0)"
> - nagiosadmin [30/Jul/2003:12:17:01 +051800] "GET /nagios HTTP/1.1"
> 301 308 "-" "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)"
> - - [30/Jul/2003:12:17:01 +051800] "GET /nagios/ HTTP/1.1"
> 403 1055 "-" "Mozilla/4.0 (compatible; MSIE 5.5 ; Windows NT 4.0)
>
> Regards
> R.Shailendra Singh
> TEL:(080) 8095142
>
>
>
>
> |---------+---------------------------->
> | | "Marc Powell" |
> | | <mpowell at ena.com>|
> | | |
> | | 07/29/03 07:40 PM|
> | | |
> |---------+---------------------------->
>
> >-------------------------------------------------------------
> -------------------------------------------------|
> |
> |
> | To: Rahatpuri SINGH/ia/socgen at socgen
> |
> | cc:
> |
> | Subject: RE: [Nagios-users] help
> |
>
> >-------------------------------------------------------------
> -------------------------------------------------|
>
>
>
>
> The error you are receiving is a response from your web server
> indicating that the username and password you are supplying are
> incorrect. If you are absolutely certain that the username and
> password you are using match what is in
> /usr/local/nagios/etc/htpasswd.user then your web server may not be
> able to read the htpasswd.users file or it may be corrupt. Was that
> file generated with the htpasswd command? Your httpd error log might
> have some useful information. It could also be that your web server is
> not set up properly to process htaccess although I suspect that if you
> are being prompted for a username and password that it is. I would
> review any documentation for your web server that applies to
> configuring htaccess with it.
>
> --
> Marc
>
> > -----Original Message-----
> > From: rahatpuri.singh at sgcib.com [mailto:rahatpuri.singh at sgcib.com]
> > Sent: Tuesday, July 29, 2003 7:46 AM
> > To: Marc Powell
> >
> >
> > hi
> >
> >
> > the following entries are there in the
> /usr/local/nagios/sbin/.htaccess
> > and /usr/local/nagios/etc/.htaccess
> >
> > AuthName "Nagios Access"
> > AuthType Basic
> > AuthUserFile /usr/local/nagios/etc/htpasswd.users
> > require valid-user
> >
> >
> > Regards
> > R.Shailendra Singh
> > TEL:(080) 8095142
> >
> >
> >
> >
> > |---------+---------------------------->
> > | | "Marc Powell" |
> > | | <mpowell at ena.com>|
> > | | |
> > | | 07/29/03 05:46 PM|
> > | | |
> > |---------+---------------------------->
> >
> >-------------------------------------------------------------
> ----------
> > ---------------------------------------|
> > |
> > |
> > | To: Rahatpuri SINGH/ia/socgen at socgen, <nagios-
> > users at lists.sourceforge.net> |
> > | cc:
> > |
> > | Subject: Re: [Nagios-users] help
> > |
> >
> >-------------------------------------------------------------
> ----------
> > ---------------------------------------|
> >
> >
> >
> >
> > The .htaccess file in that directory and the htpasswd file it
> references.
> > Its not a nagios error.
> >
> >
> > --
> > Marc
> >
> > Sent from a very tiny wireless device with a very tiny
> unlit keyboard.
> >
> >
> > -----Original Message-----
> > From: rahatpuri.singh at sgcib.com <rahatpuri.singh at sgcib.com>
> > To: nagios-users at lists.sourceforge.net <nagios-
> > users at lists.sourceforge.net>
> > Sent: Tue Jul 29 07:10:25 2003
> > Subject: [Nagios-users] help
> >
> >
> >
> > hi ,
> >
> > when ever i am trying to login and try using
> monitoring utility
> i
> > get this error message , i am giving the right username and
> password
> > . i want to know in which config file
> > i have to editr
> >
> >
> >
> >
> >
> > Authentication required!
> > This server could not verify that you are authorized to
access
> the
> > URL "/nagios/sbin/status.cgi". You either supplied the wrong
> > credentials (e.g., bad password), or your browser doesn't
> understand
> > how to supply the credentials required.
> > In case you are allowed to request the document, please
check
> your
> > user-id and password and try again.
> > If you think this is a server error, please contact the
> webmaster
> > Error 401
> >
> >
> >
> > Regards
> > R.Shailendra Singh
> > TEL:(080) 8095142
> >
> >
> >
> >
> >
> >
> > *****************************************************************
> > The addressee's email address has changed to firstname.lastname@
> > sgcib.com. You may want to update your personal address
> book. Please
> > see http://www.sgcib.com for more information.
> >
> > This message and any attachments (the "message") are
> confidential and
> > intended solely for the addressee(s). Any unauthorised use or
> > dissemination is prohibited.E-mails are susceptible to alteration.
> > Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates
> > shall be liable for the message if altered, changed or falsified.
> > *****************************************************************
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email sponsored by: Free pre-built ASP.NET
> sites including
> > Data Reports, E-commerce, Portals, and Forums are available now.
> > Download today and enter to win an XBOX or Visual Studio .NET.
> > http://aspnet.click-
> > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> > _______________________________________________
> > 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
> >
> >
> >
> >
> >
> >
> > *****************************************************************
> > The addressee's email address has changed to firstname.lastname@
> > sgcib.com. You may want to update your personal address
> book. Please
> > see http://www.sgcib.com for more information.
> >
> > This message and any attachments (the "message") are
> confidential and
> > intended solely for the addressee(s). Any unauthorised use or
> > dissemination is prohibited.E-mails are susceptible to alteration.
> > Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates
> > shall be liable for the message if altered, changed or falsified.
> > *****************************************************************
>
>
>
>
>
>
>
>
> *****************************************************************
> The addressee's email address has changed to firstname.lastname@
> sgcib.com. You may want to update your personal address book. Please
> see http://www.sgcib.com for more information.
>
> This message and any attachments (the "message") are confidential and
> intended solely for the addressee(s). Any unauthorised use or
> dissemination is prohibited.E-mails are susceptible to alteration.
> Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates
> shall be liable for the message if altered, changed or falsified.
> *****************************************************************
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet
_072303_01/01
_______________________________________________
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
*****************************************************************
The addressee's email address has changed to firstname.lastname@ sgcib.com.
You may want to update your personal address book. Please see
http://www.sgcib.com for more information.
This message and any attachments (the "message") are confidential and
intended solely for the addressee(s). Any unauthorised use or dissemination
is prohibited.E-mails are susceptible to alteration. Neither SOCIETE
GENERALE nor any of its subsidiaries or affiliates shall be liable for the
message if altered, changed or falsified.
*****************************************************************
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data
Reports, E-commerce, Portals, and Forums are available now. Download today
and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
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
**************************************************************************
This e-mail and any attachments are intended only for the addressee. If you
are not the addressee you should not disseminate, distribute or copy this
e-mail or attachments. Please immediately notify the sender if you have
received this e-mail by mistake and delete it from your system. E-mail
transmission cannot be guaranteed secure or error-free as information could
be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
contain viruses. The sender does not accept liability for errors or
omissions in the contents of this message which arise or occur during
transmission. We will provide a "hard-copy" version of the message and
attachments upon request.
Although reasonable precautions are taken to assure this e-mail is virus
free, we do not accept responsibility for the loss or damage arising from
the use of this e-mail or attachments.
*****************************************************************
The addressee's email address has changed to firstname.lastname@ sgcib.com.
You may want to update your personal address book. Please see
http://www.sgcib.com for more information.
This message and any attachments (the "message") are confidential and
intended solely for the addressee(s). Any unauthorised use or dissemination
is prohibited.E-mails are susceptible to alteration. Neither SOCIETE
GENERALE nor any of its subsidiaries or affiliates shall be liable for the
message if altered, changed or falsified.
*****************************************************************
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data
Reports, E-commerce, Portals, and Forums are available now. Download today
and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
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
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
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