Thanks for your report. fanotify was added to linux kernel 2.6.36, so you need at least that.
Can you tell me the result of 'find /usr/include -name fanotify.h' on your system? The clamav documents can also be found in the clamav "docs" directory. The on-access scanning sections have been updated for the upcoming release. Steve On Mon, Dec 30, 2013 at 1:24 AM, <lowcheek...@stee.stengg.com> wrote: > > > Hi Steve, > > Thanks for your prompt reply. You are right. > /usr/include/linux/fanotify.h is missing. > > But, in which package where can I find it for EL5? Is it kernel header > rpm? I tried looking there but still cannot get the correct version for EL > 5.7 or 5.8. > > Btw, the latest clamav manual in clamav.net is only for 0.97.4 (where > all the deprecated ClamukoOnScan, etc are used in clamd.conf. For 0.98, I > am not sure where to get the latest manual for troubleshooting such problem. > > Thanks in advance. > > AUTHOR: Steven Morgan[1] > DATE: 2013-12-24 01:12 +800 > TO: ClamAV users ML[2] > SUBJECT: Re: [clamav-users] Clamd ERROR: On-access scan is not available > > It looks ScanOnAccess requires fanotify rather than Dazukofs. > > Do you have /usr/include/linux/fanotify.h on your system? > > Steve > > > Links: > ------ > [1] mailto:smor...@sourcefire.com > [2] mailto:clamav-users@lists.clamav.net > > > > > > [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