You are not logged in.

#1 2010-07-25 02:38:47

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Strange NFS problem

So I am a bit hungover today so maybe I did something stupid but I can't work out what it was.
Seriously, I didn't change or touch anything. All I did was a `mpd --create-db` and then my nfs would no longer mount. When I a `sudo mount -a` I got this message.

[ty@donna ~]$ sudo mount -a
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified

In /var/log/errors.log there is this.

Jul 25 12:00:44 donna rpcbind: cannot get local address for udp: Servname not supported for ai_socktype
Jul 25 12:00:44 donna rpcbind: cannot get local address for tcp: Servname not supported for ai_socktype
Jul 25 12:00:44 donna rpcbind: cannot get local address for udp6: Servname not supported for ai_socktype
Jul 25 12:00:44 donna rpcbind: cannot get local address for tcp6: Servname not supported for ai_socktype

Restarting rpcbind did nothing. All I could do to get it to start again was add `nolock` to the fstab entry.

I swear I didn't do anything, not even a system upgrade. And it was working before I ran `mpd --create-db` because I was listening to music before I did it.

Very strange. Any ideas why this happened?


neutral

Offline

#2 2010-07-25 07:57:36

vanDake
Member
From: Russia, Moscow
Registered: 2009-02-05
Posts: 2

Re: Strange NFS problem

same problem here
same symptoms

Offline

#3 2010-07-25 08:49:58

vanDake
Member
From: Russia, Moscow
Registered: 2009-02-05
Posts: 2

Re: Strange NFS problem

so problem in new package iana-etc. because /etc/services was removed from filesystem package
in first look services in old-filesystem and new iana-etc does not diff in rpc part, but if I change /etc/services by adding rpcbind 111/{tcp|udp} it works.

I dont know is it bug or not

$ diff -Naur /etc/services tmp/services 
--- /etc/services    2010-07-24 03:10:40.000000000 +0400
+++ tmp/services    2010-07-25 12:37:27.278819259 +0400
@@ -405,8 +405,10 @@
 pop3            110/tcp    # Post Office Protocol - Version 3
 pop3            110/udp    # Post Office Protocol - Version 3
 #                          Marshall Rose <mrose&dbc.mtview.ca.us>
-sunrpc          111/tcp    # SUN Remote Procedure Call
-sunrpc          111/udp    # SUN Remote Procedure Call
+rpcbind         111/tcp
+rpcbind         111/udp
+#sunrpc          111/tcp    # SUN Remote Procedure Call
+#sunrpc          111/udp    # SUN Remote Procedure Call
 #                          Chuck McManis <cmcmanis&freegate.net>
 mcidas          112/tcp    # McIDAS Data Transmission Protocol
 mcidas          112/udp    # McIDAS Data Transmission Protocol

Last edited by vanDake (2010-07-25 08:50:47)

Offline

#4 2010-07-25 10:20:41

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: Strange NFS problem

vanDake wrote:

so problem in new package iana-etc. because /etc/services was removed from filesystem package
in first look services in old-filesystem and new iana-etc does not diff in rpc part, but if I change /etc/services by adding rpcbind 111/{tcp|udp} it works.

I dont know is it bug or not

$ diff -Naur /etc/services tmp/services 
--- /etc/services    2010-07-24 03:10:40.000000000 +0400
+++ tmp/services    2010-07-25 12:37:27.278819259 +0400
@@ -405,8 +405,10 @@
 pop3            110/tcp    # Post Office Protocol - Version 3
 pop3            110/udp    # Post Office Protocol - Version 3
 #                          Marshall Rose <mrose&dbc.mtview.ca.us>
-sunrpc          111/tcp    # SUN Remote Procedure Call
-sunrpc          111/udp    # SUN Remote Procedure Call
+rpcbind         111/tcp
+rpcbind         111/udp
+#sunrpc          111/tcp    # SUN Remote Procedure Call
+#sunrpc          111/udp    # SUN Remote Procedure Call
 #                          Chuck McManis <cmcmanis&freegate.net>
 mcidas          112/tcp    # McIDAS Data Transmission Protocol
 mcidas          112/udp    # McIDAS Data Transmission Protocol

Thanks a lot!


neutral

Offline

#5 2010-07-25 11:31:56

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Strange NFS problem

Shouldn't this rather be filed as a bug report too? Something is out of sync between our packages and the iana stuff at least...

Edit: and this is [Testing], so moving to the appropriate subforum.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#6 2010-07-25 19:24:37

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Strange NFS problem

Already reported when I finally figured out what was causing it.

http://bugs.archlinux.org/task/20273

@vanDake: the layout of the /etc/services file allows for aliases. Rather than replacing sunrpc, alias rpcbind to it. I had suspected this, but it didn't initially work (got some socket in use errors). Seems to have just been rpcbind being a little slow to really unbind itself.

edit: ...and you posted the alias on the bug report.

Last edited by falconindy (2010-07-25 19:25:19)

Offline

Board footer

Powered by FluxBB