Gentoo Archives: gentoo-user

From: Harry Putnam <reader@×××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: nfs failing to start
Date: Mon, 12 Jan 2009 22:05:18
Message-Id: 87iqokb2sn.fsf@newsguy.com
In Reply to: [gentoo-user] nfs failing to start by Harry Putnam
1 Harry Putnam <reader@×××××××.com> writes:
2
3 > I've apparently forgotten whatever little I may have know about
4 > setting up nfs from having used it long ago.
5
6 [...]
7
8 > After setting all nfs related kernel items and booting the kernel.
9 > Checking that mods appears to be installed and running. Making sure
10 > portmapper is running.
11 >
12 > Then when I try to start nfs service if it fails.
13 >
14 > Producing these messages in syslogd:
15 > Jan [...] nfsd[29077]: nfssvc: Protocol not supported
16 > Jan [...' : RPC: failed to contact local rpcbind server (errno 5).
17
18 [...]
19
20 > kernel:
21 > # grep 'NFS\|RPC' .config
22 >
23 > # CONFIG_AF_RXRPC is not set
24 > CONFIG_NFS_FS=m
25 > CONFIG_NFS_V3=y
26 > CONFIG_NFS_V3_ACL=y
27 > CONFIG_NFS_V4=y
28 > CONFIG_NFSD=m
29 > CONFIG_NFSD_V2_ACL=y
30 > CONFIG_NFSD_V3=y
31 > CONFIG_NFSD_V3_ACL=y
32 > CONFIG_NFSD_V4=y
33 > CONFIG_NFS_ACL_SUPPORT=m
34 > CONFIG_NFS_COMMON=y
35 > CONFIG_SUNRPC=m
36 > CONFIG_SUNRPC_GSS=m
37 > CONFIG_SUNRPC_REGISTER_V4=y
38 > CONFIG_RPCSEC_GSS_KRB5=m
39 > # CONFIG_RPCSEC_GSS_SPKM3 is not set
40
41 [...]
42
43 Answering my own question for the sake of any searches for nfs here
44
45 It appears I've compiled too many versions of rpc stuff, and maybe nfs
46 too. Anyway commenting out all reference in the above list to version
47 4 of either nfs or rpc items... recompile reboot.
48 nfs starts nicely as expected.