On Mon, 4 Oct 2010 13:12:28 +0300
Odhiambo Washington <odhia...@gmail.com> wrote:

> I have FreeBSD 8.1-STABLE. I have just updated from 0.96.2 to 0.96.3
> and now clamd won't start, giving segfault.
> 
> ct  4 11:06:11 mail kernel: pid 45864 (clamd), uid 26: exited on
> signal 11 Oct  4 11:06:22 mail kernel: pid 45917 (clamd), uid 26:
> exited on signal 11 Oct  4 11:06:30 mail kernel: pid 45957 (clamd),
> uid 26: exited on signal 11 Oct  4 11:06:38 mail kernel: pid 45991
> (clamd), uid 26: exited on signal 11
> 
> I need to find out what is causing this.
> 

See here for instructions, you can attach gdb to clamd, then get a
stacktrace: http://www.clamav.net/lang/en/bugs/

For coredumps it is important that:
 - ulimit -c is set to unlimited
 - clamd has write permissions to the directory it wants to dump the
   core to. By default it changes to /, obviously it won't have
   permissions to write there, so using gdb is easier.
   On Linux you could tell the kernel to use alternative directory for
   coredumps, not sure if you can do that on FreeBSD.

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to