Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun May 29, 2011 1:59 am 
Offline
Newbie

Joined: Sun May 29, 2011 1:54 am
Posts: 3
I am using the standard Linode distribution

Ubuntu 9.10 Profile (Latest 2.6 Paravirt (2.6.39-linode33))

I am trying to use inotify and incron and it does not appear to be working. Does this kernel support inotify?

If so, is there any additional configuration required to get it to work?


Top
   
 Post subject:
PostPosted: Sun May 29, 2011 2:19 am 
Offline
Sysop

Joined: Sat Nov 27, 2010 3:32 am
Posts: 180
Website: https://blog.timheckman.net/
Location: San Francisco, CA
I'm not familiar with the configuration you are attempting to accomplish unfortunately. The kernel, however, does have that support compiled in:

Code:
root@debian:~# uname -r && zgrep -i "inotify" /proc/config.gz 
2.6.39-linode33
CONFIG_INOTIFY_USER=y


Also, I wasn't sure if you were aware but Ubuntu 9.10 is end of life and is no longer receiving security updates. You may want to consider upgrading to Ubuntu 10.04 LTS:

- http://library.linode.com/troubleshooti ... 0.04-lucid

-Tim


Top
   
 Post subject:
PostPosted: Sun May 29, 2011 2:57 am 
Offline
Newbie

Joined: Sun May 29, 2011 1:54 am
Posts: 3
theckman wrote:
I'm not familiar with the configuration you are attempting to accomplish unfortunately. The kernel, however, does have that support compiled in:

Code:
root@debian:~# uname -r && zgrep -i "inotify" /proc/config.gz 
2.6.39-linode33
CONFIG_INOTIFY_USER=y


Also, I wasn't sure if you were aware but Ubuntu 9.10 is end of life and is no longer receiving security updates. You may want to consider upgrading to Ubuntu 10.04 LTS:

- http://library.linode.com/troubleshooti ... 0.04-lucid

-Tim

Quick response, thanks.

Basically wanting to use incron. It is similar to cron, except instead of running a command at time intervals, it runs a command when a certain file or contents of a folder change. Requires inotify support in the kernel to work.

I have not used it before, so I may be doing something wrong. Just wanted to see if the kernel support was in place before going too far into tracking down the issue.

Did not intend to keep the 9.10 version running this long, but am too busy with a hundred other things to worry about an update at this point. Will probably stick with the supported x.4 versions once I get around to the next upgrade.

I prefer fresh installs as it forces me to keep my deployment scripts up to date. Also a good test to ensure I have properly separated the data from the system/config.


Top
   
 Post subject:
PostPosted: Sun May 29, 2011 4:02 am 
Offline
Newbie

Joined: Sun May 29, 2011 1:54 am
Posts: 3
It is working fine now, was monitoring for the wrong event.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group