________________________________
 From: Joel Salas <joel.sa...@mgo.com>
To: Khaja Aziz <khaja_aziz_ud...@yahoo.com>; 
"icinga-users@lists.sourceforge.net" <icinga-users@lists.sourceforge.net> 
Sent: Saturday, March 2, 2013 3:52 AM
Subject: Re: [icinga-users] .CONFIG ERROR! Start aborted icinga
 

Khaja,

It looks like you have a syntax error in your icinga.cfg file. This is hinted 
by this line in the error output:

 : Unexpected token or statement in file 
'/usr/local/icinga/etc/conf.d/icinga.cfg' on line 18.

Please provide that configuration file so we can tell you where that is.

vim /usr/local/icinga/etc/icinga.cfg
 

# ICINGA.CFG - Sample Main Config File for Icinga
#
# Read the documentation for more information on this configuration
# file.  I've provided some comments here, but things may not be so
# clear without further explanation.
#
##############################################################################


# LOG FILE
# This is the main log file where service and host events are logged
# for historical purposes.  This should be the first option specified
# in the config file!!!

log_file=/usr/local/icinga/var/icinga.log ( this is only line number 18)

# OBJECT CONFIGURATION FILE(S)
# These are the object configuration files in which you define hosts,
# host groups, contacts, contact groups, services, etc.
# Hint: Check the docs/wiki on how to monitor remote hosts with different
# transport methods and plugins

# You can tell Icinga to process all config files (with a .cfg
# extension) in a particular directory recursively by using the
# cfg_dir directive as shown below with conf.d

cfg_dir=/usr/local/icinga/etc/conf.d



Thanks,
Joel
From:  Khaja Aziz <khaja_aziz_ud...@yahoo.com>
Reply-To:  Khaja Aziz <khaja_aziz_ud...@yahoo.com>, 
"icinga-users@lists.sourceforge.net" <icinga-users@lists.sourceforge.net>
Date:  Friday, March 1, 2013 1:57 PM
To:  "icinga-users@lists.sourceforge.net" <icinga-users@lists.sourceforge.net>
Subject:  [icinga-users] .CONFIG ERROR! Start aborted icinga


Hello Team,


 we are facing this issue .can u help us on this issue...

  root@107:/usr/local/icinga/etc# service icinga start  
  Running configuration check...CONFIG ERROR! Start aborted. See 
/usr/local/icinga/var/icinga.chk for details.

 Processing object config directory '/usr/local/icinga/etc/conf.d'...
 Processing object config file '/usr/local/icinga/etc/conf.d/icinga.cfg'...
 : Unexpected token or statement in file 
'/usr/local/icinga/etc/conf.d/icinga.cfg' on line 18.
   Error processing object config files!


***> 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 definitions.  If you are upgrading from a previous
     version of Icinga, you should be aware that some variables/definitions
     may have been removed or modified in this version.  Make sure to read
     the HTML documentation regarding the config files, as well as the
     'Whats New' section and the Changelog CHANGES section as well to find
     out what has changed.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to