Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NFS Borken; RPC: failed to contact portmap (errno -5) [Solv]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
KWhat
l33t
l33t


Joined: 04 Sep 2005
Posts: 660
Location: Los Angeles

PostPosted: Fri Jan 18, 2008 4:47 am    Post subject: NFS Borken; RPC: failed to contact portmap (errno -5) [Solv] Reply with quote

Ok NFS magically stopped working (seems to be a common problem with gentoo these days).

No upgrade was done, not changes to the config on the server.





Client returns the following.

Quote:

#mount -t nfs 192.168.0.20:/mnt/data /mnt/server/data

mount: wrong fs type, bad option, bad superblock on euclid.1stleg.com:/mnt/data,
missing codepage or other error
In some cases useful info is found in syslog - try

dmesg and the message logs have nothing in them. Checking the message log on the server returns nothing about the incident however after restarting nfsd i get the error RPC: failed to contact portmap (errno -5). And the service returns OK. Pleased not that portmap is running and so is rpc.statd. iptables is disabled and the error still persists.

Again this randomly happened over night.

Ideas?


Last edited by KWhat on Fri Jan 18, 2008 4:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Fri Jan 18, 2008 5:18 am    Post subject: Reply with quote

rpcinfo -p 192.168.0.20

Does it show portmapper running?
Back to top
View user's profile Send private message
KWhat
l33t
l33t


Joined: 04 Sep 2005
Posts: 660
Location: Los Angeles

PostPosted: Fri Jan 18, 2008 5:55 am    Post subject: Reply with quote

yes it does... here is the strange thing, i installed nfs-utils on the client system and now it works... Very strange. I would still like to know whats causing this issue as it just showed up.


Code:

rpcinfo -p 192.168.0.20
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp   1030  status
    100024    1   tcp   4300  status
    100005    1   udp   1038  mountd
    100005    1   tcp   3406  mountd
    100005    2   udp   1038  mountd
    100005    2   tcp   3406  mountd
    100005    3   udp   1038  mountd
    100005    3   tcp   3406  mountd
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100021    1   udp   1039  nlockmgr
    100021    3   udp   1039  nlockmgr
    100021    4   udp   1039  nlockmgr
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Fri Jan 18, 2008 2:49 pm    Post subject: Reply with quote

Frankly, looking at contents of nfs-utils package I do not understand how it worked without it. :?
Back to top
View user's profile Send private message
KWhat
l33t
l33t


Joined: 04 Sep 2005
Posts: 660
Location: Los Angeles

PostPosted: Fri Jan 18, 2008 4:43 pm    Post subject: Reply with quote

From the docs i found it seemed to suggest that nfs-utils was not needed for only the simplest of nfs sharing... I guess i will chalk this one up to a quirk.

Thanks
Back to top
View user's profile Send private message
bastibasti
Guru
Guru


Joined: 27 Nov 2006
Posts: 590

PostPosted: Sun Jan 20, 2008 7:46 pm    Post subject: Reply with quote

same here. any solution yet?
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sun Jan 20, 2008 8:20 pm    Post subject: Reply with quote

bastibasti wrote:
same here. any solution yet?

This thread is marked Solved. If you need help tell us what's wrong with your network/computers.
Back to top
View user's profile Send private message
KWhat
l33t
l33t


Joined: 04 Sep 2005
Posts: 660
Location: Los Angeles

PostPosted: Tue Jan 22, 2008 8:03 am    Post subject: Reply with quote

bastibasti wrote:
same here. any solution yet?


Solution was to install nfs-utils.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum