Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nfsv4 and mountd problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
aoeuaoue
n00b
n00b


Joined: 26 Feb 2010
Posts: 31

PostPosted: Mon May 03, 2010 9:05 pm    Post subject: nfsv4 and mountd problem Reply with quote

hey all,

I was trying the testing package with nfs utils and vanilla sources, but the same happens with gentoo sources testing version.

vanilla-sources 2.6.34_rc6
nfs-utils 1.2.2-r1

/etc/init.d/nfs start
rpc.pipefs | * Mounting RPC pipefs ... [ ok ]
rpcbind | * Starting rpcbind ... [ ok ]
rpc.idmapd | * Starting idmapd ... [ ok ]
rpc.statd | * Starting NFS statd ... [ ok ]
nfs | * Mounting nfsd filesystem in /proc ... [ ok ]
nfs | * Starting NFS mountd ... [ !! ]
nfs | * Starting NFS daemon ... [ ok ]
nfs | * Starting NFS smnotify ... [ ok ]
nfs | * ERROR: nfs failed to start


But this was after none of those services starting due to rpcbind not starting at all. Googling I found out rpcbind needs this file:

/etc/netconfig
Code:
udp6       tpi_clts      v     inet6    udp     -       -
tcp6       tpi_cots_ord  v     inet6    tcp     -       -
udp        tpi_clts      v     inet     udp     -       -
tcp        tpi_cots_ord  v     inet     tcp     -       -
rawip      tpi_raw       -     inet      -      -       -
local      tpi_cots_ord  -     loopback  -      -       -
unix       tpi_cots_ord  -     loopback  -      -       -


The example from the man page ommits the last line which rpcbind wouldn't start.
Code:
unix       tpi_cots_ord  -     loopback  -      -       -


this is my messages from /var/log/messages

Code:
May  3 16:56:10 cerasus rpcbind: cannot bind * on udp: Address already in use
rpcbind: cannot bind tcp: Address already in use
rpc.idmapd[3801]: Expiration time is 600 seconds.
rpc.idmapd[3801]: Opened /proc/net/rpc/nfs4.nametoid/channel
rpc.idmapd[3801]: Opened /proc/net/rpc/nfs4.idtoname/channel
rpc.statd[3814]: Version 1.2.2 starting
rpc.statd[3814]: Flags: TI-RPC
rpc.statd[3814]: Running as root.  chown /var/lib/nfs to choose different user
rpc.idmapd[3801]: ReOpening /proc/net/rpc/nfs4.nametoid/channel
rpc.idmapd[3801]: ReOpening /proc/net/rpc/nfs4.idtoname/channel
mountd[3833]: unable to register (mountd, 1, udp).
sm-notify[3839]: Version 1.2.2 starting
sm-notify[3839]: Already notifying clients; Exiting!1.1.4-r1
/etc/init.d/nfs[3762]: ERROR: nfs failed to start


On another machine I am able to start nfs4 with gentoo-sources 2.6.33 and nfs-utils 1.1.4-r1. I can mount from this machine but I want to start nfs server on this machine.

please help :(
Back to top
View user's profile Send private message
aoeuaoue
n00b
n00b


Joined: 26 Feb 2010
Posts: 31

PostPosted: Wed May 12, 2010 12:05 am    Post subject: Bump it baby!! Reply with quote

8O bump?
Back to top
View user's profile Send private message
xibo
Apprentice
Apprentice


Joined: 21 Aug 2007
Posts: 152
Location: moving between kubuntu and ubuntu kde edition

PostPosted: Wed May 12, 2010 12:03 pm    Post subject: Reply with quote

Quote:
rpcbind: cannot bind * on udp: Address already in use

Seems something else is already running on the nfs port, i'd say. Also, shouldn't nfs4 run with tcp only?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum