On Fri, 2004-02-20 at 08:21, Jaap Scholten wrote:
> Hi
> 
> I am running clamav 0.67-1 (up from 0.65) on RedHat 8.0.  I still get
> "segmentation error :-( Bye", seemingly randomly, and clamd stops dead.
> Sometimes up for days before this happens, sometimes after an hour.  Never
> on-the-hour when freshclam updates, always about 15 to 30 minutes after the
> hour.
> 
> I have no idea where to look anymore, been tweaking clamav.conf with some
> improvement over the months, but nothing definitive.
> 
> Anyone who has solved this?
> 


I'm also running on RedHat 8.0 and I'm not seeing these problems. I'm
using a rebuild of the Fedora RPMS as found from the binary download
section on the ClamAV site.

Check that your clamd binary is dynamically linked to the right
libraries. Type 'ldd /usr/sbin/clamd' in a shell, and check that it's
linked against the correct library versions (i.e. not towards and older
libclamav.so from a previous install for instance). On my machine this
states:

ldd /usr/sbin/clamd 
        libclamav.so.1 => /usr/lib/libclamav.so.1 (0x40027000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40048000)
        libbz2.so.1 => /usr/lib/libbz2.so.1 (0x40056000)
        libgmp.so.3 => /usr/lib/libgmp.so.3 (0x40065000)
        libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40091000)
        libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


If everythings OK, try downloading the SRPM, and do a 
   rpmbuild --rebuild clamav-xxxx.srpm

Install the resulting RPM's and see if that goes any better.

If not, try running clamd in a gdb session so you can produce a
backtrace. To do this, type 'bt' without the quotes in gdb and post the
resulting stacktrace here.

Cheers,
--
Tarjei



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to