[syslog-ng]Solaris+match problem

Hamilton, Andrew Mr. HamiltonA@hq.5sigcmd.army.mil
Fri, 27 Oct 2000 09:21:54 +0200


You're right not much help.  I run it on Solaris 5.7 and don't have any
problems let me do some testing...I will see if I can come up with something
if someone else doesn't help you in the meantime...

> -----Original Message-----
> From:	Wendell Turner [SMTP:wt@mail.bytheedge.com]
> Sent:	Friday, October 27, 2000 8:43 AM
> To:	'syslog-ng@lists.balabit.hu'
> Subject:	RE: [syslog-ng]Solaris+match problem
> 
> 
> Here it is, but it doesn't seem to help a lot.
> 
> open("/export/home/wt/adsi/utils/umon/lin.conf", O_RDONLY) = 3
> brk(0x00039E98)                         = 0
> brk(0x0003DE98)                         = 0
> ioctl(3, TCGETA, 0xEFFFEB6C)                    Err#25 ENOTTY
> fstat64(3, 0xEFFFE578)                  = 0
> brk(0x0003DE98)                         = 0
> brk(0x0003FE98)                         = 0
> ioctl(3, TCGETA, 0xEFFFE504)                    Err#25 ENOTTY
> read(3, "\n s o u r c e   s r c  ".., 8192)     = 182
> read(3, 0x0003C7A4, 8192)               = 0
>     Incurred fault #6, FLTBOUNDS  %pc = 0xEF5FB868
>       siginfo: SIGSEGV SEGV_MAPERR addr=0x0F046850
>     Received signal #11, SIGSEGV [caught]
>       siginfo: SIGSEGV SEGV_MAPERR addr=0x0F046850
> sigprocmask(SIG_SETMASK, 0xEF567CE8, 0x00000000) = 0
> sigaction(SIGSEGV, 0xEFFFDE70, 0x00000000)      = 0
> setcontext(0xEFFFE030)
>     Incurred fault #6, FLTBOUNDS  %pc = 0xEF5FB868
>       siginfo: SIGSEGV SEGV_MAPERR addr=0x0F046850
>     Received signal #11, SIGSEGV [default]
>       siginfo: SIGSEGV SEGV_MAPERR addr=0x0F046850
>         *** process killed ***
> 
> 
> > Can you do a truss and post the output?  That may help.
> > 
> > > 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. 
> 
> 
> _______________________________________________
> syslog-ng maillist  -  syslog-ng@lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng