Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NFS problem
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
Vesqs
n00b
n00b


Joined: 03 Nov 2004
Posts: 3

PostPosted: Wed Nov 03, 2004 9:23 am    Post subject: NFS problem Reply with quote

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
View user's profile Send private message
barran
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jan 2003
Posts: 142
Location: Århus, DK

PostPosted: Wed Nov 03, 2004 9:53 am    Post subject: Reply with quote

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
View user's profile Send private message
Vesqs
n00b
n00b


Joined: 03 Nov 2004
Posts: 3

PostPosted: Wed Nov 03, 2004 3:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
barran
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jan 2003
Posts: 142
Location: Århus, DK

PostPosted: Thu Nov 04, 2004 9:37 am    Post subject: Reply with quote

Maybe you should try and reemerge nfs-utils. Perhaps another version?
Back to top
View user's profile Send private message
Vesqs
n00b
n00b


Joined: 03 Nov 2004
Posts: 3

PostPosted: Thu Nov 04, 2004 6:59 pm    Post subject: Reply with quote

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 :roll:
Back to top
View user's profile Send private message
richardash1981
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2005
Posts: 94
Location: England

PostPosted: Fri Nov 11, 2005 10:15 pm    Post subject: Reply with quote

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
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