LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-10-2007, 01:01 AM   #1
ajaz_javeed
LQ Newbie
 
Registered: Jan 2007
Posts: 24

Rep: Reputation: 15
mount: RPC: Timed out NFS RHEL4


Hello everyone,

I am facing issues in NFS. I have two machines "sys21" and "sys19". Both have RHEL4 installed and the portmap and NFS services running.

sys21]# showmount -e sys19
from sys21 lists the exported directories of sys19
similarly,
sys19]# showmount -e sys21
from sys19 lists the exported directories of sys21

There are no firewalls on both the machines and the SElinux is also disabled.

Now, sys19 is able to mount directories of sys21
sys19]# mount 192.168.0.21:/home/depts /mnt

The problem is with sys21
sys21]# mount 192.168.0.19:/home/ajaz /mnt
mount: RPC: Timed out

What could be the reason behind this ?
I have used various options of mount command like timo,hard,intr,rsize,wsize but no use, I am facing this issue from 3 days.

Please help me brothers.

Thanks and Regards
AJAZ

Last edited by ajaz_javeed; 04-10-2007 at 03:10 AM.
 
Old 04-10-2007, 11:09 AM   #2
Walman
Member
 
Registered: Jun 2004
Location: Venezuela
Distribution: RHEL ,Ubuntu, Slax, Kali
Posts: 95

Rep: Reputation: 15
Ajaz

Please , check if in /etc/hosts of sys21 you have added an entry for sys19 . Both machines have to be able to see each other .
 
Old 04-10-2007, 12:07 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by Walman
Ajaz

Please , check if in /etc/hosts of sys21 you have added an entry for sys19 . Both machines have to be able to see each other .
You should notice he's using the IP address in the mount command.

As for the timeout, check your logs, the error points to portmapper not running. Make sure all other services are running, the machines can reach one another, etc. But the logs for NFS are usually very verbose and should tell you what's going on if these machines can see one another.
 
Old 04-10-2007, 02:14 PM   #4
pbaldera
LQ Newbie
 
Registered: Nov 2005
Location: New York City
Distribution: RHEL3,4,5
Posts: 29

Rep: Reputation: 15
take a look at /etc/hosts.deny and /etc/hosts.allow. You might be blocking the service at the local server. You can try by commenting out the line on /etc/hosts.deny #ALL:ALL and see if it works.
 
Old 04-11-2007, 05:32 AM   #5
ajaz_javeed
LQ Newbie
 
Registered: Jan 2007
Posts: 24

Original Poster
Rep: Reputation: 15
Thanks everybody, for your prompt replies.

Where to check for NFS logs. I have seen the logs for both the systems in "/var/log/messages", nothing unusual.

Meanwhile, my friend changed the network card while I was editing this post. I am able to mount the sys19 partition on sys21 successfully, am the happiest person now.

Thank you once again for all those who participated
Bye

AJAZ
 
  


Reply



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
RPC timed out - NFS server geetha_sg Linux - Enterprise 1 09-30-2006 01:04 PM
RPC timed out - NFS server geetha_sg Linux - Enterprise 1 09-29-2006 05:13 PM
NFS + netapp filer + redhat 8 = rpc timed out..why?? iclies Linux - Networking 2 05-26-2006 06:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:24 PM.

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
Open Source Consulting | Domain Registration