From: Pascal M. <p.m...@ha...> - 2002-11-29 13:19:36
|
Well, It seems clear that your file "/usr/local/nagios/etc/checkcommands.cfg" has something BAD on line 29. I would suggest to have a look at this file. 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 According to your configuration, you may have another PATH to nagios software. HTH Regards. Le ven 29/11/2002 =C3=A0 13:33, Markus Linke a =C3=A9crit : Hi, =20 I am trying a new installation of nagios and I have some trouble starti= ng nagios. =20 I cannot start it, because I always get this error message: =20 [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 o= ption to verify your config before restarting. (PID=3D1592) [11-29-2002 13:10:57] Nagios 1.0 starting... (PID=3D1592) [11-29-2002 13:10:57] Error: Unexpected token or statement in file '/us= r/local/nagios/etc/checkcommands.cfg' on line 29. [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 o= ption to verify your config before restarting. (PID=3D1515) [11-29-2002 13:05:17] Nagios 1.0 starting... (PID=3D1515) [11-29-2002 13:05:17] Error: Unexpected token or statement in file '/us= r/local/nagios/etc/checkcommands.cfg' on line 29. =20 this happens with whatever command I define there. It always happens in= the first "command[xyz]"-line. Attached you find that checkcommand-file. I= t comes from the latest plugins, but the error also occurs with the release= -plugins. Nagios is version 1.0 =20 Any ideas? =20 THANKS Markus =20 =20 |