- status: open --> closed-works-for-me
- assigned_to: Markus Strehle
After many struggles, I finally managed to get it to work... My config
Here's the process that worked for me:
Windows:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\ClamAV]
"ConfDir"="C:\ClamAV"
"DataDir"="C:\ClamAV\database"
[HKEY_LOCAL_MACHINE\SOFTWARE\ClamAV\ConfDir]
@="C:\ClamAV"
[HKEY_LOCAL_MACHINE\SOFTWARE\ClamAV\DataDir]
@="C:\ClamAV\database"
SAP System:
Troubleshooting:
If you get error "EICAR test virus not found, Scan error 13:ClamAV engine with internal,unknown error.", the reason is probably that another real-time virus check like Windows Defender is running on the server. Windows Defender will remove the temporary file to be scanned by ClamAV immediately which leads to an internal error in ClamAV and a failure in the SAP program.
Solution: Go to Windows Settings > Windows Defender > Add an exclusion > Exclude the folder for temporary files i.e. <drive>:\usr\sap\<sid>\tmp.</sid></drive>
Hope this helps some others,
Marc