[syslog-ng]Solaris+match problem

Wendell Turner wt@mail.bytheedge.com
Fri, 27 Oct 2000 06:43:17 +0000 ( )


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.