Date: Tue, 2 Nov 1999 23:15:45 -0500 (EST) From: "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com> To: crtb@capecod.net (Chuck Bacon) Cc: questions@FreeBSD.ORG Subject: Re: Error message from nfsd at boot time With FreeBSD 3.2R, I have a bad situation which prevents the host from Message-ID: <199911030415.XAA07011@cc942873-a.ewndsr1.nj.home.com> In-Reply-To: <199911022134.QAA24235@capecod.net> from Chuck Bacon at "Nov 2, 1999 04:34:27 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Chuck Bacon wrote,
> With FreeBSD 3.2R, I have a bad situation which prevents the host from
> serving NFS. At boot time, I see:
>
> nfsd[xxx]: can't register with udp
> Cannot register service: RPC: portmap timed out
> rpc.statd: unable to register (SM_PROG, SM_VERS, udp)
>
> Since I doubt that NFS is broken in 3.2, I suspect that perhaps some
> kernel config is missing, or perhaps something in /etc/rc.somewhere.
>
> Here's my kernel config (comments stripped for brevity), and then my
> rc.conf. I haven't touched 3.2's rc.* otherwise.
Probably not a kernel problem. Those are all RPC services. Looks like
a portmap problem or possibly a loopback device problem. Let's look at
rc.conf.
[snip]
> firewall_enable="NO"
OK, no firewall blocking the UDP.
[snip]
> network_interfaces="lo0 xl0"
> ifconfig_lo0="inet 127.0.0.1"
> ifconfig_xl0="inet 192.168.1.2"
Not the loopback misconfiguration that has been going around.
[snip]
> nfs_server_enable="YES"
> nfs_server_flags="-u -t -n 4"
> mountd_flags="-r"
> nfs_reserved_port_only="NO"
> rpc_lockd_enable="NO"
> rpc_statd_enable="YES"
> portmap_enable="YES"
> portmap_flags=""
These all look good.
What does,
# rpcinfo -p
Return? Verify that portmap is running on your system. And might as
well make sure you get the following,
# ifconfig lo0
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
--
Crist J. Clark cjclark@home.com
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?199911030415.XAA07011>
