It looks ScanOnAccess requires fanotify rather than Dazukofs. Do you have /usr/include/linux/fanotify.h on your system?
Steve On Mon, Dec 23, 2013 at 4:37 AM, <lowcheek...@stee.stengg.com> wrote: > > > Hi, > > I have installed clamav, clamd 0.98 on redhat EL5.8. I have also > installed Dazukofs to support on access scanning. > > To verify Dazukofs, I type the following at command prompt: > > #lsmod | grep dazukofs > dazukofs 32602 0 > > Then, I updated the clamd.conf successfully using ScanOnAccess instead of > ClamukoScanOnAccess (ie, it has a deprecated warning when I restart clamd > service). > As for ClamukoIncludePath, also complain deprecated. I change to > OnAccessIncludePath. It ok. > > I also created an OnVirusEvent in clamd.conf as follow: > > VirusEvent /opt/clamdazer %v & - this trigger a dialog box. I > also verify by manually entering the command. > > After which, I restarted clamd service successfully. > > I created an eicar virus from http://www.eicar.org/86-0-Intended-use.html. > > I perform manual scanning using clamscan. It was able to detect the virus. > > Then I perform an open for the virus file, there was no warning dialog > from /opt/clamdazer. > > I analysed the clamd.log and saw the following: > > Mon Dec 23 17:31:57 2013 -> ERROR: On-access scan is not available > > I need help to troubleshoot this. > > Thanks in advance. > > > > > [This e-mail is confidential and may be privileged. If you are not the > intended recipient, please kindly notify us immediately and delete the > message > from your system; please do not copy or use it for any purpose, nor > disclose > its contents to any other person. Thank you.] > ---ST Electronics Group--- > _______________________________________________ > Help us build a comprehensive ClamAV guide: > https://github.com/vrtadmin/clamav-faq > http://www.clamav.net/support/ml > _______________________________________________ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/support/ml