Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-09-2003, 03:27 PM   #1
LQ Newbie
Registered: Aug 2003
Posts: 7

Rep: Reputation: 0
nfs kernel server dies after first mount

Ok I got the nfs userspace server running rock solid. What I did was share out the /home directory and set up NIS, so now the clients can log in and have all their files regardless of the system they log in to. problem is GNOME requires nfslock, so I had to switch to the kernel server.

The kernel server starts up fine, but when I mount the /home directory on the client it just dies. /var/log/messages doesn't show anything.

So I mount the directory on the client. When I unmount I get this message:

Bad UMNT RPC: RPC: Unable to receive; errno = Connection refused

and then when I try to mount it again:

mount: RPC: Unable to receive; errno = Connection refused

But if I go to the server, type in /etc/init.d/nfs-kernel-server start, then the client can mount the directory again. Its very strange. It doesn't help much that the kernel nfs doesn't seem to put out any kind of error messages, at least as far as I can see. So I don't know where to begin on this one.

Anyone see this before?
Old 09-09-2003, 10:13 PM   #2
Registered: Jun 2002
Location: NY
Distribution: Gentoo,RH
Posts: 332

Rep: Reputation: 32
Well, lots of reasons come to mind, but let's try these:

Is it possible that you don't run the portmapper? I think you would see other problems, but you might check.

Then shut down your firewall and see if your problem is still there.

Hope it helps,
Old 09-10-2003, 03:51 PM   #3
LQ Newbie
Registered: Aug 2003
Posts: 7

Original Poster
Rep: Reputation: 0
I tried turning off the firewall with the same result.

Portmapper must be running since I can mount the nfs filesystem on the client and it works. But I have to /etc/init.d/nfs-kernel-server restart on the server everytime I want to mount and unmount anything on the client.

I tried /etc/init.d/portmap restart and it restarted fine but I still have the same problem.
Old 09-10-2003, 04:43 PM   #4
LQ Newbie
Registered: Aug 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Nevermind... the problem was a bad package... specifically the 1.0.3-2 debs for nfs-common and nfs-kernel-server. I replaced them with an older version and everything works great.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 8 09-22-2006 04:34 AM
mount the filesystem from the remote NFS server. UltraSoul Solaris / OpenSolaris 8 08-12-2005 08:51 AM
mount to NFS server 'ip addr' failed: server is down. timvand Linux - Networking 1 04-22-2005 03:03 PM
mount to NFS server '' failed: server is down rblampain Linux - Networking 2 01-14-2005 02:19 AM
Slow NFS mount, server questions dezza Linux - Networking 1 11-17-2004 03:49 AM

All times are GMT -5. The time now is 02:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration