From: NeilBrown Subject: Re: rpc.statd is not running but is required Date: Mon, 2 May 2011 20:42:00 +1000 Message-ID: <20110502204200.41f71733@notabene.brown> References: <846668.33333.qm@web111707.mail.gq1.yahoo.com> <20110502183547.7e9f1295@notabene.brown> <4DBE80CE.8070406@conversis.de> <830501.99174.qm@web111711.mail.gq1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: Dennis Jacobfeuerborn , nfs To: Mahmood Naderan Return-path: Received: from cantor2.suse.de ([195.135.220.15]:38600 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751437Ab1EBKmK convert rfc822-to-8bit (ORCPT ); Mon, 2 May 2011 06:42:10 -0400 In-Reply-To: <830501.99174.qm-gl49SJLIJaiORdMXk8NaZPu2YVrzzGjVVpNB7YpNyf8@public.gmane.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: On Mon, 2 May 2011 03:03:28 -0700 (PDT) Mahmood Naderan wrote: > I heve this service > =A0 > mahmood@server:~$ sudo=A0 /etc/init.d/nfs-kernel-server restart > =A0* Stopping NFS kernel daemon=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 [ OK ] > =A0* Unexporting directories for NFS kernel daemon...=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 [ OK ] > =A0* Exporting directories for NFS kernel daemon...=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 [= OK ] > =A0* Starting NFS kernel daemon=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 [ OK ] >=20 > =A0 > I use debian based linux. Is that what you meant? (sorry - clicked wrong button before. Yes, it seems Debian doesn't supply start-statd. I wonder why. They rely on /etc/init.d/nfs-common start to start statd. That should work unless NEED_STATD is set to 'no' in=20 /etc/default/nfs-common. What is in /etc/default/nfs-common?? If you=20 /etc/init.d/nfs-common restart does that start statd? NeilBrown >=20 > // Naderan *Mahmood; >=20 >=20 > ----- Original Message ----- > From: Dennis Jacobfeuerborn > To: NeilBrown > Cc: Mahmood Naderan ; nfs > Sent: Monday, May 2, 2011 2:30 PM > Subject: Re: rpc.statd is not running but is required >=20 > On 05/02/2011 10:35 AM, NeilBrown wrote: > > On Mon, 2 May 2011 00:59:01 -0700 (PDT) Mahmood Naderan > > =A0 wrote: > > > >> Hi, > >> I have setup NFS and I checked every thing with documents and manu= al. > >> After the client boots up, it says: > >> > >> > >> mount.nfs: rpc.statd is not running but is required for remote loc= king. > >> mount.nfs: Either use '-o nolock' to keep locks local, or start st= atd. > >> mountall: mount /opt [1000] terminated with status 32 > > > > mount tried to run=A0 /usr/sbin/start-statd and it failed for some = reason. > > What is in /usr/sbin/start-statd ?? > > What happens if you run it directly? > > What happens if you just run=A0 /usr/sbin/rpc.statd?? > > >=20 > Have you tried checking if the /etc/init.d/nfslock service is enabled= and=20 > running? >=20 > Regards, > =A0 Dennis >=20 > -- > To unsubscribe from this list: send the line "unsubscribe linux-nfs" = in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html