Byteplant Forum

Home » CleanMail Support » CleanMail Server Talk » Clam AntiVirus problem after Cleanmail migration
Clam AntiVirus problem after Cleanmail migration [message #2161] Wed, 04 November 2009 21:09 Go to next message
WaveJam
Messages: 22
Registered: June 2005
Junior Member
Hi...

I had CleanMail running on a Win2k8 server, but due to unforeseen issues I had to move my CleanMail server to a different machine running Win2k3. I think I have it completed, however I noticed: "(Clam Anti Virus) Filter result is accept/deliver (unknown result)" after each transaction. The mail gets through, but obviously there is something wrong.

When I run the "Test with Sample virus", I get the following:

Nov 04, 2009, 14:54:34 Session 1000: (Clam Anti Virus) Executing: "C:\Program Files\ClamWin\bin\clamscan.exe" C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1\ClamAV1000i.msg --no-summary
Nov 04, 2009, 14:54:34 Session 1000: (Clam Anti Virus) Command line exit code is 50
Nov 04, 2009, 14:54:34 Session 1000: (Clam Anti Virus) Command stderr output:
Nov 04, 2009, 14:54:34 Session 1000: (Clam Anti Virus) LibClamAV Error: cli_loaddb(): No supported database files found in .
Nov 04, 2009, 14:54:34 Session 1000: (Clam Anti Virus) ERROR: Can't open file or directory
Nov 04, 2009, 14:54:34 Session 1000: (Clam Anti Virus) Filter result is accept/deliver (unknown result)

The "No supported database files found in ." bugs me the most. If I check the ClamAV database I get "ClamAV update process started at Wed Nov 04 15:07:46 2009
main.cvd is up to date (version: 51, sigs: 545035, f-level: 42, builder: sven)
daily.cld is up to date (version: 9988, sigs: 102143, f-level: 44, builder: ccordes)" So the db is there, but is CleanMail looking in the wrong place?

The steps I took to migrate are as follows:
1. Installed a clean copy of CleanMail
2. Copied the C:\Documents and Settings\All Users\Application Data\CleanMail directory to the new server overwriting the clean files.

Any tips would be appreciated.
Re: Clam AntiVirus problem after Cleanmail migration [message #2162 is a reply to message #2161] Wed, 04 November 2009 22:09 Go to previous message
WaveJam
Messages: 22
Registered: June 2005
Junior Member
As a quick band-aid, I added the -d switch to the command line. So its now:

%SCANNER% -d "C:\Documents and Settings\All Users\.clamwin\db" %IN%

Its working again. Now I'm wondering what path I have hosed. Didn't have to use that switch before.
Previous Topic: Attachment filter: block Att. list....
Next Topic: Privacy / Security issues of CleanMail Dashboard
Goto Forum:
  


Current Time: Sun Dec 11 12:47:02 CET 2016