November 23, 2024, 01:05:05 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: rpc timed out in nfs for redhat 9 linux  (Read 16218 times)

Offline Jayaraj

  • New Member
  • Posts: 1
rpc timed out in nfs for redhat 9 linux
« on: August 18, 2004, 01:31:44 PM »
I have loaded REDHAT 9.0,when i am conneting using nfs i could not connect.It is saying rpc time out......

Offline anil_garg5

  • Linux Learner
  • ***
  • Posts: 71
rpc timed out in nfs for redhat 9 linux
« Reply #1 on: August 27, 2004, 06:49:24 AM »
check whether ur portmap service running properly.
go thru /var/log/messages file for more details error reasons.
grep lines related to nfs .

Offline deven_01

  • Linux Learner
  • ***
  • Posts: 143
RPC problem
« Reply #2 on: April 29, 2005, 04:34:25 AM »
i have same problem with nfs
it gives not mounting server reason given is server cannot given permission

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
rpc timed out in nfs for redhat 9 linux
« Reply #3 on: April 29, 2005, 03:16:40 PM »
HI dear

Check ur /etc/exports file..
If its a permission error then it must be of /etc/exports file
Send me the contents of /etc/exports file, then i will guide you

Enjoy
Gaurav

Offline deven_01

  • Linux Learner
  • ***
  • Posts: 143
/etc/export
« Reply #4 on: April 30, 2005, 09:26:53 AM »
hi i will sending the content of my /etc/export file
#/opt/ltsp                192.168.0.0/255.255.255.0(ro,sync,no_root_squash)
#/var/opt/ltsp/swapfiles  192.168.0.0/255.255.255.0(rw,async,no_root_squash)

## LTSP-begin ##
#
# The lines between 'LTSP-begin' and 'LTSP-end' were added
# on: Sat Apr 30 07:09:07 2005, by the ltspcfg configuration tool.
# For more information, visit the LTSP homepage
# at http://www.LTSP.org
#

/opt/ltsp                 192.168.0.0/255.255.255.0(ro,no_root_squash,sync)
/var/opt/ltsp/swapfiles   192.168.0.0/255.255.255.0(rw,no_root_squash,async)

## LTSP-end ##

Offline deven_01

  • Linux Learner
  • ***
  • Posts: 143
RPC Problem
« Reply #5 on: May 02, 2005, 05:37:15 AM »
Hi Gaurav
I was done following trouble shooting related to NFS
rpcinfo -p 192.168.0.200
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp   1024  status
    100024    1   tcp   1025  status
this is on my server where 192.168.0.200 is my client
But when i run linux terminal server project on client machine it gives my following error
RPC mount failure
Not mounted /opt/ltsp:192.168.0.199 on /mnt/ of client machine
Reason given by server Permission Denied
Please if you have any solution help

Offline deven_01

  • Linux Learner
  • ***
  • Posts: 143
rpc timed out in nfs for redhat 9 linux
« Reply #6 on: May 02, 2005, 05:39:21 AM »
when i give following cmd on server it gives me following error   
[root@ws199 root]#showmount 192.168.0.200
mount clntudp_create: RPC: Program not registered

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
rpc timed out in nfs for redhat 9 linux
« Reply #7 on: May 02, 2005, 08:58:27 AM »
Hi TO ALL,
DO ONE THING ,  TRY THIS IN ALL OF YOUR MACHINES, THEN TELL WHEATHER THIS RUNS OR NOT.
Suppose u want to share /home dir of ur m/c then
open /etc/exports file
/home 192.168.2.180(rw)

save this file
  restart the services as:
#service portmap restart
#service nfs  restart
 After that go to ur client (ip-192.168.2.180)
give following command there as
#mount 192.168.2.182:/home /mnt

{ where 192.168.2.182 is ip-address of ur NFS server}
after that go to /mnt directory of client -mc

& check  its contents

it willl work definitly
Enjoy
Gaurav

Offline deven_01

  • Linux Learner
  • ***
  • Posts: 143
client is diskless
« Reply #8 on: May 02, 2005, 10:10:01 AM »
hi guarav
My client boot from floppy it is a diskless client so how can i do the mount command on this

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
rpc timed out in nfs for redhat 9 linux
« Reply #9 on: May 03, 2005, 04:26:51 AM »
Hi
I haven't worked on diskless clients but acc to me its same command
Regards
Gaurav

Offline deven_01

  • Linux Learner
  • ***
  • Posts: 143
rpc timed out in nfs for redhat 9 linux
« Reply #10 on: May 03, 2005, 05:22:03 AM »
hi guarava
thanks for your support
can you send some documentation for nfs i.e. PDF or online linux books on NFS

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
rpc timed out in nfs for redhat 9 linux
« Reply #11 on: May 03, 2005, 02:00:01 PM »
Check

http://www.siliconvalleyccie.com/linux-adv/nfs.htm

Enjoy
Gaurav

Offline deven_01

  • Linux Learner
  • ***
  • Posts: 143
hi i got somthing related to nfs
« Reply #12 on: May 04, 2005, 08:25:06 AM »
hi gaurav
I have two system both installed with linux server
on having DNS server
and my pc i.e my server is having DHCP,NFS,FTP, and other
my one server ip is 192.168.0.x
my another server ip is 192.168.0.199
my client ip is 192.168.200
my /etc/resolve.conf is following content
nameserver 192.168.0.254
my client machine having following
nameserver 192.168.0.199
may be b'coz of this its given me DNS forward doesn't match with DNS backward
can you able to tell me by reading this

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
rpc timed out in nfs for redhat 9 linux
« Reply #13 on: May 04, 2005, 08:37:20 AM »
I didn't understand ur previous mail , what u want 2 say??????????????

Gaurav

Offline deven_01

  • Linux Learner
  • ***
  • Posts: 143
rpc timed out in nfs for redhat 9 linux
« Reply #14 on: May 04, 2005, 08:43:08 AM »
i solved nfs problem by removing
portmap: all
from /etc/hosts.deny
but after this it gives me following error
DNS forward ip doesn't match with DNS backward ip