Error: Unexpected token or statement in file

Support requests, bug reports, questions etc.
warriornew
starter
starter
Posts: 2
Joined: Tue Jul 10, 2012 08:49

Error: Unexpected token or statement in file

Post by warriornew » Tue Jul 10, 2012 08:57

Error: Unexpected token or statement in file '/data/www/nconf/static_cfg/nagios.cfg' on line 19.
nagios-3.4.1.tar.gz
nagios-plugins-1.4.16.tar.gz
nconf-1.3.0-0.tgz
what ?


# 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!!!
### this 19 line#####
log_file=/data/www/nagios/var/nagios.log
# OBJECT CONFIGURATION FILE(S)
# These are the object configuration files in which you define hosts,
Attachments
nagios.txt
(43.34 KiB) Downloaded 367 times

User avatar
fgander
NConf developer
NConf developer
Posts: 308
Joined: Mon Mar 16, 2009 14:23
Location: Bern, Switzerland
Contact:

Re: Error: Unexpected token or statement in file

Post by fgander » Tue Jul 10, 2012 22:34

This is a Nagios specific error/problem/issue you have, not NConf
F.G. - NConf developer
http://www.nconf.org
Image
Follow NConf on Twitter!

warriornew
starter
starter
Posts: 2
Joined: Tue Jul 10, 2012 08:49

Re: Error: Unexpected token or statement in file

Post by warriornew » Wed Jul 11, 2012 05:30

fgander wrote:This is a Nagios specific error/problem/issue you have, not NConf
This is the generation Nconf configuration files, Nconf quote out of mistakes, nagios operating normally, log also generate OK

Locked