View Full Version : NFS problems - mount -RPC errors
PorkChop
25th April 2004, 12:35 AM
I am trying to mount on my local system.
NFS is running on the server (georgia.garagemoderne.com)
/etc/exports on the server lists the correct hosts/adresses/aliases
Here is the error I get when trying to mount :
[root@ava gable]# mount georgia.gargagemoderne.com:/remote/gable /mnt/home
mount: can't get address for georgia.gargagemoderne.com
also rpcinfo command on the server or local machine gives a command not found error..?
Thank you -
PorkChop
kel
25th April 2004, 04:41 AM
This sound like you machine can't resolve the name "georgia..." to give an IP address. If you type
' $ nslookup georgia.gargagemoderne.com'
does your machine print out the correct IP?
If not, then a) you can add that information into /etc/hosts, b) you need to check your DNS nameserver has this machine has this machine in its database.
If so, c) check that your /etc/nsswitch.conf file has the correct settings for 'hosts' (check the HOWTOs at www.tldp.org to learn about this file and its use), d) make sure that the service 'portmap' is running.
PorkChop
25th April 2004, 02:28 PM
I got it working earlier.
There were several problems, mainly being permissions.
Thanks for the help...and mark this one RESOLVED.
PorkChop
PorkChop
6th May 2004, 09:33 PM
Ok. not RESOLVED....:(
I am still getting the error..
mount: RPC: Remote system error - No route to host
I do not have local DNS for my domain, is this neccesary? It was workign previously..
I can ping by hostname, ssh , etc...
Thank you -
PorkChop
PorkChop
13th May 2004, 09:26 PM
Here is the SERVER's rpcinfo -p
[root@georgia root]# rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32768 status
100024 1 tcp 32770 status
391002 2 tcp 32771 sgi_fam
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100021 1 udp 32785 nlockmgr
100021 3 udp 32785 nlockmgr
100021 4 udp 32785 nlockmgr
100021 1 tcp 32820 nlockmgr
100021 3 tcp 32820 nlockmgr
100021 4 tcp 32820 nlockmgr
100011 1 udp 710 rquotad
100011 2 udp 710 rquotad
100011 1 tcp 713 rquotad
100011 2 tcp 713 rquotad
100005 1 udp 718 mountd
100005 1 tcp 721 mountd
100005 2 udp 718 mountd
100005 2 tcp 721 mountd
100005 3 udp 718 mountd
100005 3 tcp 721 mountd
[root@georgia root] #
The error message is the same ...
[root@ava gable]# mount georgia.domain.com:/remote/pictures /mnt/pictures
mount: RPC: Remote system error - No route to host
[root@ava gable]#
Thank you -
PorkChop
ewdi
13th May 2004, 09:29 PM
the error means the hostname is not valid or your connection is not set, that's the only reason an nfs couldnt route to a host
PorkChop
13th May 2004, 10:34 PM
I tried by IP and now I get a different error :
[root@ava gable]# mount 192.168.1.100:/remote/pictures /mnt/pictures mount: RPC: Program not registered
[root@ava gable]#
I restarted NFS/Portmap on the server, both are set to run on level 3, and 5.
I can ssh to that IP no problem...
thank you-
PorkChop
bradthemad
14th May 2004, 07:41 AM
mount: RPC: Program not registered
Hmm, are you quite sure nfsd is running on the server? There should be several "[nfsd]" threads and an "rpc.mountd" in the server's process list, and "rpcinfo -p server" should include "nfs" and "mountd" entries.
PorkChop
14th May 2004, 11:10 AM
[root@georgia root]# rpcinfo -p georgia.domain.com
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
391002 2 tcp 32771 sgi_fam
100011 1 udp 641 rquotad
100011 2 udp 641 rquotad
100011 1 tcp 644 rquotad
100011 2 tcp 644 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100021 1 udp 32772 nlockmgr
100021 3 udp 32772 nlockmgr
100021 4 udp 32772 nlockmgr
100021 1 tcp 32780 nlockmgr
100021 3 tcp 32780 nlockmgr
100021 4 tcp 32780 nlockmgr
100005 1 udp 659 mountd
100005 1 tcp 662 mountd
100005 2 udp 659 mountd
100005 2 tcp 662 mountd
100005 3 udp 659 mountd
100005 3 tcp 662 mountd
100024 1 udp 32773 status
100024 1 tcp 32781 status
300019 1 tcp 981 amd
300019 1 udp 982 amd
[root@georgia root]#
And here is the client rpcinfo ....
[root@ava root]# rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32768 status
100024 1 tcp 32770 status
391002 2 tcp 32771 sgi_fam
100011 1 udp 844 rquotad
100011 2 udp 844 rquotad
100011 1 tcp 847 rquotad
100011 2 tcp 847 rquotad
[root@ava root]#
Am I missing anything...?
Thanks for all the help..
PorkChop
bradthemad
14th May 2004, 03:55 PM
That looks good... how about running a "rpcinfo -p georgia" on ava, to make sure the client can see all the services on the server?
Also, whenever you restart nfs (or nfslock, or any RPC service) make sure portmap is running BEFORE starting it back up. Stop portmap last, and start it first. Starting nfs before portmap will cause this same behavior.
PorkChop
14th May 2004, 06:28 PM
Here is rpcinfo -p
from ava -
[root@ava root]# rpcinfo -p 192.168.1.101
rpcinfo: can't contact portmapper: RPC: Remote system error - No route to host
[root@ava root]#
And now from georgia ...
[root@georgia root]# rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
391002 2 tcp 32771 sgi_fam
100011 1 udp 641 rquotad
100011 2 udp 641 rquotad
100011 1 tcp 644 rquotad
100011 2 tcp 644 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100021 1 udp 32772 nlockmgr
100021 3 udp 32772 nlockmgr
100021 4 udp 32772 nlockmgr
100021 1 tcp 32780 nlockmgr
100021 3 tcp 32780 nlockmgr
100021 4 tcp 32780 nlockmgr
100005 1 udp 659 mountd
100005 1 tcp 662 mountd
100005 2 udp 659 mountd
100005 2 tcp 662 mountd
100005 3 udp 659 mountd
100005 3 tcp 662 mountd
100024 1 udp 32773 status
100024 1 tcp 32781 status
300019 1 tcp 981 amd
300019 1 udp 982 amd
[root@georgia root]#
Is the order listed here the order the services were started?
Thanks for your help..
PorkChop
bradthemad
14th May 2004, 07:10 PM
[root@ava root]# rpcinfo -p 192.168.1.101
rpcinfo: can't contact portmapper: RPC: Remote system error - No route to host
Back to this again... how are these two machines connected? Are they on the same subnet? Does either have any iptables rules in effect?
Is the order listed here the order the services were started?
For the most part...
PorkChop
14th May 2004, 10:54 PM
I turned the firewall off on the server, and can now mount all the directories.
Now to figure out exactly which ports need to be open..
Thanks for everyones help!!!
PorkChop
PorkChop
15th May 2004, 01:24 AM
I just installed Firestarter, and configured it.
Now I have firewall, AND NFS...!!!!!
Thanks again..
PorkChop!
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.