Startup fails - Nagios -2.0b3

Albert Whale aewhale at ABS-CompTech.com
Sat Jul 23 22:30:39 CEST 2005


For the completeness of this thread, the problem is that the permissions 
on the /etc/nagios directory and all of the files within it were not 
owned by the nagios user.  Issuing the command

chown -R nagios.nagios /etc/nagios

Corrected the startup issues.

Can we get the nagios -v command to test this condition?  Obviously root 
has the capability to read the files, but the -d command fails without 
mentioning why.

Albert Whale wrote:

> This is fresh installation from rpms (no help from the Mandriva 
> Experts list) on Mandriva 10.2, with Nagios 2.0b3.  This is my second 
> attempt for installation (the first attempt was on Mandrake 10.1).  
> Anyway, neither installation (from rpm or source compilation) appears 
> to run.
>
> The review of the configuration file indicates there are no problems:
>
> nagios -v /etc/nagios/nagios.cfg
>
> Nagios 2.0b3
> Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org)
> Last Modified: 04-03-2005
> License: GPL
>
> Reading configuration data...
>
> Running pre-flight check on configuration data...
>
> Checking services...
>        Checked 19 services.
> Checking hosts...
>        Checked 2 hosts.
> Checking host groups...
>        Checked 1 host groups.
> Checking service groups...
>        Checked 0 service groups.
> Checking contacts...
>        Checked 2 contacts.
> Checking contact groups...
>        Checked 2 contact groups.
> Checking service escalations...
>        Checked 2 service escalations.
> Checking service dependencies...
>        Checked 0 service dependencies.
> Checking host escalations...
>        Checked 0 host escalations.
> Checking host dependencies...
>        Checked 0 host dependencies.
> Checking commands...
>        Checked 29 commands.
> Checking time periods...
>        Checked 4 time periods.
> Checking extended host info definitions...
>        Checked 0 extended host info definitions.
> Checking extended service info definitions...
>        Checked 0 extended service info definitions.
> Checking for circular paths between hosts...
> Checking for circular host and service dependencies...
> Checking global event handlers...
> Checking obsessive compulsive processor commands...
> Checking misc settings...
>
> Total Warnings: 0
> Total Errors:   0
>
> Things look okay - No serious problems were detected during the
> pre-flight check
>
> However when I launch the daemon here is what I get in the logfile:
>
> nagios -d /etc/nagios/nagios.cfg
>
> Jul 21 08:38:33 sz7 nagios: Nagios 2.0b3 starting... (PID=27491)
> Jul 21 08:38:33 sz7 nagios: LOG VERSION: 2.0
> Jul 21 08:38:33 sz7 nagios: Bailing out due to one or more errors
> encountered in the configuration files.  Run Nagios from the command
> line with the -v option to verify your config before restarting. 
> (PID=27491)
>
> Any suggestions where to turn next?
>
>
>


-- 
Albert E. Whale, CHS CISA CISSP
Sr. Security, Network, Risk Assessment and Systems Consultant
-------------------------------------------------------------------
ABS Computer Technology, Inc. - www.ABS-CompTech.com
SPAM Zapper - No-JunkMail.com - Spam-Zapper.com - SPAM Stops Here.
President of the Pittsburgh InfraGard Alliance



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&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