You are not logged in.
Hi Archlinux gurus. Here is the main problem:
dan@danbook:~
$ sudo rpc.statd -Fd
rpc.statd: Version 1.2.2 starting
rpc.statd: Flags: No-Daemon Log-STDERR TI-RPC
sm-notify: Version 1.2.2 starting
sm-notify: Already notifying clients; Exiting!
rpc.statd: Local NSM state number: 3
rpc.statd: Failed to unregister program 100024, version 1
rpc.statd: Running as root. chown /var/lib/nfs to choose different user
rpc.statd: Failed to register (statd, 1, udp)
rpc.statd: Failed to register (statd, 1, tcp)
rpc.statd: Unrecognized bind address family: inet6
rpc.statd: Unrecognized bind address family: inet6
rpc.statd: failed to create RPC listeners, exiting
Google turned up one guy with the same problem on Paldo Linux, but no solutions.
Here's the background. I was cleaning out a bunch of old files on my fileserver, which I mount with NFS. Then I noticed my CPU pegged at 100%. It was famd. So I researched it and found that gamin might be better. I ran "pacman -S gamin" which uninstalled fam. Then I ran "pacman -Syu" since I saw some new updates. Here are the most recent updates that were applied:
-rw-r--r-- 1 root root 1758760 Jul 1 12:51 imagemagick-6.6.2.0-22-i686.pkg.tar.xz
-rw-r--r-- 1 root root 486576 Jun 30 18:39 curl-7.21.0-1-i686.pkg.tar.xz
-rw-r--r-- 1 root root 147884 Jun 30 12:50 perl-xml-parser-2.36-6-i686.pkg.tar.xz
-rw-r--r-- 1 root root 1950268 Jun 30 01:03 git-1.7.1.1-1-i686.pkg.tar.xz
-rw-r--r-- 1 root root 206736 Jun 30 00:24 udev-158-1-i686.pkg.tar.xz
-rw-r--r-- 1 root root 2952308 Jun 29 08:03 ffmpeg-23619-2-i686.pkg.tar.xz
-rw-r--r-- 1 root root 687480 Jun 28 12:41 ttf-liberation-1.05.3.20100621-1-any.pkg.tar.xz
-rw-r--r-- 1 root root 784436 Jun 27 07:02 firefox-3.6.6-1-i686.pkg.tar.xz
-rw-r--r-- 1 root root 540100 Jun 27 07:02 transmission-gtk-2.01-1-i686.pkg.tar.xz
-rw-r--r-- 1 root root 14179048 Jun 27 07:02 xulrunner-1.9.2.6-1-i686.pkg.tar.xz
-rw-r--r-- 1 root root 209012 Jun 27 02:29 libpng-1.4.3-1-i686.pkg.tar.xz
-rw-r--r-- 1 root root 102436 Jun 26 21:07 sudo-1.7.2p7-2-i686.pkg.tar.xz
-rw-r--r-- 1 root root 107648 Jun 26 10:25 libva-0.31.0_p13-1-i686.pkg.tar.xz
-rw-r--r-- 1 root root 28980 Jun 26 10:25 vdpau-video-0.6.9-1-i686.pkg.tar.xz
-rw-r--r-- 1 root root 184340 Jun 26 08:18 m4-1.4.14-2-i686.pkg.tar.xz
-rw-r--r-- 1 root root 7442376 Jun 25 04:54 smbclient-3.5.4-1-i686.pkg.tar.xz
-rw-r--r-- 1 root root 4483884 Jun 25 03:00 man-pages-3.25-1-any.pkg.tar.xz
-rw-r--r-- 1 root root 7339796 Jun 25 02:25 glibc-2.12-4-i686.pkg.tar.xz
-rw-r--r-- 1 root root 9077856 Jun 24 18:33 thunderbird-3.1-2-i686.pkg.tar.xz
-rw-r--r-- 1 root root 617138 Jun 24 13:36 pacman-3.4.0-2-i686.pkg.tar.gz
-rw-r--r-- 1 root root 138604 Jun 24 06:17 udisks-1.0.1-3-i686.pkg.tar.xz
So nfs-utils, which contains rpc.statd, was not touched. The only one I sortof suspect is udev. But I'm really stuck. I've reinstalled nfs-utils. And I have restarted NFS on the server side.
Thanks for any guidance.
-Dan
Last edited by danh337 (2010-07-05 10:11:10)
Offline
it could be that NFS isnt able to work properly with gamin, at least the binaries compiled for archlinux. try reinstalling fam, and then see if nfs still works. if it works, it could be that an error with the gamin package. try compiling gamin and/or nfs from source to see if it works then.
Offline
i use gamin and nfs both in the newest versions and they work fine. Did you try NFS4?
no place like /home
github
Offline
I think you've incorrectly diagnosed the problem as being related to your switch from fam to gamin. The errors from starting rpc are fairly informative.
Who owns /var/lib/nfs?
There's also some funny business with ipv6 going on...
Last edited by falconindy (2010-07-04 17:29:25)
Offline
Thanks all for your responses. This was a weird issue but is now resolved. I use autofs for my mounts, and I never had to start "nfs-common" before. Now I do. I shouldn't really call it "solved", since I don't know exactly what broke it (unless fam also started dependencies for rpc.statd <shrug>).
FWIW, it appears that starting nfs-common simply starts rpcbind before rpc.statd, and it's happy. The rpc.statd error message could've been a bit more helpful on that one. But my NFS is working again, so, cheers.
And BTW, Arch is the best Linux I've ever used, going all the way back to 1996.
Last edited by danh337 (2010-07-05 10:12:22)
Offline