Help with Amavisd-new
Alexander Leidinger
Alexander at Leidinger.net
Tue May 9 18:37:44 UTC 2006
Quoting derrick at uniquestrength.net (Mon, 8 May 2006 11:03:34 -0400 (EDT)):
> May 9 02:33:08 mail amavis[15471]: (15471-01) (!!) ask_av (ClamAV-clamd)
> FAILED - unexpected result:
> /var/amavis/tmp/amavis-20060509T023307-15471/parts: lstat() failed. ERROR\n
>
> FreeBSD 6.1-RC i386 SMP-GENERIC
> amavisd-new-2.4.0,1 Performance-enhanced daemonized version of amavis-perl
> clamav-0.88.2 Command line virus scanner written entirely in C
>
>
>
> Hi, I continue to get this error message with amavisd-new. I made sure
> that permissions were good on the directories. Anything I am missing.
Are you sure?
I don't remember the error message (and the above doesn't look like you
should do the following, but not AFAIR I searched for the problem for a
while), but maybe the following helps.
chown -R clamav:vscan /var/run/clamav; chmod -R g+w /var/run/clamav;
If you use portupgrade I suggest to make sure
your /usr/local/etc/pkgtools.conf contains something similar to this:
---snip---
BEFOREDEINSTALL = {
'security/clamav' => '/usr/local/etc/rc.d/clamav-freshclam.sh stop; /usr/local/etc/rc.d/clamav-clamd.sh stop',
}
AFTERINSTALL = {
'security/clamav' => 'chown -R clamav:vscan /var/run/clamav; chmod -R g+w /var/run/clamav; /usr/local/etc/rc.d/clamav-freshclam.sh start; /usr/local/etc/rc.d/clamav-clamd.sh start',
}
---snip---
Bye,
Alexander.
--
Press every key to continue.
http://www.Leidinger.net Alexander @ Leidinger.net
GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7
WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/
More information about the freebsd-ports
mailing list