[syslog-ng]Parse error on line 1

Nate Campi nate@campin.net
Thu, 5 Dec 2002 21:12:12 -0800


--azLHFNyN32YCQGCU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Dec 05, 2002 at 07:18:01PM -0500, Wes Hall wrote:
> It has to be something very simple,  anyone have an idea why I'm receivin=
g=20
> this error?
>=20
> Thanks
> wes
> ------------------
> [root@EARTH syslog-ng]# /usr/local/sbin/syslog-ng -v
> parse error at 1
> Parse error reading configuration file, exiting.
> [root@EARTH syslog-ng]#
>=20
> -------------------
> syslog-ng.conf:
>=20
> [root@EARTH syslog-ng]# cat syslog-ng.conf
> options { sync(0); };
>=20
> source src {
>         udp();
>         internal(); };
>=20
> destination misc{file("/var/log/misc");};
> log{source(src); destination (misc);};
> [root@EARTH syslog-ng]#

Works for me:

  [root@slim:root]# syslog-ng -v -d -f /tmp/syslog-ng.test
  binding fd 3, inetaddr: 0.0.0.0, port: 514
  io.c: Preparing fd 3 for reading
  syslog-ng version 1.5.15 starting
 =20
  [root@slim:root]# cat !$
  cat /tmp/syslog-ng.test
  options { sync(0); };
 =20
  source src {
          udp();
          internal(); };
 =20
  destination misc{file("/var/log/misc");};
  log{source(src); destination (misc);};

You sure it's using this config file?
--=20
Nate Campi   http://www.campin.net=20

"I rigged my cellular to send a message to my PDA, which is online with
my PC, to get it to activate the voicemail, which sends the message to
the inbox of my email, which routes it to the PDA, which beams it back
to the cellular. Then I realized my gadgets have a better social life
than I do." !"    - Tom Ostad.=20


--azLHFNyN32YCQGCU
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE98DGrWpDEZMF673kRAm+4AJ4libWcBCcFVBWDa9PWsbI/rBhFNQCfURRc
ISjoz4pwilcfkOdR09HvFUA=
=VbxR
-----END PGP SIGNATURE-----

--azLHFNyN32YCQGCU--