Getting FAM up and running from inetd

Juha Saarinen juhasaarinen at gmail.com
Thu Feb 3 15:42:53 PST 2005


On Wed, 02 Feb 2005 11:36:13 +0100, Nils Vogels
<nivo+sender+6075ff at yuckfou.org> wrote:
> Hi there!
> 
> I'm looking for a way to get fam [devel/fam] up and running from inetd.
> 
> I seem to have followed all the hints in the pkg-message, however it
> doesnt work:
> 
> imhotep# ps auxwww|grep inetd
> root    97100  0.0  0.1  1128  836  ??  Is   11:10AM   0:00.02
> /usr/sbin/inetd -wW
> imhotep# ps auxwww|grep portmap
> daemon  97494  0.0  0.1   952  612  ??  Is   11:23AM   0:00.00
> /usr/sbin/portmap
> imhotep# grep fam /etc/inetd.conf
> sgi_fam/1-2     stream  rpc/tcp wait    root
> /usr/local/bin/fam      fam
> imhotep# grep fam /etc/rpc
> sgi_fam         391002          # file alteration monitor
> imhotep# rpcinfo -p
>    program vers proto   port
>     100000    2   tcp    111  portmapper
>     100000    2   udp    111  portmapper
> 
> When I use courier-imap, fam doesnt start up automatically. I can
> start fam from commandline perfectly, but it only has a limited
> lifespan then.
> 
> Any hints would be greatly appreciated :)

Did you remember to do:

killall -HUP inetd

as root?

-- 

Juha


More information about the freebsd-questions mailing list