Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Dec 2009 12:43:14 +0100
From:      Ruben de Groot <mail25@bzerk.org>
To:        "Ksh J. Fry" <phil@philpep.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: nfsd can't listen on udp
Message-ID:  <20091203114314.GA13041@ei.bzerk.org>
In-Reply-To: <4B16DE57.9010607@philpep.org>
References:  <4B16DE57.9010607@philpep.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 02, 2009 at 10:38:31PM +0100, Ksh J. Fry typed:
> Hi, I'm running nfsd on FreeBSD (7.2 and 8.0) but it seem don't listen
> on udp.
 
>From the listen(2) manpage:

The listen() system call applies only to sock-
     ets of type SOCK_STREAM or SOCK_SEQPACKET

Ruben

> $ tail /etc/rc.conf
> rpcbind_enable="YES"
> rpc_lockd_enable="YES"
> rpc_statd_enable="YES"
> nfs_server_enable="YES"
> nfs_server_flags="-t -u -n 4"
> mountd_flags="-p 962 -r"
> 
> 
> $ netstat -a -f inet | grep nfsd
> tcp4       0      0 *.nfsd                 *.*                    LISTEN
> udp4       0      0 *.nfsd                 *.*                   
> 
> 
> 
> $ sockstat -4 | grep nfsd
> root     nfsd       44932 3  tcp4   *:2049                *:*
> (no udp)
> 
> When I try to mount with mount_nfs -U and write something the client hang.
> 
> Thanks by advance.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091203114314.GA13041>