Several users report that after the file upload has finished, the following message is shown:
The following warnings may be shown in the logs:
WARN yyyy-mm-dd hh:MM:SS FileProcessorService - ERROR: Could not connect to clamd on 127.0.0.1: Connection refused
WARN yyyy-mm-dd hh:MM:SS FileProcessorService - ERROR: Could not connect to clamd on LocalSocket /var/run/clamav/clamd-socket: No such file or directory
This behaviour may be caused by an unresponsive ClamAV daemon which fails to process incoming files. This leads to all files of all transfers with pre-processing enabled being rejected.
Please check if your Cryptshare Server host system meets the following requirements, especially the amount of memory. Too few available memory is a well-known cause of ClamAV crashes.
Usually, the ClamAV packages are updated together with the Linux distribution. Please check if all your packages are up-to-date.
Cryptshare Appliance:
zypper update -y
Other Linux distributions:
The actual update process depends on your Linux distribution. For example, on Debian/Ubuntu:
sudo apt updatesudo apt upgrade -yFirst, check if the service is enabled. This keeps it started accross system reboots:
systemctl status clamdsystemctl enable clamdNext, restart the ClamAV deamon:
systemctl restart clamdsystemctl status clamdIf the ClamAV service failed to start, check the following sections.
This may occur if the ClamAV virus definitions were not updated successfully during an automatic update. Follow these steps to repair the definitions:
systemctl stop clamdrm /var/lib/clamav/daily.*rm /var/lib/clamav/main.*freshclamsystemctl start clamdsystemctl status clamdThis occurs if the clamd service runs into a timeout while starting. Follow these steps to increase the timeout to 900 seconds:


systemctl daemon-reloadsystemctl start clamdIn case the issue persists we can try adding the --fdpass flag to ClamAV within the Cryptshare. For this navigate to "Transfer Processing" -> "Pre-Processing". Here add the flag within the third input field and then click the "+" button on the right side. Then save changes. Please repeat these steps for any policies in use. ![]()