Re: [CentOS] rpc.statd is not running but is required for remote locking.

2018-04-16 Thread Nicolas Kovacs
Le 16/04/2018 à 17:47, marcos sr a écrit :
> mount.nfs: rpc.statd is not running but is required for remote locking.

On CentOS 7, rpcbind has a problem when IPv6 is deactivated. The
solution is to rebuild the initramfs.

# dracut -f -v

Cheers,

Niki

-- 
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Site : https://www.microlinux.fr
Blog : https://blog.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rpc.statd is not running but is required for remote locking.

2018-04-16 Thread m . roth
marcos sr wrote:
> Hello
>
> I'm trying to mount a nfs system. But i receive this message:
>
> mount  -t nfs  :/backup /backupnfs
> 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.
> mount.nfs: an incorrect mount option was specified
>
> After a fews searchs on google
>
> i tried to execute the files:
>
> sbin/rpc.statd
> /usr/sbin/start-statd


No.

First, what are you running, C6 or C7?

Note that autors and idmapd are not enabled by default, so you need to
a) fix either /etc/auto.master or auto. to include what you want
mounted, then edit /etc/idmapd.conf to correct it. Then

c6:
chkconfig idmapd on
chkconfig autofs on
service idmapd start
service autofs start

D7:
 systemctl enable idmapd
 systemctl start idmapd
 systemctl enable autofs
 systemctl start autofs

Those should start the required daemons. DON'T execute the individual
files manually.

   mark

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] rpc.statd is not running but is required for remote locking.

2018-04-16 Thread marcos sr
Hello

I'm trying to mount a nfs system. But i receive this message:

mount  -t nfs  :/backup /backupnfs
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.
mount.nfs: an incorrect mount option was specified

After a fews searchs on google

i tried to execute the files:

sbin/rpc.statd
/usr/sbin/start-statd
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos