Mailing List Archive

ERROR: ClamInotif: could not watch path '/var', 3
Hello ClamAV Group

I'm trying to configure ScanOnAcces (clamonacc) on CentOS 8.

After running clamonacc I will always get

ClamInotif: watching '/var' (and all sub-directories)
ClamInotif: excluding '/tmp/quarantine' (and all sub-directories)
ERROR: ClamInotif: could not watch path '/var', 3

Any Idea what error 3 from ClamInotify means?


Scan.conf:
LogSyslog yes
PreludeAnalyzerName ClamAV
MaxThreads 20
ExcludePath ^/dev/
ExcludePath ^/mnt/
ExcludePath ^/proc/
ExcludePath ^/run/
ExcludePath ^/sys/
ExcludePath ^/var/lock/
ExcludePath ^/var/run/
MaxDirectoryRecursion 20
User root
OnAccessMaxFileSize 4000M
OnAccessIncludePath /etc
OnAccessIncludePath /home
OnAccessIncludePath /media
OnAccessIncludePath /opt
OnAccessIncludePath /root
OnAccessIncludePath /tmp
OnAccessIncludePath /usr
OnAccessIncludePath /var
OnAccessExcludePath /tmp/quarantine
OnAccessExtraScanning yes
OnAccessExcludeRootUID yes
User root
LocalSocket /run/clamd.<SERVICE>/clamd.sock

Best
Andreas Meth


_______________________________________________

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