Networking Forums

Networking Forums > Computer Networking > Linux Networking > NFS mount : RPC : Timed out on RedHat 9

Reply
Thread Tools Display Modes

NFS mount : RPC : Timed out on RedHat 9

 
 
JoeAley2003
Guest
Posts: n/a

 
      12-14-2003, 01:23 AM
Hi all.

I just installed redhat 9 on two machines and mount gives me RPC :
Timed out on client machine and on local it mounts ok.

Ex:

mount -t nfs 127.0.0.1:/mnt/test /mnt/test2 -> Works!!!(LOCAL)
mount -t nfs 192.168.0.2:/mnt/teste /mnt/teste2 -> NOPE! (ON CLIENT)

Since i checked export.conf
/mnt/test 192.168.0.2(ro)
/mnt/test 127.0.0.1(ro)

and my hosts.allow is

portmap:ALL
lockd:ALL
mountd:ALL
rquotad:ALL
statd:ALL

i can only think on a firewall. So, i stopped iptables and ip6tables
(i think they are the same, but i stopped both buy the way) and it's
still not working.

I installed redhat with high security level, but in my linuxconf there
is no firewalling rule on. I checked it all.

So, how can i know and stop ALL firewalling on my machine?

What are the services i have to restart? I restarted all buy the way
and it is still not working...

Thank You!
 
Reply With Quote
 
 
 
 
reh
Guest
Posts: n/a

 
      12-14-2003, 10:11 PM
JoeAley2003 wrote:

> Hi all.
>
> I just installed redhat 9 on two machines and mount gives me RPC :
> Timed out on client machine and on local it mounts ok.
>
> Ex:
>
> mount -t nfs 127.0.0.1:/mnt/test /mnt/test2 -> Works!!!(LOCAL)
> mount -t nfs 192.168.0.2:/mnt/teste /mnt/teste2 -> NOPE! (ON CLIENT)
>
> Since i checked export.conf
> /mnt/test 192.168.0.2(ro)
> /mnt/test 127.0.0.1(ro)
>
> and my hosts.allow is
>
> portmap:ALL
> lockd:ALL
> mountd:ALL
> rquotad:ALL
> statd:ALL
>
> i can only think on a firewall. So, i stopped iptables and ip6tables
> (i think they are the same, but i stopped both buy the way) and it's
> still not working.
>
> I installed redhat with high security level, but in my linuxconf there
> is no firewalling rule on. I checked it all.
>
> So, how can i know and stop ALL firewalling on my machine?
>
> What are the services i have to restart? I restarted all buy the way
> and it is still not working...
>
> Thank You!


Try to flush the iptables, # iptables -F
And make sure all required services are turned on the client. Guarddog
is really good firewall. Always had good luck with it. I had this RPC
problem once, IIRC, it was the firewall.
--
robert - redhat & slackware

 
Reply With Quote
 
JoeAley2003
Guest
Posts: n/a

 
      12-15-2003, 01:49 PM
reh <(E-Mail Removed)> wrote in message

> Try to flush the iptables, # iptables -F
> And make sure all required services are turned on the client. Guarddog
> is really good firewall. Always had good luck with it. I had this RPC
> problem once, IIRC, it was the firewall.


Yes, i restarted iptables and nothing...

What do you mean on guarddog? If i allow all packets in this software
means that my system will allow all? It will configure my linux or it
works independent?

If i have a problem now with a firewall, this guarddog can only make
it higher, unless it configures my linux...

Am I right?
 
Reply With Quote
 
jth
Guest
Posts: n/a

 
      12-15-2003, 06:13 PM
Do you run portmap on both machines?
 
Reply With Quote
 
JoeAley2003
Guest
Posts: n/a

 
      12-16-2003, 03:00 AM
jth <(E-Mail Removed)> wrote in message
> Do you run portmap on both machines?


Yes. I run portmap on both machines...

I can mount it local...

root> rpcinfo -u 127.0.0.1 nfs -> OK on both!!!

root> rpcinfo -u 192.168.0.2(1) nfs -> Error on both!!!

I still think it's a firewall problem...

But, how can i be sure? How can i disable all firewalling?
 
Reply With Quote
 
Nigel Wade
Guest
Posts: n/a

 
      12-16-2003, 03:28 PM
JoeAley2003 wrote:
> jth <(E-Mail Removed)> wrote in message
>
>>Do you run portmap on both machines?

>
>
> Yes. I run portmap on both machines...
>
> I can mount it local...
>
> root> rpcinfo -u 127.0.0.1 nfs -> OK on both!!!
>
> root> rpcinfo -u 192.168.0.2(1) nfs -> Error on both!!!
>
> I still think it's a firewall problem...
>
> But, how can i be sure? How can i disable all firewalling?


On RedHat 9:

# service iptables stop
or
# /etc/init.d/iptables stop

if you are using iptables, that is. It's the default, so unless you've chose
to use something else that's what RH will be using.

