Re: rpc.statd is not running but is required

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have to say somethig that might related to this problem. Earleir I had problem with these files:

/etc/passwd
/etc/group
/etc/shadow
 
Hopefully I had backed up them to *.bak. The procedure to fix those file names was booting a live cd and then:

cp /etc/passwd.bak /etc/passwd
cp /etc/group.bak /etc/group
cp /etc/shadow.bak /etc/shadow
 
I said that becuase I found that statd has a user name which I didn't think about it.
here they are:
mahmood@server:~$ cat /etc/passwd | grep "statd"
statd:x:108:65534::/var/lib/nfs:/bin/false

mahmood@server:~$ cat /etc/group | grep "statd"

mahmood@server:~$ sudo cat /etc/shadow | grep "statd"
statd:*:14970:0:99999:7:::

Are they normal? 
// Naderan *Mahmood;


----- Original Message -----
From: NeilBrown <neilb@xxxxxxx>
To: Mahmood Naderan <nt_mahmood@xxxxxxxxx>
Cc: Dennis Jacobfeuerborn <dennisml@xxxxxxxxxxxx>; nfs <linux-nfs@xxxxxxxxxxxxxxx>
Sent: Monday, May 2, 2011 3:12 PM
Subject: Re: rpc.statd is not running but is required

On Mon, 2 May 2011 03:03:28 -0700 (PDT) Mahmood Naderan
<nt_mahmood@xxxxxxxxx> wrote:

> I heve this service
>  
> mahmood@server:~$ sudo  /etc/init.d/nfs-kernel-server restart
>  * Stopping NFS kernel daemon                                                  [ OK ]
>  * Unexporting directories for NFS kernel daemon...                            [ OK ]
>  * Exporting directories for NFS kernel daemon...                              [ OK ]
>  * Starting NFS kernel daemon                                                  [ OK ]
> 
>  
> 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 
/etc/default/nfs-common.

What is in /etc/default/nfs-common??
If you 
   /etc/init.d/nfs-common restart

does that start statd?

NeilBrown


> 
> // Naderan *Mahmood;
> 
> 
> ----- Original Message -----
> From: Dennis Jacobfeuerborn <dennisml@xxxxxxxxxxxx>
> To: NeilBrown <neilb@xxxxxxx>
> Cc: Mahmood Naderan <nt_mahmood@xxxxxxxxx>; nfs <linux-nfs@xxxxxxxxxxxxxxx>
> Sent: Monday, May 2, 2011 2:30 PM
> Subject: Re: rpc.statd is not running but is required
> 
> On 05/02/2011 10:35 AM, NeilBrown wrote:
> > On Mon, 2 May 2011 00:59:01 -0700 (PDT) Mahmood Naderan
> > <nt_mahmood@xxxxxxxxx>  wrote:
> >
> >> Hi,
> >> I have setup NFS and I checked every thing with documents and manual.
> >> After the client boots up, it says:
> >>
> >>
> >> mount.nfs: rpc.statd is not running but is required for remote locking.
> >> mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
> >> mountall: mount /opt [1000] terminated with status 32
> >
> > mount tried to run  /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  /usr/sbin/rpc.statd??
> >
> 
> Have you tried checking if the /etc/init.d/nfslock service is enabled and 
> running?
> 
> Regards,
>    Dennis
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux