March 28, 2024, 01:40:58 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: nfs server issue  (Read 3474 times)

Offline yasir453

  • Linux Noob !
  • *
  • Posts: 5
nfs server issue
« 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?

Offline pedro

  • Linux Noob !
  • *
  • Posts: 14
Re: nfs server issue
« Reply #1 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.

Offline neerp2000

  • Linux Noob !
  • *
  • Posts: 4
Re: nfs server issue
« Reply #2 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.

Offline dragoncity99

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 551
Re: nfs server issue
« Reply #3 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