have You checked
the rights of the clamd process so that clamonacc has permissions to scan
/serverdata? Has /serverdata different permissions to /home? What value has
the "User" parameter in clamd.conf? If not root, and if You have
vscan set, has vscan the right to scan /serverdata? Which release
of clamav are You using?
Thanks Martin
Von:
"Shivananda
Shiragavi via clamav-users" <clamav-users@lists.clamav.net> An:
clamav-users@lists.clamav.net Kopie:
"Shivananda
Shiragavi" <sshiragavi@gmail.com> Datum:
29.12.2020
11:13 Betreff:
[clamav-users]
Fwd: Error while scanning directory other than /home directory Gesendet
von: "clamav-users"
<clamav-users-bounces@lists.clamav.net>
Hi All,
I am trying to enable clamonacc in
my machine for /home its working fine but when I am trying to mention some
other directory it is throwing the following error:
ClamWorker: performing scanning on
file '/serverdata/eicar.com.txt'
/serverdata/eicar.com.txt: Can't open file or directory ERROR
ClamMisc: internal issue (client failed to scan)
ClamWorker: scan failed with error code 32
clamd.conf: OnAccessIncludePath /serverdata
OnAccessPrevention yes
OnAccessExcludeUname clamav
OnAccessExcludeRootUID no
OnAccessDisableDDD no