On Tue, Jul 20, 2004 at 06:16:37PM -0700 or thereabouts, Brent Wiese wrote:
> Sorry, I missed this question and have been away from the list for a bit.
> Hopefully you figured this out by now, but just in case, I've answered
> below.

So was I :(.


> > All i got to do now, it seems, is start portmap and fam on
> > system boot. I know portmap_enable="YES" in rc.conf does
> > the trick, but what about starting fam?
> 
> Look in /usr/local/etc/rc.d
> 
> There will likely be several startup scripts in there for other services.
> Use one as a skeleton to start up fam. Likely, if you installed fam from
> ports, there will already be a startup script in that directory, it'll just
> need to be renamed. Many ports will put the scripts there with a "-sample"
> extension. Check to make sure that file looks in the right places for your
> daemon and if so, rename it to remove the -sample and it'll start up on
> boot.

There is no such script in ../etc/rc.d. All you have to do is to start
portmap (in rc.conf), and then edit your /etc/inetd.conf and add there:

sgi_fam/1-2     stream rpc/tcp wait root /usr/local/bin/fam     fam

and then killall -HUP inetd.

This one should do the trick.


        Cheers,

        Martin

-- 
Martin Hudec            | corwin at aeternal.net
                        | corwin at web.markiza.sk
http://www.aeternal.net | cell +421 907 303 393

Attachment: pgpnxMVDTXYv5.pgp
Description: PGP signature

Reply via email to