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

> On Mon, Oct 4, 2010 at 2:25 PM, Jerry <clamav.u...@seibercom.net>
> wrote:
> 
> > On Mon, 4 Oct 2010 13:12:28 +0300
> > Odhiambo Washington <odhia...@gmail.com> articulated:
> >
> > > 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.
> >
> > I am using FreeBSD 8.1/amd64 and have not experienced any problems.
> > Just for grins, and assuming you are usihng the FreeBSD ports
> > systemj to install Clamav, have you tried the following:
> >
> > 1) Empty the contents of "/usr/ports/distfiles"
> >
> > 2) Run: pkg_delete -dfv clamav*
> >
> > 3) Do: cd /usr/ports/security/clamav
> >
> > 4) Do: make config
> >
> > 5: Do: make install && make distclean
> >
> > Now, either manually start clamav, or reboot your system and make
> > sure it starts correctly (my suggestion)
> >
> > If it still fails to start, you might want to contact the port
> > maintainer: ga...@freebsd.org
> >
> >
> Oddly enough, after doing a  pkg_delete -dfv clamav\* (I'm in bash)
> and then doing 'portinstall -N clamav' (I already have the config I
> use so no need for make config), clamd has now started fine.
> 
> PS: Torok - supposed I had to proceed with debug, would the following
> yield the required data?
>        ulimit -c unlimited
>        gdb -args /usr/local/sbin/clamd
>        >run
>        >bt full
> 

Yes, you would run 'bt full' after clamd died (gdb will tell you when
that happens).
You'd have to set 'Foreground yes' in clamd.conf too.

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