--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : (E-Mail Removed)
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555

 
Reply With Quote
 
The Saint
Guest
Posts: n/a

 
      12-16-2003, 07:02 PM
JoeAley2003 wrote:

>jth <(E-Mail Removed)> wrote in message
>> Do you run portmap on both machines?

>
>Yes. I run portmap on both machines...
>
>I can mount it local...
>
>root> rpcinfo -u 127.0.0.1 nfs -> OK on both!!!
>
>root> rpcinfo -u 192.168.0.2(1) nfs -> Error on both!!!
>
>I still think it's a firewall problem...
>
>But, how can i be sure? How can i disable all firewalling?


The easiest way is to run a script similar to this one:

#!/bin/bash
#
# Flush Chains
iptables -F
iptables -X
iptables -Z
# Set Policies
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT

 
Reply With Quote
 
JoeAley2003
Guest
Posts: n/a

 
      12-16-2003, 10:41 PM
Nigel Wade <(E-Mail Removed)> wrote in message

> if you are using iptables, that is. It's the default, so unless you've chose
> to use something else that's what RH will be using.


Yes, i stopped iptables and nothing done...

I installed the radhat 9 on both with security option level = medium

After this problem, i clicked -> system settings -> security level ->
no firewall -> close.

Then, i restarted all process listed in services.

Still not working...

Any hints?
 
Reply With Quote
 
jth
Guest
Posts: n/a

 
      12-17-2003, 03:07 AM
> Still not working...
>
> Any hints?


Can you ping those addresses and what does ifconfig say?
 
Reply With Quote
 
JoeAley2003
Guest
Posts: n/a

 
      12-17-2003, 01:12 PM
jth <(E-Mail Removed)> wrote in message news:<(E-Mail Removed) >...
> > Still not working...
> >
> > Any hints?

>
> Can you ping those addresses and what does ifconfig say?



Yes, i can ping in both machines.

////---------------------- IFCONFIG ------------------------////

eth0 Link encap:Ethernet HWaddr 00:A0:18:05:41:E8
inet addr:X.X.X.X Bcast:255.255.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5435085 errors:0 dropped:0 overruns:0 frame:0
TX packets:6070810 errors:0 dropped:0 overruns:0 carrier:0
collisions:67862 txqueuelen:100
RX bytes:3452995678 (3293.0 Mb) TX bytes:271305469 (258.7
Mb)
Interrupt:12 Base address:0xd400

eth1 Link encap:Ethernet HWaddr 00:E0:7D:96:47:50
inet addr:192.168.0.1 Bcast:192.168.0.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1130614 errors:7 dropped:0 overruns:0 frame:0
TX packets:493801 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1692122834 (1613.7 Mb) TX bytes:33628546 (32.0 Mb)
Interrupt:9 Base address:0x6000

eth2 Link encap:Ethernet HWaddr 00:05:1C:01:4B:BF
inet addr:193.168.0.1 Bcast:193.168.0.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:47177 errors:0 dropped:0 overruns:0 frame:516
TX packets:44768 errors:0 dropped:0 overruns:0 carrier:0
collisions:4 txqueuelen:100
RX bytes:6594259 (6.2 Mb) TX bytes:21102066 (20.1 Mb)
Interrupt:11 Base address:0x9400

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2816603 errors:0 dropped:0 overruns:0 frame:0
TX packets:2816603 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:216033970 (206.0 Mb) TX bytes:216033970 (206.0 Mb)

/////---------------------------------------------------------//////////

Where eth0 is the internet conection, eth1 is the subnet where are
discussing and eth2 is another subnet.


///////////////////-------- RPCINFO -p
------------------/////////////


program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32859 status
100024 1 tcp 53079 status
391002 2 tcp 47663 sgi_fam
100011 1 udp 927 rquotad
100011 2 udp 927 rquotad
100011 1 tcp 930 rquotad
100011 2 tcp 930 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100021 1 udp 32933 nlockmgr
100021 3 udp 32933 nlockmgr
100021 4 udp 32933 nlockmgr
100005 1 udp 32934 mountd
100005 1 tcp 47672 mountd
100005 2 udp 32934 mountd
100005 2 tcp 47672 mountd
100005 3 udp 32934 mountd
100005 3 tcp 47672 mountd


//////////////----------------------------------------------------------////////
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mount mount file system using nfs Jim Anderson Linux Networking 2 07-16-2008 09:19 PM
HELP with autofs and NIS: How to override mount options on all mount points? theosib@gmail.com Linux Networking 0 03-04-2006 09:12 PM
NFS - mount: RPC: Timed out - how to increase timeout martin.woolley@misys.com Linux Networking 3 12-16-2005 11:19 PM
NFS mount won't mount at boot, but mount -a works fine. BT Linux Networking 2 09-23-2004 09:37 PM
mount: RPC: Timed out ??? RAFA Linux Networking 2 06-05-2004 04:52 AM



1 2 3 4 5 6 7 8 9 10 11