> I'm pretty sure clamav user belonged to the amavis group. Tried your > command anyway, restarted amavis and clamav-daemon, still no dice. > > I even followed this tutorial, > http://www200.pair.com/mecham/spam/clamav-amavisd-new.html, where I made > amavis the user for all clamav activities but that didn't work either. > > I am at a loss. Also, FYI, this machine had been working properly for > almost two years, then I all of a sudden started receiving these errors. > > Either way, thanks for the advice. > > -Morgan
First, I would run freshclam. Then I would see in clamd is running, then I would stop it, see if it did stop, then restart it and see if it did restart. msa:~# ps aux | grep clamd clamav 1566 83.5 7.7 35532 30084 ? Rs 16:00 0:31 /usr/sbin/clamd root 2293 0.0 0.1 3052 628 pts/0 R+ 16:01 0:00 grep clamd msa:~# /etc/init.d/clamav-daemon stop Stopping ClamAV daemon: clamd. msa:~# ps aux | grep clamd root 2841 0.0 0.1 3048 628 pts/0 R+ 16:01 0:00 grep clamd msa:~# /etc/init.d/clamav-daemon start Starting ClamAV daemon: clamd Running as user clamav (UID 109, GID 111) . msa:~# ps aux | grep clamd clamav 2975 0.0 0.1 5536 732 ? Ss 16:01 0:00 /usr/sbin/clamd root 3059 0.0 0.1 3048 628 pts/0 R+ 16:01 0:00 grep clamd Wait a couple minutes, and see if the socket is created: srwxrwxrwx 1 clamav clamav 0 2007-11-20 16:05 clamd.ctl -rw-rw---- 1 clamav clamav 4 2007-11-20 16:05 clamd.pid -rw-rw---- 1 clamav clamav 4 2007-11-20 16:00 freshclam.pid What source did you install from (sarge volatile?). When I have problems in this type of setup, I --purge remove clamav, then reinstall it. For example (sarge volatile source): # apt-get --purge remove clamav clamav-base clamav-daemon clamav-freshclam libclamav2 # apt-get -t sarge install clamav clamav-daemon clamav-freshclam # gpasswd -a clamav amavis # /etc/init.d/clamav-daemon restart YMMV, use at your own risk (use apt-get -s --purge remove... to first simulate removal). Gary V _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/connect.html?ocid=TXT_TAGLM_Wave2_newways_112007 _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
