nagios does not start

Elias Probst elias.probst at gmx.de
Tue Jul 18 14:15:43 CEST 2006


Make sure, that there are no whitespaces in front of a '#'.
Please read what Nagios tells you to do. Have a look at line 3 of hosts.cfg!!

> hey
>
>     I'm trying to install nagios-1.4.1 and nagios-plugins-1.4.3 on Fedora
> 3. Well, to make things easy i followed the steps (to install) as on :
> http://www.onlamp.com/pub/a/onlamp/2002/09/05/nagios.html and (part 2) : 
> http://www.onlamp.com/pub/a/onlamp/2002/09/26/nagios.html I have made
> changes to the configuration files as explained in part 2. But, when i try
> to fire up nagios, i get the following error:
>
>
>   [root at thames etc]# service nagios restart
> Running configuration check...
> Nagios 1.4.1
> Copyright (c) 1999-2006 Ethan Galstad (nagios at nagios.org)
> Last Modified: 05-15-2006
> License: GPL
>
> Reading configuration data...
>
> Error: Invalid host object directive '#'.
>
> Error: Could not add object property in file
> '/usr/local/nagios/etc/hosts.cfg' on line 3.
>
>
> ***> One or more problems was encountered while processing the config
> files...
>
>      Check your configuration file(s) to ensure that they contain valid
>      directives and data defintions.  If you are upgrading from a previous
>      version of Nagios, you should be aware that some variables/definitions
>      may have been removed or modified in this version.  Make sure to read
>      the HTML documentation on the main and host config files, as well as
> the 'Whats New' section to find out what has changed.
>
> failed - aborting restart.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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