Thanks for the reply, Martin!! Version of clamd is ClamAV 0.102.4/26031/Mon Dec 28 04:43:18 2020. I tried with both root user and calmav user but getting the same error message.
*"**You have vscan set,"* :: NO On Tue, Dec 29, 2020 at 3:59 PM Martin Rödlach via clamav-users < clamav-users@lists.clamav.net> wrote: > Hi, > > 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" <sshirag...@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-boun...@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* > > Could someone please help me to fix this issue? > > -- > Shivananda Shiragavi > 919860394833 > > _______________________________________________ > > clamav-users mailing list > clamav-users@lists.clamav.net > > https://urldefense.com/v3/__https://lists.clamav.net/mailman/listinfo/clamav-users__;!!PvTMCG4!fkwxLE5iMS33hbYPL0ZOFZllRbZKjrgC8gv2Xi0cU77vHeRz73uG8Q5tBhYgm-VT5EU$ > > > Help us build a comprehensive ClamAV guide: > > https://urldefense.com/v3/__https://github.com/vrtadmin/clamav-faq__;!!PvTMCG4!fkwxLE5iMS33hbYPL0ZOFZllRbZKjrgC8gv2Xi0cU77vHeRz73uG8Q5tBhYgW0OmPJY$ > > > https://urldefense.com/v3/__http://www.clamav.net/contact.html*ml__;Iw!!PvTMCG4!fkwxLE5iMS33hbYPL0ZOFZllRbZKjrgC8gv2Xi0cU77vHeRz73uG8Q5tBhYgcvQNDC4$ > > > > > _______________________________________________ > > clamav-users mailing list > clamav-users@lists.clamav.net > https://lists.clamav.net/mailman/listinfo/clamav-users > > > Help us build a comprehensive ClamAV guide: > https://github.com/vrtadmin/clamav-faq > > http://www.clamav.net/contact.html#ml > -- Shivananda Shiragavi 919860394833
_______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml