Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Servers Support => Topic started by: yasir453 on February 02, 2010, 07:24:13 AM

Title: nfs server issue
Post by: yasir453 on February 02, 2010, 07:24:13 AM
dear All
me using redhat on server machine and open suse on client machine.i have installed nfs server and and it is running properly but when i want to mount shares from my client machine it gives the following error.
"mount.nfs: mount to NFS server '10.3.31.146:/share' failed: System Error: No route to host"
both systems ping each other and firewall is also disabled.
another problem is when i remotely access from my server machine to client machine it gives the following error
ssh:connect to host 10.3.31.147 port  22:connection refused

what can be the problem?
Title: Re: nfs server issue
Post by: pedro on February 02, 2010, 02:15:34 PM
Could you post the commands you use?

The error "No route to host" is a network issue. Nothing to do with nfs. My guess with the information you provide is that the default gateway in the client is not properly configured. Are they in the same network? Is the firewall (iptables) down in both machines?

The "connection refused" message is a good sign that the Server can connect to the client, but the client does not have a ssh service running, or it's configured to not accept connections.

Also, for nfs server, you need to properly configure the /etc/exports file... or similar.

HTH,

Pedro.
Title: Re: nfs server issue
Post by: neerp2000 on February 03, 2010, 07:10:54 PM
dear all,
  this is network issue or port is block.
 first of all do this
1:- iptables -F
2:- iptables-save
after that restart ur nfs & portmap service.
and also check ur gateway.
Title: Re: nfs server issue
Post by: dragoncity99 on February 05, 2010, 08:48:46 AM
I suggest do diagnosis:

1. showmount -e nfs_server_ip

2. check network routing table

3. check nfs server is pingable

4. ensure nfs service, portmap are both on