[BACK]Return to INSTALL CVS log [TXT][DIR] Up to [Development] / fam

Annotation of fam/INSTALL, Revision 1.1.1.1

1.1       trev        1: BUILDING & INSTALLING FAM
                      2:
                      3: The standard way to build and install FAM is as follows:
                      4:
                      5:     ./configure
                      6:     make
                      7:     make install
                      8:
                      9:
                     10: STARTING FAM
                     11:
                     12: FAM uses RPC, and is usually started by a superserver such as inetd or xinetd.
                     13:
                     14: The make install target currently tries to add FAM to the system's portmapper
                     15: and inetd, however this method will soon be removed.
                     16:
                     17: To manually add FAM:
                     18:
                     19: 1. Add FAM to your portmapper
                     20:
                     21:    Add this line to /etc/rpc:
                     22:     sgi_fam         391002  fam             # File Alteration Monitor
                     23:
                     24: 2. Add FAM to your superserver
                     25:
                     26:    If you use inetd, add this line to /etc/inetd.conf
                     27:     sgi_fam/1-2 stream  rpc/tcp wait    root    /usr/local/bin/fam      fam
                     28:
                     29:    then tell inetd to reread its configuration file:
                     30:     killall -HUP inetd
                     31:
                     32:    If you use xinetd, add a file similar to the following in /etc/xinetd.d/
                     33:
                     34:     --8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<--
                     35:     # default: on
                     36:     # description: FAM - file alteration monitor
                     37:     service sgi_fam
                     38:     {
                     39:     	type		= RPC UNLISTED
                     40:     	socket_type	= stream
                     41:     	user		= root
                     42:     	group		= nobody
                     43:     	server		= /usr/local/bin/fam
                     44:     	wait		= yes
                     45:     	protocol	= tcp
                     46:     	rpc_version	= 2
                     47:     	rpc_number	= 391002
                     48:     }
                     49:     --8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<--
                     50:
                     51:     If you do not want to use either, start FAM with the -T0 option:
                     52:      /usr/local/bin/fam -T0
                     53:
                     54:     Naturally you will need to place this in your system's startup
                     55:     file if you want it to be automatically started.
                     56:
                     57:
                     58: 3. Ensure that FAM is registered with the portmapper
                     59:
                     60:    Run this and make sure that you get at least one line of output:
                     61:     rpcinfo -p | grep fam
                     62:
                     63:    if you don't, you may need to restart your portmapper and (x)inetd.
                     64:
                     65:

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>