[syslog-ng]Solaris+match problem

Wendell Turner wt@mail.bytheedge.com
Fri, 27 Oct 2000 05:29:48 +0000 ( )


Sirs,

I have just discovered syslog-ng and it seems to be just what I
was looking for.  Thank you, Mr. Scheidler.

However, I'm having trouble running it on Solaris with a config
file with a 'match' in it.

On my Linux machine, it starts just fine:

   #uname -a
   Linux piedmont 2.2.16-3 #6 Sun Oct 22 19:47:27 PDT 2000 i686

   # ./syslog-ng --debug --verbose --cfgfile=lin.conf 
   binding fd 3, inetaddr: 0.0.0.0, port: 8514
   io.c: Preparing fd 3 for reading
   syslog-ng version 1.4.7 starting


However, that same config file does not run on my Solaris machine:

   > uname -a
   SunOS catalina 5.6 Generic_105181-15 sun4u sparc SUNW,Ultra-5_10

   > ../src/syslog-ng  --debug --verbose --cfgfile=lin.conf       
   Segmentation Fault (core dumped)

The config file is:

   source src { udp( ip("0.0.0.0") port (8514) ); internal(); };
   filter f_ftpd { match("ftp"); };
   destination cons  { file("out.log"); };
   log { source(src); destination(cons); };

If I comment out the match filter, syslog-ng on the Solaris machine
starts ok. 

Any suggestions or help?  Is there other information I could provide
to help track down the problem? 

Thank you,

Wendell Turner