[syslog-ng] unable to use tcp/udp forward.

Balazs Scheidler bazsi@balabit.hu
Tue, 15 Feb 2000 21:01:30 +0100


On Tue, Feb 15, 2000 at 03:28:47PM +0100, User Un wrote:
> 
> 
> 	Hello, 
> 
> 	I am evaluating syslog-ng as we want TCP ( reliable) syslog message,
> however, I am unable to comply due to strange "syntax error":
> 
> destination all
> {
> #	file( "/tmp/messages");			# ok
> #	tcp( ip( 172.16.32.35) port( 1999));	# nok
> #	udp( ip( 172.16.32.35) port( 514));	# nok
> 	udp( 172.16.32.35,514);			# nok
> #	usertty( un);				# ok
> #	program( "cat >/tmp/messges_cat");	# ok
> 
> };
> 
> all "nok" failed with error like:
> /net/ts/opt/syslog-ng-1.3.14/sbin/syslog-ng -f
> /net/ts/opt/syslog-ng-1.3.14/etc/syslog-ng.conf -d -v
> parse error at 33
> Parse error reading configuration file, exiting.

destination all { tcp("172.16.32.35" port(514)); };



> 
> I tryed with version 1.3.14 & 1.2.3.
> 
> Thanks for any help.
> 
> S.R.
> 
> _______________________________________________
> syslog-ng maillist  -  syslog-ng@lists.balabit.hu
> http://lists.balabit.hu/mailman/listinfo/syslog-ng

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
     url: http://www.balabit.hu/pgpkey.txt