View previous topic :: View next topic |
Author |
Message |
waldauf Tux's lil' helper


Joined: 20 Sep 2006 Posts: 129 Location: Czech Republic
|
Posted: Thu Apr 24, 2008 7:51 am Post subject: problem with NFS mount [SOLVED] |
|
|
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 |
|
 |
krinn Watchman


Joined: 02 May 2003 Posts: 7470
|
Posted: Thu Apr 24, 2008 6:37 pm Post subject: |
|
|
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 ) you better show the rpc error and nfs-utils version you use. |
|
Back to top |
|
 |
timeBandit Bodhisattva


Joined: 31 Dec 2004 Posts: 2719 Location: here, there or in transit
|
Posted: Thu Apr 24, 2008 6:40 pm Post subject: |
|
|
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 |
|
 |
waldauf Tux's lil' helper


Joined: 20 Sep 2006 Posts: 129 Location: Czech Republic
|
Posted: Fri Apr 25, 2008 7:49 pm Post subject: Re: problem with NFS mount |
|
|
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 |
|
 |
krinn Watchman


Joined: 02 May 2003 Posts: 7470
|
Posted: Fri Apr 25, 2008 8:02 pm Post subject: |
|
|
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 |
|
 |
waldauf Tux's lil' helper


Joined: 20 Sep 2006 Posts: 129 Location: Czech Republic
|
Posted: Fri Apr 25, 2008 11:39 pm Post subject: |
|
|
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 |
|
 |
|