LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-09-2003, 02:27 PM   #1
JahToasted
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, 09:13 PM   #2
mlp68
Member
 
Registered: Jun 2002
Location: NY
Distribution: Gentoo,RH
Posts: 333

Rep: Reputation: 40
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,
mlp
 
Old 09-10-2003, 02:51 PM   #3
JahToasted
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, 03:43 PM   #4
JahToasted
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.

http://www.mail-archive.com/debian-u.../msg49880.html
 
  


Reply


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 13 04-11-2016 11:30 PM
mount the filesystem from the remote NFS server. UltraSoul Solaris / OpenSolaris 8 08-12-2005 07:51 AM
mount to NFS server 'ip addr' failed: server is down. timvand Linux - Networking 1 04-22-2005 02:03 PM
mount to NFS server '192.168.1.13' failed: server is down rblampain Linux - Networking 2 01-14-2005 01:19 AM
Slow NFS mount, server questions dezza Linux - Networking 1 11-17-2004 02:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:01 AM.

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