ClamAV plugin problem RSS Back to forum
@krzysztof.kleszynski:
Try removing the "--config-file=" parameter (Blacklists / External Agents, double-click ClamAV, Run tab):
--no-summary --stdout {EMAILFILESPEC}
Also do not forget to save the configuration to apply the changes.
Please let me know if the above has helped.
Actually what solved the issue was adding IP to clamd.conf and it's running with agent string unchanged.
That's what I added because it looked like the ORF extension is unable to connect to Clam Daemon. And it worked..
# TCP address.
# By default we bind to INADDR_ANY, probably not wise.
# Enable the following to provide some degree of protection
# from the outside world.
# Default: no
TCPAddr 127.0.0.1
I'm getting same error now:
External Agent "ClamAV for Windows" reported error (exit code 2, comment "ClamAV error"). Taking no action. Agent output: "ERROR: Could not connect to clamd on 127.0.0.1: Connection refused".
This installation of ClamAV has been working great until yesterday, but nothing obvious changed yesterday. Patch Tuesday, though.
@mike.pasche:
Hello Mike,
Is the clamd service running? You can find it as "ClamWin Free Antivirus Scanner Service" on the Windows Services list (run > services.msc). You should also make sure that is configured to start automatically (right-click > Properties > General tab > Startup type: Automatic).
Yes, it is running and set to Automatic. But it keeps crashing for some reason, then the above error appears. If the service is restarted, it runs fine for a few hours then crashes again. I'm going to try to run it with debug logs enabled to see if I can found out why it keeps stopping.
Plugin and ClamAV installed and configured as per Vamsoft instructions.
Daemons running as services and ORF reports:
External Agent "ClamAV for Windows" reported error with email file "sce-2CB818D43ECA616BD3BC2A8AEB28D80F.eml" (exit code 2, comment "ClamAV error"). Taking no action. Agent output: "ERROR: Could not connect to clamd on (NULL): Cannot assign requested address<CR><LF>ERROR: Could not connect to clamd on (NULL): Cannot assign requested address".