Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem with NFS mount [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
waldauf
Tux's lil' helper
Tux's lil' helper


Joined: 20 Sep 2006
Posts: 129
Location: Czech Republic

PostPosted: Thu Apr 24, 2008 7:51 am    Post subject: problem with NFS mount [SOLVED] Reply with quote

hi,

i don't know when it started but i can't use NFS connection from my laptop to desktop PC. i have script which turn on NFS mount:
Code:

#!/bin/bash

/etc/init.d/netmount restart
/etc/init.d/nfs restart
/etc/init.d/nfsmount restart


but if i start it, it writes me:
Code:

 * ERROR:  cannot start netmount as rpc.statd could not start
 * WARNING:  nfs has not yet been started.
 * ERROR:  cannot start nfs as rpc.statd could not start
 * ERROR:  cannot start nfsmount as rpc.statd could not star


so i turn on rpc.statd and nothing.
i tried reinstall nfs net-fs/nfs-utils and net-libs/libnfsidmap. setting in kernel is still same. i tried different kernels (gentoo-sources, vanilla-sources) but nothing help.

thank you for help :]


Last edited by waldauf on Fri Apr 25, 2008 7:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Thu Apr 24, 2008 6:37 pm    Post subject: Reply with quote

try start it manually to see
Code:
 /etc/init.d/rpc.statd start


the file is provide by nfs-utils, if you keep having trouble (as i guess :D ) you better show the rpc error and nfs-utils version you use.
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2719
Location: here, there or in transit

PostPosted: Thu Apr 24, 2008 6:40 pm    Post subject: Reply with quote

Have you checked your logs, including dmesg? There should be additional information about the error.
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
waldauf
Tux's lil' helper
Tux's lil' helper


Joined: 20 Sep 2006
Posts: 129
Location: Czech Republic

PostPosted: Fri Apr 25, 2008 7:49 pm    Post subject: Re: problem with NFS mount Reply with quote

so, i found solution. like write krinn i tried start rpc.stadt but always after start netmount, nfs and nfsmount. then it makes trouble and it won't started.

now i first start rpc.stadt and then netmount, nfs and nfsmount. but i don't know that rpc.statd is so important.


thank you both boys ;]
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Fri Apr 25, 2008 8:02 pm    Post subject: Reply with quote

in case that might help you even more:
recent changes to nfs-utils added rpc.statd to start the service from nfsmount... to support nfsv4, so you might as well just forgot to etc-update and change netmount... scripts.
Back to top
View user's profile Send private message
waldauf
Tux's lil' helper
Tux's lil' helper


Joined: 20 Sep 2006
Posts: 129
Location: Czech Republic

PostPosted: Fri Apr 25, 2008 11:39 pm    Post subject: Reply with quote

krinn wrote:
in case that might help you even more:
recent changes to nfs-utils added rpc.statd to start the service from nfsmount... to support nfsv4, so you might as well just forgot to etc-update and change netmount... scripts.


i must oppose. i emerged nfs-utils x-times and after recompiling i always do dispatch-conf (in case new config files).

may be was problem in order. i run first netmount then nfs and then nfsmount. but it always works so i didn't know where could be mistake.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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