LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   amavis-stats segfaults when trying to update a file (https://www.linuxquestions.org/questions/linux-software-2/amavis-stats-segfaults-when-trying-to-update-a-file-812661/)

tiemen3r 06-07-2010 09:12 AM

amavis-stats segfaults when trying to update a file
 
Hi,

I'm running into problems setting up amavis-stats: it's segfaulting when it's updating (or rather trying to update) a file.

Code:

Jun  7 15:59:01 mailproxy.blabla Amavis-Stats[27103]: updateRRD: 1 -> /usr/local/var/lib/amavis-stats/1.rrd
Jun  7 15:59:01 mailproxy.blabla Amavis-Stats[27103]: DEBUG : Update: /usr/local/var/lib/amavis-stats/1.rrd at 1275185100 count 1
Segmentation fault

Permissions are correct and I'm not a programmer, so I'm at a loss here.
Amavis-Stats version is 0.1.22, rrdtool is 1.4.3 and output of perl -V:

Code:

Summary of my perl5 (revision 5 version 12 subversion 1) configuration:

  Platform:
    osname=linux, osvers=2.6.18-164.15.1.el5, archname=x86_64-linux
    uname='linux mailproxy.glomobi.local 2.6.18-164.15.1.el5 #1 smp wed mar 17 11:30:06 edt 2010 x86_64 x86_64 x86_64 gnulinux '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.1.2 20080704 (Red Hat 4.1.2-46)', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.5.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.5'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl):
  Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_64_BIT_ALL
                        USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO
                        USE_PERL_ATOF
  Built under linux
  Compiled at Jun  4 2010 16:28:52
  @INC:
    /usr/local/lib/perl5/site_perl/5.12.1/x86_64-linux
    /usr/local/lib/perl5/site_perl/5.12.1
    /usr/local/lib/perl5/5.12.1/x86_64-linux
    /usr/local/lib/perl5/5.12.1
    .

Any help would be greatly appreciated!

tiemen3r 06-18-2010 04:51 AM

I've abandoned amavis-stats and I'm now a satisfied user of mailgraph.


All times are GMT -5. The time now is 12:12 AM.