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.
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.
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?
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.
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 !
|All times are GMT -5. The time now is 10:27 PM.|