On Thu, 2007-03-08 at 10:47 +0100, "Sebastian Gäde" wrote:
> Hi!
> 
> I installed Fedora Core 4 including amavisd-new 2.4.2 and ClamAV
> 0.88.7. Everything worked fine, mails sent via postfix were checked by
> ClamAV.
> Since the ClamAV version is outdated, I updated to a newer version
> 0.90.1 (rpms from http://crash.fce.vutbr.cz/crash-hat/4/clamav/) and
> now I have the problem, that the script clamd.amavisd which starts the
> clamd for amavis doesn't run:
> <snip>
> /etc/init.d/clamd.amavisd: line 7: /usr/share/clamav/clamd-wrapper:
> Datei oder Verzeichnis nicht gefunden [file or directory not found]
> </snip>
> So the clamd doesn't start and mails are not checked:
> <snip>
> Mar  8 10:00:06 mailgate amavis[2032]: (02032-04) (!) ClamAV-clamd:
> Can't connect to UNIX socket /var/spool/amavisd/clamd.sock: Datei oder
> Verzeichnis nicht gefunden, retrying (2)
> [...]
> Mar  8 10:00:12 mailgate amavis[2032]: (02032-04) (!!) WARN: all
> primary virus scanners failed, considering backups
> </snip>
> Does anyone know how to fix the startup script and to reconnect
> amavisd and ClamAV?

You need to edit the new /etc/clamd.conf file.  More than likely one of
two things happened:
1.  clamd.conf was properly noted as a configuration file, and there is
a clamd.conf.rpmnew file in the directory with new default settings that
you need to merge with your old clamd.conf file (note that all options
now are binary rather than just an option name, so
"allowsupplementarygroups yes" instead of just
"allowsupplementarygroups".  With the illegal syntax, clamd just won't
run, and the socket won't be created.

2.  clamd.conf was either not noted as a configuration file, or was left
as default, and the new clamd.conf file provided by the RPM puts the
clamd.sock file in a different location.

In either case, cleaning up clamd.conf and restarting clamd will fix
your problem.



> 
> Thanks
> Sebastian 
-- 
Daniel J McDonald, CCIE # 2495, CISSP # 78281, CNX
Austin Energy
http://www.austinenergy.com
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to