<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/1.0.2">
</HEAD>
<BODY>
Well,
<BR>

<BR>
It seems clear that your file "<FONT COLOR="#737373"><FONT SIZE="3"><I>/usr/local/nagios/etc/checkcommands.cfg</FONT></FONT></I>" has something BAD on line 29.
<BR>
I would suggest to have a look at this file.
<BR>
And as it is your first installation, to solve all problems according to nagios configuration, you may try the command line /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
<BR>
According to your configuration, you may have another PATH to nagios software.
<BR>

<BR>
HTH
<BR>
Regards.
<BR>

<BR>

<BR>
Le ven 29/11/2002 à 13:33, Markus Linke a écrit :
    <BLOCKQUOTE>
<PRE><FONT COLOR="#737373"><FONT SIZE="3"><I>Hi,</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>I am trying a new installation of nagios and I have some trouble starting nagios.</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>I cannot start it, because I always get this error message:</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>[11-29-2002 13:10:57] 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=1592)</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>[11-29-2002 13:10:57] Nagios 1.0 starting... (PID=1592)</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>[11-29-2002 13:10:57] Error: Unexpected token or statement in file '/usr/local/nagios/etc/checkcommands.cfg' on line 29.</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>[11-29-2002 13:05:17] 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=1515)</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>[11-29-2002 13:05:17] Nagios 1.0 starting... (PID=1515)</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>[11-29-2002 13:05:17] Error: Unexpected token or statement in file '/usr/local/nagios/etc/checkcommands.cfg' on line 29.</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>this happens with whatever command I define there. It always happens in the first "command[xyz]"-line. Attached you find that checkcommand-file. It comes from the latest plugins, but the error also occurs with the release-plugins. Nagios is version 1.0</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Any ideas?</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>THANKS</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Markus</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
</PRE>
    </BLOCKQUOTE>
</BODY>
</HTML>