Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Aug 1999 09:48:57 -0700
From:      Doug <Doug@gorean.org>
To:        Gunnar Flygt <gunnar@pluto.sr.se>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.org>
Subject:   Re: portmap, rpc.statd and SNMP
Message-ID:  <37B1A979.83B3A61B@gorean.org>
References:  <s7b08574.000@usgs.gov> <19990811083154.A99105@sr.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37B1A979.83B3A61B>