nagios giving problem

Dean Pentcheff dean2 at biol.sc.edu
Mon Dec 19 19:56:31 CET 2005


Taking a stab at it, based on the first error message (no directory,
taking HOME=/), I think you may not have a "nagios" user on the new
system (or whatever username you chose for nagios).  That's the sort of
error I'd expect when there is no /etc/passwd entry for a user, since
that's where the users' HOME directory would normally be discovered by
the login procedure.

I wonder if the CGI errors similarly stem from something missing in the
user at the system level, so the CGI validation goes bad.

Hope that helps.

-Dean

On Mon, 2005-12-19 at 13:56 +0500, Askar Ali wrote:
> hi list
> 
> 
> i recently migrated the nagios from one machine to another. the previous 
> were running 2.0b2 and the new one is running 2.0b6.
> 
> i copied all the configuration files and custom plugins from the old to 
> new machine,
> 
> now i'm getting problem with nagios on the new machine.
> 
> 1) when i start nagios with "nagios start" srcipt it gives me an error....
> 
> /usr/local/nagios# /etc/rc.d/rc.nagios start
> Starting network monitor: nagios
> No directory, logging in with HOME=/
> 
> okay i thinks its working but i'm can access the web its gives me error..
> 
> 2)
> It appears as though you do not have permission to view information for 
> any of the hosts you requested...
> If you believe this is an error, check the HTTP server authentication 
> requirements for accessing this CGI
> and check the authorization options in your CGI configuration file.
> 
> 3) when i gives command /etc/rc.d/rc.nagios stop its sometime gives me ...
> 
> can't find /usr/local/nagios/var/nagios.lock ... and long screen to 
> nagios usages.
> 
> nagios -v nagios.cfg , gives no error or warning.
> 
> I can successfully logged in to web interface but can't able to view any 
> host info.
> 
> 
> any help in this regards will be greatly appreciated
> 
> 
> regards,
> 
> askar
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> 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
-- 
N. Dean Pentcheff
dean2 at biol.sc.edu



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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