[clamav-users] ERROR: ClamInotif: could not watch path '/var', 3

andreas.meth at bertelsmann.de andreas.meth at bertelsmann.de
Tue Mar 24 08:19:51 EDT 2020


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



More information about the clamav-users mailing list