|
I used Bill Randle's RPMs on neocat.org to upgrade from version 0.80
yesterday (thank you for updating those Bill). One thing I noticed after I upgraded was when I
went to start the clamav-milter service I received the following error:
LibClamAV Error: cli_cvdload(): Can't create temporary directory /root/tmp/clamav-8b79cb23fe7b57de LibClamAV Error: Malformed database file /var/lib/clamav/main.cvd LibClamAV Error: Unable to create temporary directory After searching the mailing-list archives, I found this was a problem with clamd and Mandrake once upon a time and I'm assuming it popped up in the milter because that program doesn't need clamd anymore. Anyways, I fixed it by adding the following to /etc/init.d/clamav-milter: TMPDIR=/var/lib/clamav export TMPDIR Probably the best fix is to have clamav-milter also check for the TemporaryDirectory directive in clamd.conf or to add a command-line option to give it that value. If that's not an option, at least this message will hopefully be found by Googlers who may find this problem later. |
_______________________________________________ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
