I poked around a bit and found that libz was involved. I had zlab 1.2.3 and so I upgraded it to 1.2.5, recompiled and reinstalled clamav and then freshclam ran through fine.
Not sure why it use to work and then it broke. Thanks, Perry On Jun 6, 2010, at 11:14 AM, Török Edwin wrote: > On 06/06/2010 07:01 PM, Perry Smith wrote: >> I'm on Mac OS X 10.4.11 running 0.96.1. I upgraded to 0.96.1 on May 24 >> according to my records. Things were fine. >> >> My server died and I switched hardware twice. I did this by moving the >> hard disk to a new platform and fixing the few config problems. In the >> process, my DNS and NAT were screwed up briefly. That may be the start of >> the cause. I don't know. >> >> But now, when I run freshclam -v, it never stops. I let it go for 10 >> minutes or so and then kill it with ^C. The last time did it, I capture the >> output and put it here: >> >> http://pastie.org/993910 >> >> freshclam was set up to run as a daemon. I've disabled that for now. >> >> I'm sorta assuming I need to dump my database and start back over but I >> don't know how to do that. My /var/clamav directory looks like this: >> >> ls -l >> total 121944 >> drwxrwxr-x 5 root clamav 170 Jun 6 09:49 .foo >> drwx------ 7 clamav clamav 238 Jun 6 10:54 .spamassassin >> drwx------ 4 clamav clamav 136 Jul 6 2008 Library >> -rw-r--r-- 1 clamav clamav 5756928 Jun 6 10:46 daily.cld >> drwxr-xr-x 18 clamav clamav 612 Jul 15 2008 daily.inc >> -rw-r--r-- 1 clamav clamav 56671744 Feb 15 11:16 main.cld >> drwxr-xr-x 10 clamav clamav 340 Jul 15 2008 main.inc >> -rw------- 1 clamav clamav 1560 Jun 6 09:04 mirrors.dat >> drwxrwxr-x 2 clamav clamav 68 Jun 6 10:54 tmp >> > > what is .spamassasin doing inside /var/clamav? > Anyway, try deleting daily.*, main.*, and mirrors.dat > Then rerun freshclam, and let us know if it still runs at 100%. > > If it does, try this: > Find out pid of freshclam by running 'pidof freshclam', or 'ps -ef|grep > freshclam', or something similar. > Then do this: > # gdb /usr/bin/freshclam > (gdb) attach <thepid> > .... > Ctrl-C > (gdb) backtrace > > Where <thepid> is the pid you got earlier. > > Best regards, > --Edwin > _______________________________________________ > Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net > http://www.clamav.net/support/ml _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
