From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0F61A1389B2 for ; Mon, 27 Oct 2014 19:56:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EECAFE09F3; Mon, 27 Oct 2014 19:56:34 +0000 (UTC) Received: from mail-ig0-f175.google.com (mail-ig0-f175.google.com [209.85.213.175]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DF863E09C1 for ; Mon, 27 Oct 2014 19:56:33 +0000 (UTC) Received: by mail-ig0-f175.google.com with SMTP id a13so1157001igq.2 for ; Mon, 27 Oct 2014 12:56:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=ncZfRqOVqP89IpQ6StzwJyPBXLZQ/ECHV/AITjjUtPc=; b=Yx3stGia5BZ2wcVQQcv7HlaMLrRNvlyat0wNU48YkfC/66zNmA440NJizMwPr5OCEj 8r2Co8BpLCW1XHYXH9MI6SHhpMHFo3Os+q9/5u7Q9rtzcH3K5AwbsV9Hb3n5uGOPqipz +nUIsrum5jtVEZ+sbU+OfFcxkg7xpNu8DEj6qRY9iNK/Lkc4qvjpdtikqnI7JFDZBglr vp4TPLE9Z6kWw2dxQm0KbkfFpzeqKt+fQUj+V6Z36x8qNhAxNfnxnVtEXDoo7+Qoe4MT 8VnaQKxqkQssHlFAgoU0lJln45zlNxLFywrUYifWx+b+BfxfANEeX7YKC3h0V0+sblpz 1Uiw== X-Received: by 10.43.181.69 with SMTP id ph5mr3962513icc.83.1414439793115; Mon, 27 Oct 2014 12:56:33 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.107.148.19 with HTTP; Mon, 27 Oct 2014 12:56:12 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= Date: Mon, 27 Oct 2014 13:56:12 -0600 Message-ID: Subject: Re: [gentoo-user] [~amd64] NFS server broken again :( To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 420592fc-0ffd-44a5-9e76-5b3912358978 X-Archives-Hash: 4285d826866f48d60cf6c11703f1027b On Mon, Oct 27, 2014 at 1:38 PM, walt wrote: > Last night when I powered off my machines NFS was working perfectly. Tod= ay > it's broken again for the nth time: > > #systemctl status nfs-server > =E2=97=8F nfs-server.service - NFS server and services > Loaded: loaded (/usr/lib64/systemd/system/nfs-server.service; enabled) > Active: failed (Result: exit-code) since Mon 2014-10-27 11:50:38 PDT; = 25min ago > Process: 896 ExecStopPost=3D/usr/sbin/exportfs -f (code=3Dexited, statu= s=3D0/SUCCESS) > Process: 893 ExecStopPost=3D/usr/sbin/exportfs -au (code=3Dexited, stat= us=3D0/SUCCESS) > Process: 939 ExecStart=3D/usr/sbin/rpc.nfsd $RPCNFSDARGS (code=3Dexited= , status=3D1/FAILURE) > Process: 936 ExecStartPre=3D/usr/sbin/exportfs -r (code=3Dexited, statu= s=3D0/SUCCESS) > Main PID: 939 (code=3Dexited, status=3D1/FAILURE) > > Oct 27 11:50:38 a6 rpc.nfsd[939]: rpc.nfsd: writing fd to kernel failed: = errno 111 (Connection refused) > Oct 27 11:50:38 a6 rpc.nfsd[939]: rpc.nfsd: unable to set any sockets for= nfsd > Oct 27 11:50:38 a6 systemd[1]: nfs-server.service: main process exited, c= ode=3Dexited, status=3D1/FAILURE > Oct 27 11:50:38 a6 systemd[1]: Failed to start NFS server and services. > Oct 27 11:50:38 a6 systemd[1]: Unit nfs-server.service entered failed sta= te. > > #rpc.nfsd -d > rpc.nfsd: Checking netconfig for visible protocols. > rpc.nfsd: Enabling inet udp. > rpc.nfsd: Enabling inet tcp. > rpc.nfsd: Enabling inet6 udp. > rpc.nfsd: Enabling inet6 tcp. > rpc.nfsd: knfsd is currently down > rpc.nfsd: Writing version string to kernel: -2 +3 +4 > rpc.nfsd: Creating inet TCP socket. > rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused) > rpc.nfsd: Creating inet6 TCP socket. > rpc.nfsd: writing fd to kernel failed: errno 97 (Address family not suppo= rted by protocol) > rpc.nfsd: unable to set any sockets for nfsd > > Same kernel (3.16.6-gentoo) and nfs-utils-1.3.0-r1 I've been using for we= eks > with no trouble, so why today? > > Packages updated yesterday have (I think) nothing to do with nfs: > > #qlop -l |grep 'Oct 26' > Fri Oct 26 03:07:58 2012 >>> app-text/calibre-0.9.4 > Fri Oct 26 03:08:13 2012 >>> app-mobilephone/obexd-0.46 > Fri Oct 26 13:41:39 2012 >>> sys-fs/fuse-2.9.1-r1 > Fri Oct 26 13:41:47 2012 >>> sys-fs/mtpfs-1.1 > Sat Oct 26 15:34:57 2013 >>> media-video/avidemux-2.5.6-r2 > Sun Oct 26 07:09:51 2014 >>> sys-libs/timezone-data-2014i-r1 > Sun Oct 26 07:10:10 2014 >>> dev-python/py-1.4.26 > Sun Oct 26 07:10:25 2014 >>> dev-python/pytest-2.6.4 > Sun Oct 26 07:14:05 2014 >>> dev-lang/perl-5.20.1-r2 > Sun Oct 26 07:14:28 2014 >>> dev-perl/DBI-1.631.0 > Sun Oct 26 07:14:49 2014 >>> net-libs/polarssl-1.3.9 > Sun Oct 26 07:15:25 2014 >>> dev-python/pillow-2.5.3-r1 > Sun Oct 26 08:41:38 2014 >>> net-libs/webkit-gtk-2.4.7 > > Any ideas on how to debug this? I think I know the answer. Some days ago you moved /etc/conf.d for NetworkManager to work, right? Where does the environment variable RPCNFSDARGS is defined? I'm willing to bet that is in a /etc/conf.d file. Could you please post here the contents of nfs-server.service, and if it exists, the files inside /etc/systemd/system/nfs-server.service.d and their contents? Regards. --=20 Canek Pel=C3=A1ez Vald=C3=A9s Profesor de asignatura, Facultad de Ciencias Universidad Nacional Aut=C3=B3noma de M=C3=A9xico