LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-16-2010, 10:17 AM   #1
SenLinux
LQ Newbie
 
Registered: Dec 2009
Location: Burlington, VT
Distribution: RHEL 5, Fedora 11 and Ubuntu
Posts: 22

Rep: Reputation: 0
NFS mount Error: "System Error: Connection refused"


Hi, Greetings !

I am trying to nfs mount a directory from my server on another workstation and it is throwing up the following error.

mount: mount to NFS server 'craycx1' failed: System Error: Connection refused.

I edited /etc/exports file on the server with correct syntax and there is nothing in /etc/hosts.allow and /etc/hosts.deny.

I am able to ssh from client to server and vice versa successfully.

rcpinfo indicates that NFS server is running..

Please suggest me whatelse can be wrong ?

Thanks in advance for your time and support.

Sen
 
Old 10-16-2010, 02:01 PM   #2
johnshen64
LQ Newbie
 
Registered: Jun 2010
Posts: 29

Rep: Reputation: 5
what is the output of these commands in your nfs client?

rpcinfo -p craycx1
showmount -e craycx1

also, make sure you have no firewall blocking the ports in either client or the server.
 
Old 10-16-2010, 02:17 PM   #3
SenLinux
LQ Newbie
 
Registered: Dec 2009
Location: Burlington, VT
Distribution: RHEL 5, Fedora 11 and Ubuntu
Posts: 22

Original Poster
Rep: Reputation: 0
John:
thanks for the reply.

# rpcinfo -p craycx1

rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused

# showmount -e craycx1

mount clntudp_create: RPC: Port mapper failure - RPC: Unable to receive

I disabled firewall for NFS service, how to make sure that I did it correctly.
Can I check with any config file?

thanks again
 
Old 10-17-2010, 12:10 AM   #4
johnshen64
LQ Newbie
 
Registered: Jun 2010
Posts: 29

Rep: Reputation: 5
is portmapper running in the server? usually it should be something like /etc/init.d/portmap start.

start that in the client as well.

also, if you have nmap in the client, do a portscan to see which ports are open in the server.
 
Old 10-17-2010, 12:30 PM   #5
SenLinux
LQ Newbie
 
Registered: Dec 2009
Location: Burlington, VT
Distribution: RHEL 5, Fedora 11 and Ubuntu
Posts: 22

Original Poster
Rep: Reputation: 0
John,

portmapper server is running both in server and client machines. The problem is firewall !!. Currently
I disabled it for a moment and everything seems to be working now. I am able to mount the directory on client machine.
I am configuring firewall now.

Thanks for the support

Have a good weekend !

Sen
 
  


Reply

Tags
nfs


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
"Stale NFS file handle" mount error on a non-NFS /boot partition after running lilo cabrilo Slackware 4 09-14-2010 10:00 AM
Unable to NFS mount .ERROR (mount: RPC: Remote system error - Connection timed) pabba Linux - Networking 3 05-06-2010 01:09 PM
anybody familiar with this error "Xlib: connection to ":0.0" refused by server" ? rajnivanza Linux - Newbie 3 03-22-2009 06:10 PM
mount: mount to NFS server '192.168.0.3' failed: System Error: Connection refused. fakie_flip Linux - Server 1 04-10-2008 01:28 AM
ircd.conf: "Connection failed. Error: Connection refused" hamish Linux - Software 3 03-10-2005 08:23 AM


All times are GMT -5. The time now is 09:25 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration