From owner-freebsd-stable@FreeBSD.ORG Thu Feb 17 03:12:31 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66DB2106566B for ; Thu, 17 Feb 2011 03:12:30 +0000 (UTC) (envelope-from mike@jellydonut.org) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 083BF8FC13 for ; Thu, 17 Feb 2011 03:12:29 +0000 (UTC) Received: by eyf6 with SMTP id 6so1244699eyf.13 for ; Wed, 16 Feb 2011 19:12:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.32.199 with SMTP id e7mr1560109ebd.93.1297910797254; Wed, 16 Feb 2011 18:46:37 -0800 (PST) Received: by 10.213.17.143 with HTTP; Wed, 16 Feb 2011 18:46:37 -0800 (PST) In-Reply-To: <201102091420.p19EKJ5u001268@m5p.com> References: <201102091420.p19EKJ5u001268@m5p.com> Date: Wed, 16 Feb 2011 21:46:37 -0500 Message-ID: From: Michael Proto To: george+freebsd@m5p.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org Subject: Re: statd/lockd startup failure X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Feb 2011 03:12:31 -0000 On Wed, Feb 9, 2011 at 9:20 AM, wrote: > Under 8.2-PRERELEASE (GENERIC kernel), about 15% of the times I boot up > (with rpc.statd and rpc.lockd enabled in rc.conf), I get: > > Feb =A04 07:31:11 wonderland rpc.statd: bindresvport_sa: Address already = in use > Feb =A04 07:31:11 wonderland root: /etc/rc: WARNING: failed to start stat= d > > and slightly later: > > Feb =A04 07:31:36 wonderland kernel: NLM: unexpected error contacting NSM= , stat=3D5, errno=3D35 > > I can start rpc.statd and rpc.lockd manually at this point (and I have to > start them to run firefox and mail with my NFS-mounted home directory and > mail spool). =A0But what might cause the above errors? =A0 -- George Mitc= hell > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > Don't rpc.statd and lockd try to choose a random port upon startup? I seem to remember a similar problem I had a long time ago. I opted to use a consistent, not-used port and haven't seen the problem since (this was years ago, so I can't remember if the error you're seeing was identical to mine). /etc/rc.conf: rpc_statd_flags=3D"-p 898" rpc_lockd_flags=3D"-p 4045" -Proto