View previous topic :: View next topic |
Author |
Message |
Vesqs n00b
Joined: 03 Nov 2004 Posts: 3
|
Posted: Wed Nov 03, 2004 9:23 am Post subject: NFS problem |
|
|
I have a problem with NFS.
I have a small desktop computer working as a server in my homenetwork and it's been working fine (with Gentoo) until now.
When I boot the machine it cannot start NFS services. When I start nfs with /etc/init.d/nfs start or restart I get the following output:
* Stopping NFS mountd... [ ok ]
* Stopping NFS daemon... [ ok ]
* Stopping NFS statd... [ ok ]
* Starting NFS statd... [ ok ]
* Exporting NFS directories...
/sbin/runscript.sh: line 534: 7568 Killed $exportfs -r 1>&2
* Error exporting NFS directories [ !! ]
* Starting NFS daemon... [ ok ]
* Starting NFS mountd... [ ok ]
my exports file looks like this:
# /etc/exports: NFS file systems being exported. See exports(5).
/mnt/storage/public 192.168.1.2(rw,sync)
Could somebody please help me?
I'm using 2.6.7-r11 gentoo dev kernel. Could this be a kernel issue? |
|
Back to top |
|
|
barran Tux's lil' helper
Joined: 14 Jan 2003 Posts: 142 Location: Århus, DK
|
Posted: Wed Nov 03, 2004 9:53 am Post subject: |
|
|
Could you perhaps give some more information?
Try to read the /etc/init.d/nfs script and start the daemons manually in the frontground and check your logfiles in /var/log
Then try to run exportfs -vf
Are you sure /usr/sbin/exportfs exists on your system and has the right permissions? |
|
Back to top |
|
|
Vesqs n00b
Joined: 03 Nov 2004 Posts: 3
|
Posted: Wed Nov 03, 2004 3:13 pm Post subject: |
|
|
I tried running the daemons manually they took their time, and didn't show any error messages.
Server still not functioning.
logs show that exporting NFS directories fails, and I think this is the source of my problem.
exportfs -vf doesn't print anything (seems to run ok)
exportfs is owned by root, and others have a read and execute permissions.
However there seemes to be file missinig. /etc/init.d/nfs tries to run /usr/sbin/rpc.rquotad that is missing. is this what I need? and if so where can I get it? |
|
Back to top |
|
|
barran Tux's lil' helper
Joined: 14 Jan 2003 Posts: 142 Location: Århus, DK
|
Posted: Thu Nov 04, 2004 9:37 am Post subject: |
|
|
Maybe you should try and reemerge nfs-utils. Perhaps another version? |
|
Back to top |
|
|
Vesqs n00b
Joined: 03 Nov 2004 Posts: 3
|
Posted: Thu Nov 04, 2004 6:59 pm Post subject: |
|
|
I'll give it a try. In any case I still have the option on re-installing Gentoo. With stage-3 it wont even take too long |
|
Back to top |
|
|
richardash1981 Tux's lil' helper
Joined: 08 Apr 2005 Posts: 94 Location: England
|
Posted: Fri Nov 11, 2005 10:15 pm Post subject: |
|
|
You need to sort out name resolution (and reverse lookup) on your network.
The nfs server needs to be able to do a reverse DNS lookup on each client IP that tries to connect to it,(even with IP addresses or masks in /etc/exports). If it can't, mount will often time out on the clients, and exportfs will take much longer.
Either add the nfs clients to the DNS or the server's hosts file. |
|
Back to top |
|
|
|