My FAM daemon doesn't seem to work properly. Everytime I reboot it seems to be fine at startup (I see the [DONE] message), but when I shutdown it gives an [ERROR] symbol.
So, I decided to stop and start it manually to see what was going on. I went to /etc/rc.d and ran "fam restart". I get:
:: Stopping File Alteration Monitor [FAIL] :: Starting File Alteration Monitor [DONE]
It seems that when I start it, it shows that it's successful, but in /var/log/daemon.log it shows:
Apr 25 11:29:25 nazgul famd: can't register with portmapper.
(note: 'nazgul' is my hostname)
Does anyone know anything about the portmapper and how to set it up?
Thanks in advance!
Ok this is a little embarressing but I solved it :oops:
It turns out that I need to have the network rc.d script running too. I recompiled my kernel with network built in, but this script requires that I have it as a module it seems.
so, in /etc/rc.d/ I ran:
and all went well ...
Also, fam is set by default to time out after 5 minutes of idle time. So, you can fine the line in /etc/fam/fam.con that looks like this...
idle_timeout = 5
and change it to this..
idle_timeout = 0
Hope this helps.