Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have fedora based linux machines in a closed network. In one of the lab machines, I am getting the below error.

Mount to NFS server failed. System error: No route to host

I restarted the nfs, nfslock and portmap services. I restarted the iptables service. I also disabled the iptables service and restarted the machine. I compared the contents of the below files from another perfectly working client.

/etc/hosts.allow 
/etc/sysconfig/iptables
/etc/fstab

ping/ssh from the affected machine to the server and other clients is working fine. rpcinfo -p gives the same output as I get in the other client machines.

share|improve this question

closed as unclear what you're asking by Gilles, slm, rahmu, Anthon, Chris Down Dec 11 '13 at 7:54

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Are you able to telnet/ping/traceroute to the NFS server? –  Karlson Dec 10 '13 at 19:44
    
Refer this link for No route to the host issue cyberciti.biz/tips/no-route-to-host-error-and-solution.html –  Rahul Patil Dec 10 '13 at 20:06
1  
All the commands mentioned in the link seem to be working fine. Also, am able to telnet/ping/traceroute to the NFS server. –  Ramesh Dec 10 '13 at 20:35

1 Answer 1

up vote 0 down vote accepted

I did the command service autofs restart once the system booted. I was able to login as the LDAP user with the user's home directory getting mounted from the centralized server. I believe when the system was booting, the NFS was not ready and that is the reason I was getting mount to NFS server failed.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.