summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-September/018822.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-September/018822.html')
-rw-r--r--zarb-ml/mageia-dev/2012-September/018822.html264
1 files changed, 264 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-September/018822.html b/zarb-ml/mageia-dev/2012-September/018822.html
new file mode 100644
index 000000000..8e0f3ee44
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-September/018822.html
@@ -0,0 +1,264 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] Any progress on the NFS mount problem?
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Any%20progress%20on%20the%20NFS%20mount%20problem%3F&In-Reply-To=%3C505CB533.40400%40googlemail.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="018814.html">
+ <LINK REL="Next" HREF="018824.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] Any progress on the NFS mount problem?</H1>
+ <B>Anne Wilson</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Any%20progress%20on%20the%20NFS%20mount%20problem%3F&In-Reply-To=%3C505CB533.40400%40googlemail.com%3E"
+ TITLE="[Mageia-dev] Any progress on the NFS mount problem?">cannewilson at googlemail.com
+ </A><BR>
+ <I>Fri Sep 21 20:42:59 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="018814.html">[Mageia-dev] Any progress on the NFS mount problem?
+</A></li>
+ <LI>Next message: <A HREF="018824.html">[Mageia-dev] Any progress on the NFS mount problem? - One step further
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#18822">[ date ]</a>
+ <a href="thread.html#18822">[ thread ]</a>
+ <a href="subject.html#18822">[ subject ]</a>
+ <a href="author.html#18822">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+On 20/09/12 21:37, Guillaume Rousse wrote:
+&gt;<i> Le 20/09/2012 20:17, Anne Wilson a &#233;crit :
+</I>&gt;&gt;&gt;&gt;<i> Looks as though the problem relates to rpc on the server. I
+</I>&gt;&gt;&gt;&gt;<i> don't mind doing the digging, but can you point me to the
+</I>&gt;&gt;&gt;&gt;<i> right place to start the hole?
+</I>&gt;&gt;&gt;<i> I'd try to understand why the nfs daemon (rpc.nfsd) is
+</I>&gt;&gt;&gt;<i> listening on IPv6 only, whereas the mount daemon (rpc.mountd)
+</I>&gt;&gt;&gt;<i> is listening both on IPv4 and IPv6.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;<i> Where is that configured?
+</I>&gt;<i> There is no such 'use IPv6 only' configuration option AFAIK, this
+</I>&gt;<i> seems rather like a problem. Maybe not specific to NFS, BTW.
+</I>&gt;<i>
+</I>&gt;<i> There is no --verbose flag for rpc.nfsd, but you may use rpcdebug
+</I>&gt;<i> instead: rpcdebug -m nfsd -s all
+</I>&gt;<i>
+</I>&gt;<i> Then, restart the nfs-server service, and check your logs.
+</I>&gt;<i>
+</I>Sep 21 19:18:05 borg2 nfs-server[4320]: /etc/sysconfig/nfs-server:
+line 11: -d: command not found
+Sep 21 19:18:05 borg2 nfs-server[4320]: Stopping NFS kernel daemon
+Sep 21 19:18:05 borg2 rpc.mountd[1765]: Caught signal 15,
+un-registering and exiting.
+Sep 21 19:18:05 borg2 nfs-server[4320]: Stopping rpc.mountd:[ OK ]
+Sep 21 19:18:08 borg2 kernel: [110004.094558] nfsd: freeing readahead
+buffers.
+Sep 21 19:18:08 borg2 kernel: [110004.095309] nfsd: last server has
+exited, flushing export cache
+Sep 21 19:18:08 borg2 nfs-server[4320]: Stopping nfsd:[ OK ]
+Sep 21 19:18:08 borg2 nfs-server[4320]: Unexporting directories for
+NFS kernel daemon...
+Sep 21 19:18:08 borg2 nfs-server[4359]: /etc/sysconfig/nfs-server:
+line 11: -d: command not found
+Sep 21 19:18:08 borg2 nfs-server[4359]: Exporting directories for NFS
+kernel daemon...
+Sep 21 19:18:08 borg2 nfs-server[4359]: Starting NFS kernel daemon
+Sep 21 19:18:08 borg2 nfs-server[4359]: Starting nfsdrpc.nfsd: unable
+to bind inet TCP socket: errno 98 (Address already in use)
+Sep 21 19:18:08 borg2 kernel: [110004.460625] set_max_drc
+nfsd_drc_max_mem 765952
+Sep 21 19:18:08 borg2 kernel: [110004.461595] nfsd: creating service
+Sep 21 19:18:08 borg2 kernel: [110004.461601] nfsd: allocating 32
+readahead buffers.
+Sep 21 19:18:08 borg2 kernel: [110004.461624] NFSD: Using
+/var/lib/nfs/v4recovery as the NFSv4 state recovery directory
+Sep 21 19:18:08 borg2 kernel: [110004.461677] NFSD: starting 90-second
+grace period
+Sep 21 19:18:08 borg2 nfs-server[4359]: [ OK ]
+Sep 21 19:18:09 borg2 nfs-server[4359]: Reloading rpc.idmapd[ OK ]
+Sep 21 19:18:09 borg2 rpc.mountd[4403]: Version 1.2.5 starting
+Sep 21 19:18:09 borg2 nfs-server[4359]: Starting rpc.mountd[ OK ]
+Sep 21 19:19:39 borg2 kernel: [110094.560075] NFSD: laundromat service
+- - starting
+Sep 21 19:19:39 borg2 kernel: [110094.560086] NFSD: end of grace period
+Sep 21 19:19:39 borg2 kernel: [110094.580278] NFSD: laundromat_main -
+sleeping for 90 seconds
+Sep 21 19:21:06 borg2 dovecot: imap-login: Disconnected (no auth
+attempts): rip=192.168.0.40, lip=192.168.0.40, TLS handshaking:
+Disconnected
+Sep 21 19:21:09 borg2 kernel: [110184.800046] NFSD: laundromat service
+- - starting
+Sep 21 19:21:09 borg2 kernel: [110184.800060] NFSD: laundromat_main -
+sleeping for 90 seconds
+Sep 21 19:22:39 borg2 kernel: [110275.040069] NFSD: laundromat service
+- - starting
+Sep 21 19:22:39 borg2 kernel: [110275.040083] NFSD: laundromat_main -
+sleeping for 90 seconds
+Sep 21 19:24:09 borg2 kernel: [110365.280038] NFSD: laundromat service
+- - starting
+Sep 21 19:24:09 borg2 kernel: [110365.280047] NFSD: laundromat_main -
+sleeping for 90 seconds
+
+The Line 11 that it complains about says
+
+RPCMOUNTD_OPTIONS=&quot;--port 4003&quot; -d
+
+I *don't think* I edited that, but after all the reading around I've
+done it is just possible that I did. I do feel, though that I saw
+that port mentioned and felt that I shouldn't edit it, since I haven't
+a clue which of the many ports mentioned in the logs is the one it's
+expecting. Sorry I can be more specific. I've removed the '-d' and
+restarted.
+
+Sep 21 19:30:06 borg2 nfs-server[5169]: Stopping NFS kernel daemon
+Sep 21 19:30:06 borg2 rpc.mountd[4403]: Caught signal 15,
+un-registering and exiting.
+Sep 21 19:30:06 borg2 nfs-server[5169]: Stopping rpc.mountd:[ OK ]
+Sep 21 19:30:09 borg2 kernel: [110725.276891] nfsd: freeing readahead
+buffers.
+Sep 21 19:30:09 borg2 kernel: [110725.277654] nfsd: last server has
+exited, flushing export cache
+Sep 21 19:30:09 borg2 nfs-server[5169]: Stopping nfsd:[ OK ]
+Sep 21 19:30:09 borg2 nfs-server[5169]: Unexporting directories for
+NFS kernel daemon...
+Sep 21 19:30:10 borg2 nfs-server[5208]: Exporting directories for NFS
+kernel daemon...
+Sep 21 19:30:10 borg2 nfs-server[5208]: Starting NFS kernel daemon
+Sep 21 19:30:10 borg2 nfs-server[5208]: Starting nfsdrpc.nfsd: unable
+to bind inet TCP socket: errno 98 (Address already in use)
+Sep 21 19:30:10 borg2 kernel: [110725.681229] set_max_drc
+nfsd_drc_max_mem 765952
+Sep 21 19:30:10 borg2 kernel: [110725.683544] nfsd: creating service
+Sep 21 19:30:10 borg2 kernel: [110725.683551] nfsd: allocating 32
+readahead buffers.
+Sep 21 19:30:10 borg2 kernel: [110725.683569] NFSD: Using
+/var/lib/nfs/v4recovery as the NFSv4 state recovery directory
+Sep 21 19:30:10 borg2 kernel: [110725.683610] NFSD: starting 90-second
+grace period
+Sep 21 19:30:10 borg2 nfs-server[5208]: [ OK ]
+Sep 21 19:30:10 borg2 nfs-server[5208]: Reloading rpc.idmapd[ OK ]
+Sep 21 19:30:10 borg2 rpc.mountd[5251]: Version 1.2.5 starting
+Sep 21 19:30:10 borg2 nfs-server[5208]: Starting rpc.mountd[ OK ]
+
+That looks better, I think? However, 'mount -a' on the client still
+doesn't connect.
+
+&gt;&gt;&gt;<i> BTW, you're also lacking rpc.idmapd, which is mandatory for
+</I>&gt;&gt;&gt;<i> NFSv4 support, but that's a secondary issue.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;<i> I've done a lot of googling, and most of what I found was
+</I>&gt;&gt;<i> ubuntu-specific. However, I found a recent entry saying that it
+</I>&gt;&gt;<i> is provided by nfs-utils - that that is installed. nfs-common
+</I>&gt;&gt;<i> and nfs-server are both running, according to mcc.
+</I>&gt;<i> nfs-common service, as 90% of similar services, use an
+</I>&gt;<i> /etc/sysconfig/nfs-common congiguration file. Just set NEEDIDMAPD
+</I>&gt;<i> to yes to ensure it runs.
+</I>&gt;<i>
+</I>&gt;<i> Also, you'd better forget GUIs when trying to debug issue, and
+</I>&gt;<i> ressort to command line instead, you'll have much more control and
+</I>&gt;<i> feedback.
+</I>&gt;<i>
+</I>That's fine. I prefer the command line where it is an area that I've
+used before, but I'm nervous of it when I don't really know what I'm
+doing, and assume that MCC will safeguard against my errors.
+
+&gt;&gt;<i> Following another lead, I tried to locate nfsmount.conf and
+</I>&gt;&gt;<i> found that I had a backup containing it, and a man page, but no
+</I>&gt;&gt;<i> actual file.
+</I>&gt;<i> That's an interesting point, it means your actual setup differs
+</I>&gt;<i> from the default package one. Try 'rpm --verify nfs-utils' and
+</I>&gt;<i> 'rpm --verify nfs-utils-client' to check what has been modified
+</I>&gt;<i> exactly.
+</I>&gt;<i>
+</I>&gt;&gt;<i> This is incredibly difficult. Users shouldn't have to jump
+</I>&gt;&gt;<i> through this number of hoops to do something so basic to
+</I>&gt;&gt;<i> productivity :-(
+</I>&gt;<i> I'm not sure what users should have to do or not, but I'm quite
+</I>&gt;<i> sure this kind of imprecations won't help you solve the issue.
+</I>&gt;<i>
+</I>Of course :-) but you have to admit it was a pretty mild statement of
+my frustration :-)
+
+&gt;<i> If everything else fails, you may also inhibit IPv6 completly:
+</I>
+I doubt if that would cause any problems - at least not for some time yet.
+
+&gt;<i> just add 'install ipv6 /bin/true' in any file under
+</I>&gt;<i> /etc/modprobe.d, and reboot.
+</I>&gt;<i>
+</I>Really? That sounds counter-intuitive. Can you explain?
+
+And if I inhibit IPv6 completely, will that automatically enable IPv4,
+or am I still looking for the reason for that lack?
+
+@AL13N -
+&gt;<i> maybe those services were started when there was no ipv4 set up
+</I>&gt;<i> yet, and thus was ignored?
+</I>
+I hesitate to say that anything is impossible, but this was a clean,
+bog-standard Mageia2 install. I can't think why that should be so,
+can you?
+
+This is seriously impeding my work, but at least I'll have learned
+from it :-)
+
+Anne
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.12 (GNU/Linux)
+Comment: Using GnuPG with Mozilla - <A HREF="http://enigmail.mozdev.org/">http://enigmail.mozdev.org/</A>
+
+iEYEARECAAYFAlBctTMACgkQj93fyh4cnBf0sQCdGDjFZcuk7dlgJx4drpACNP3c
+sfcAn3oe1iI5Ny0rNX1qGSX0rvS3qm7R
+=0Bbq
+-----END PGP SIGNATURE-----
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="018814.html">[Mageia-dev] Any progress on the NFS mount problem?
+</A></li>
+ <LI>Next message: <A HREF="018824.html">[Mageia-dev] Any progress on the NFS mount problem? - One step further
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#18822">[ date ]</a>
+ <a href="thread.html#18822">[ thread ]</a>
+ <a href="subject.html#18822">[ subject ]</a>
+ <a href="author.html#18822">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>