From owner-freebsd-questions Wed Aug 11 9:49:47 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dt011n65.san.rr.com (dt011n65.san.rr.com [204.210.13.101]) by hub.freebsd.org (Postfix) with ESMTP id 0CD7B1567E for ; Wed, 11 Aug 1999 09:49:43 -0700 (PDT) (envelope-from Doug@gorean.org) Received: from gorean.org (master [10.0.0.2]) by dt011n65.san.rr.com (8.9.3/8.8.8) with ESMTP id JAA67380; Wed, 11 Aug 1999 09:48:56 -0700 (PDT) (envelope-from Doug@gorean.org) Message-ID: <37B1A979.83B3A61B@gorean.org> Date: Wed, 11 Aug 1999 09:48:57 -0700 From: Doug Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.61 [en] (X11; U; FreeBSD 4.0-CURRENT-0730 i386) X-Accept-Language: en MIME-Version: 1.0 To: Gunnar Flygt Cc: FreeBSD Questions Subject: Re: portmap, rpc.statd and SNMP References: <19990811083154.A99105@sr.se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Gunnar Flygt wrote: > But that didn't answer my question. I said that it is enabled in > rc.conf, but still doesn't start! The rpc_statd_enable="YES" in rc.conf is conditional on nfs_server_enable also being yes. I have been meaning to submit patches to change that because it turns out that statd is useful for other things too, like nfs client mounts, whatever it is you need it for, etc. I solve the problem by starting it in /usr/local/etc/rc.d. Create a script with a name that comes alphabetically before the scotty startup script in that directory. Something like, 800.start-rpc.statd.sh, and put this in it: #!/bin/sh [ -x /usr/sbin/rpc.statd ] && /usr/sbin/rpc.statd Hope this helps, Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message