Thomas Lamy wrote:

Tim Rupp wrote:

Cory Megitt [ClamAV] wrote:

Hi All;

I attempted to upgrade from 0.75.1 to 80rc3 via rpms, and when running a
test script to test the mail server / clamav processes, I get the
following error.



[EMAIL PROTECTED] contrib]# ./test_installation.sh -doit
setting QMAILQUEUE to /var/qmail/bin/qmail-scanner-queue.pl for this test...


Sending standard test message - no viruses...
done!

Sending eicar test virus - should be caught by perlscanner module...
X-Antivirus-MYDOMAIN-1.22-st-qms:[megitt.com10972113996206500] clamdscan:
corrupt or unknown clamd scanner error or memory/resource/perms problem -
exit status 2
qmail-inject: fatal: qq temporary problem (#4.3.0)
Bad error. qmail-inject died


I reverted back (by uninstalling the 80rc3 rpms and reinstalled the 75.1
rpms. I am still getting the error above.


What did I do wrong?


_______________________________________________ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users




Any chance you're following the qmailrocks tutorial? (the test_installation.sh script seems to yell that to me)


If you are, especially after you've upgraded, I'd go back to the step below and check the sym link. When I first tried the qmailrocks tut I was getting that error before I made the symlink.

(From the qmailrocks website)

Now I'm going to throw in a small customization to Clam AV...

*mv /usr/bin/clamdscan /usr/bin/clamdscan.orig*

*ln -s /usr/bin/clamscan /usr/bin/clamdscan*

This sucks. With this setup, you're loading the virus-db for each and every email. Set up clamd to listen on a TCP socket (dunno if qmail runs in a chroot) and set the clamd user to somebody that is able to read qmail's queue files. This is _way_ faster.

Sorry but I'm not a qmail guy. Else I'd re-write that howto ;-). And up your softlimits, just to be sure (repeating a frequently given answer).


Thomas _______________________________________________ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Hey dont shoot the messenger, I'm just going with what that tutorial says and that's the same error I received when I followed that tutorial and forgot the sym link. Yeah it may be horribly inefficient but I tried to answer his question, pointing out what the potential cause of the error may be. Let him go about changing stuff around after he figures out what the error is. Bleh, sorry for the rant, I'll go back to work now :-)

Tim

_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to