|
From: abhishek g. <zea...@ya...> - 2013-03-06 09:13:34
|
Hi, do we have similar tool which work for less linux version. Thanks Abhishek Goswami Bangalore Phone No -07829580867/9962270999 Skype : abhishekgoswami1 ________________________________ From: Radu Voicilas <rad...@gm...> To: abhishek goswami <zea...@ya...> Cc: "ino...@li..." <ino...@li...> Sent: Wednesday, 6 March 2013 2:16 PM Subject: Re: [Inotify-tools] inotify_init Failed inotify was added with kernel 2.6.13 and your machine runs 2.6.9 which means you don't have access to inotify's feature. See "man inotify", the versions section. I suggest to upgrade your machine's kernel to something more up to date if that's possible. Thanks, Radu. On Wed, Mar 6, 2013 at 8:12 AM, abhishek goswami <zea...@ya...> wrote: Hi, > > >I installed [inotify]([url]https://github.com/rvoicilas/inotify-tools/wiki[/url]) and plugin code into my >existing code for watch file.I am always getting message that `inotify failed`. > > >I googled and found that kernel should with inotify option.(Not sure how will I check as I am using remote machine). > > >I have added all shared library in compilation.( does not relate but in case any possibility) > > >`Linux machinename 2.6.9-89.ELsmp #1 SMP Mon Apr 20 10:33:05 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux` > > >Any idea How can I debug the issue as I am using inotify tool first time > > > > > inotify = inotify_init(); > if(inotify<0) > { > loginfo<<" inotify_init fail"<<inotify<<endl; > } > > output = -1 > > > > >Thanks >Abhishek Goswami >Bangalore >Phone No -07829580867/9962270999 >Skype : abhishekgoswami1 >------------------------------------------------------------------------------ >Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester >Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the >endpoint security space. For insight on selecting the right partner to >tackle endpoint security challenges, access the full report. >http://p.sf.net/sfu/symantec-dev2dev >_______________________________________________ >Inotify-tools-general mailing list >Ino...@li... >https://lists.sourceforge.net/lists/listinfo/inotify-tools-general > > |