From owner-freebsd-net@FreeBSD.ORG Sat Feb 16 12:55:18 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B02AB2C7 for ; Sat, 16 Feb 2013 12:55:18 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 864F7981 for ; Sat, 16 Feb 2013 12:55:17 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 282053B29D for ; Sat, 16 Feb 2013 04:55:09 -0800 (PST) From: "Ronald F. Guilmette" To: freebsd-net@freebsd.org Subject: WTF? RPCPROG_NFS: RPC: Program not registered Date: Sat, 16 Feb 2013 04:55:09 -0800 Message-ID: <1884.1361019309@server1.tristatelogic.com> X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Feb 2013 12:55:18 -0000 I have a 9.1-RELEASE server whose /etc/rc.conf file contains, among other things, the following lines: ifconfig_nfe0="inet 192.168.1.2 netmask 255.255.255.0" # nfs_client_enable="YES" nfs_server_enable="YES" nfs_server_flags="-h 192.168.1.2" mountd_enable="YES" rpcbind_enable="YES" On this server, I also have an /etc/exports file that contains: /home/rfg -network 192.168.1.0 -mask 255.255.255.0 /x -network 192.168.1.0 -mask 255.255.255.0 On this same server, when I do "showmount -e 192.168.1.2" I get the following output: Exports list on 192.168.1.2: /x 192.168.1.0 /home/rfg 192.168.1.0 On this server, when I am root, I attempt to do: mount -t nfs 192.168.1.2:/x /mnt but tnen I just get the following error: [tcp] 192.168.1.2:/x: RPCPROG_NFS: RPC: Program not registered Why? More to the point, what I can do to get rid of this error? I really am stuck. I have no idea what causes this error, nor even how to debug it. I have already google'd the hell out of the problem, and I am still coming up empty. Note also that when the failure occurs there is -nothing- added at that time to /var/log/messages. Reards, rfg P.S. Of course, I don't actually need to mount the exported volume onto the same machine where it physically already resides. I do however wish to mount it (via NFS) onto another system on my LAN, and over on that other system, when I try to mount it, I am getting the exact same *&^%$#@ error. P.P.S. In case anybody should ask, this is the output of rpcinfo 192.168.1.2: program version netid address service owner 100000 4 tcp 0.0.0.0.0.111 rpcbind superuser 100000 3 tcp 0.0.0.0.0.111 rpcbind superuser 100000 2 tcp 0.0.0.0.0.111 rpcbind superuser 100000 4 udp 0.0.0.0.0.111 rpcbind superuser 100000 3 udp 0.0.0.0.0.111 rpcbind superuser 100000 2 udp 0.0.0.0.0.111 rpcbind superuser 100000 4 tcp6 ::.0.111 rpcbind superuser 100000 3 tcp6 ::.0.111 rpcbind superuser 100000 4 udp6 ::.0.111 rpcbind superuser 100000 3 udp6 ::.0.111 rpcbind superuser 100000 4 local /var/run/rpcbind.sock rpcbind superuser 100000 3 local /var/run/rpcbind.sock rpcbind superuser 100000 2 local /var/run/rpcbind.sock rpcbind superuser 100005 1 udp6 ::.3.63 mountd superuser 100005 3 udp6 ::.3.63 mountd superuser 100005 1 tcp6 ::.3.63 mountd superuser 100005 3 tcp6 ::.3.63 mountd superuser 100005 1 udp 0.0.0.0.3.63 mountd superuser 100005 3 udp 0.0.0.0.3.63 mountd superuser 100005 1 tcp 0.0.0.0.3.63 mountd superuser 100005 3 tcp 0.0.0.0.3.63 mountd superuser 100003 2 udp 0.0.0.0.8.1 nfs superuser 100003 3 udp 0.0.0.0.8.1 nfs superuser