LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-07-2010, 09:12 AM   #1
tiemen3r
LQ Newbie
 
Registered: Jun 2010
Location: Amsterdam
Distribution: CentOS, Debian
Posts: 15

Rep: Reputation: 1
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!
 
Old 06-18-2010, 04:51 AM   #2
tiemen3r
LQ Newbie
 
Registered: Jun 2010
Location: Amsterdam
Distribution: CentOS, Debian
Posts: 15

Original Poster
Rep: Reputation: 1
I've abandoned amavis-stats and I'm now a satisfied user of mailgraph.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot start amavis after patch update i_nomad Linux - Software 7 01-15-2012 12:31 PM
Webalizer stats are not updating the html file helpmhost Linux - Server 4 05-29-2009 02:06 PM
amavis-stats issue - not running. cviniciusm Linux - Server 8 05-03-2009 01:42 PM
Problem with amavis-stats Koven Linux - Software 1 02-23-2005 11:20 AM
Get directory stats when a file has been modified? marri Programming 2 05-13-2004 08:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration