Solved Filewatcherd fails to start (Bad file descriptor)

Hello everyone,

I installed filewatcherd in order to get file support like in incron, I coppied the default watchdog.sample but I get this error when I try to start the daemon :

Code:
Oct  9 18:06:51 famp filewatcherd: Error while waiting for a kevent: Bad file descriptor
Oct  9 18:14:49 famp root: /usr/local/etc/rc.d/filewatcherd: WARNING: failed to start filewatcherd

Can you please help me with this, thanks.
 
The root has access to the file :

Code:
root@famp:~ # ls /usr/local/etc/watchtab
-rw-r--r--  1 root  wheel    50B Oct  9 21:24 /usr/local/etc/watchtab

filewatcherd does not even have proper man pages, can someone hep ?
 
Code:
#/root/wolverine delete  0.1     touch ${TRIGGER}

It wasn't commented before but it didn't start either.
 
It works :

Code:
root@famp:/tmp # service filewatcherd start
Starting filewatcherd.
Watchtab "/usr/local/etc/watchtab" loaded successfully
root@famp:/tmp # service filewatcherd status
filewatcherd is running as pid 37187.
root@famp:/tmp #
 
Back
Top