Exit code of 2 means ClamAV had an error - Is clamd running? will
clamdscan.exe <file to be scanned> work? eg no parameters?
-Nick
Gary Steiner wrote:
Ever since I upgraded to ClamAV 0.90.1-2 (the SOSDG windows port), I've been
unable to get it to work. The Declude log files show an error like this:
03/12/2007 19:17:29.359 62376245 Vulnerability flags = 861
03/12/2007 19:17:29.359 62376245 MIME file: [text/html][7bit; Length=429
Checksum=38095]
03/12/2007 19:17:30.171 62376245 Virus scanner 1 reports exit code of 2
03/12/2007 19:17:32.218 62376245 Virus scanner 1 reports exit code of 2
03/12/2007 19:17:34.265 62376245 Virus scanner 1 reports exit code of 2
03/12/2007 19:17:36.312 62376245 Virus scanner 1 reports exit code of 2
03/12/2007 19:17:38.359 62376245 Virus scanner 1 reports exit code of 2
03/12/2007 19:17:40.359 62376245 Could not find report file
c:\SmarterMail\Spool\proc\work\62376245.vir\report.txt.
03/12/2007 19:17:40.359 62376245 Error 2 in virus scanner 1.
03/12/2007 19:17:40.562 62376245 Virus scanner 2 reports exit code of 0
03/12/2007 19:17:40.562 62376245 Scanned: Error in virus scanner. [MIME: 2 815]
If I try to run it from the command line using the parameters from my virus.cfg
file, I get the following:
C:\clamav-devel\bin\clamdscan.exe --quiet --mbox --max-ratio 0 --max-space 1M
-l report.txt 62376245.eml
/cygdrive/c/clamav-devel/bin/clamdscan: unrecognized option `--mbox'
ERROR: Unknown option passed.
ERROR: Can't parse the command line
Anyone else seeing anything like this? Did something change in 0.90 to make
these paramenters invalid?
Thanks,
Gary Steiner
---
This E-mail came from the Declude.Virus mailing list. To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.Virus". The archives can be found
at http://www.mail-archive.com.
---
This E-mail came from the Declude.Virus mailing list. To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.Virus". The archives can be found
at http://www.mail-archive.com.