rpcbind not startet automatically
Open, NormalPublic

Tags
None
Subscribers
Assigned To
None
Authored By
importbot, Jul 28 2015

Description

bluelupo - wrote on 05. July 2014 22:14:

Hi Tanglu-Team,
I have found that the NFS service does not start on my Lapto. Each NFS share
is not mountable.

Error message:

mount /mnt/import/diskdump

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

That can not work because of rpcbind is not running. The following error
message reports systemd:

systemctl status nfs-common

nfs-common.service - LSB: NFS support files common to client and server

Loaded: loaded (/etc/init.d/nfs-common)
Active: inactive (dead)

Jun 20 18:34:18 ethan systemdr1: Job nfs-common.service/start deleted to
break ordering cycle starting with basic.target/start

Here are the errors from systemd:

journalctl -b -p err|egrep -i '(nfs|rpc)'

Jun 21 17:07:11 ethan systemdr1: Job nfs-common.service/start deleted to
break ordering cycle starting with basic.target/start
Jun 21 17:07:11 ethan systemdr1: Job rpcbind.service/start deleted to break
ordering cycle starting with basic.target/start
Jun 21 17:07:11 ethan systemdr1: Job nfs-common.service/start deleted to
break ordering cycle starting with basic.target/start
Jun 21 17:07:11 ethan systemdr1: Job rpcbind.service/start deleted to break
ordering cycle starting with basic.target/start
Jun 21 17:07:11 ethan systemdr1: Job nfs-common.service/start deleted to
break ordering cycle starting with basic.target/start
Jun 21 17:07:11 ethan systemdr1: Job rpcbind.service/start deleted to break
ordering cycle starting with basic.target/start
Jun 21 17:46:19 ethan rpc.statdr1619: failed to create RPC listeners, exiting

When I start "rpcbind" by hand can the the NFS share to mount. What can I do
with the rpcbind service start automatically at boot?

Greetings
bluelupo

bluelupo - wrote on 05. July 2014 22:14:

Replying to [comment:2 canister]:

Could this be bug/duplicate of https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=738965 (systemd: Circular dependencies caused by Debian specific handling of runlevel S sysv init scripts) mentioned on http://wiki.tanglu.org/BartholomeaTaskList?

Hi canister,
It looks like as if it were the same error. Time about systemd at Tanglu. Why is no newer version of systemd, eg the version 204-14 from SID? The runs at one of my systems (siduction) without any problems and without this error.

canister - wrote on 05. July 2014 17:44:

Could this be bug/duplicate of https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=738965 (systemd: Circular dependencies caused by Debian specific handling of runlevel S sysv init scripts) mentioned on http://wiki.tanglu.org/BartholomeaTaskList?

bluelupo - wrote on 23. June 2014 05:22:

Hi Tanglu-Team,
Enabling for rpcbind service for systemd brings no improvement, ie after booting still works no mount an NFS share.

$ sudo systemctl enable rpcbind