[Bug 1371564] Re: statd fails to come up on boot
Marius Gedminas
marius at gedmin.as
Sat Sep 20 08:19:56 UTC 2014
Aargh, I keep forgettnig about /var/log/upstart/!
It's not very informative:
$ sudo cat /var/log/upstart/statd.log
UPSTART_EVENTS =
Perhaps this is because statd came up fine when I started it manually,
some time after boot? I tried rebooting again, but the contents of that
file did not change.
$ cat /etc/default/nfs-common
# If you do not set values for the NEED_ options, they will be attempted
# autodetected; this should be sufficient for most people. Valid alternatives
# for the NEED_ options are "yes" and "no".
# Do you want to start the statd daemon? It is not needed for NFSv4.
NEED_STATD=
# Options for rpc.statd.
# Should rpc.statd listen on a specific port? This is especially useful
# when you have a port-based firewall. To use a fixed port, set this
# this variable to a statd argument like: "--port 4000 --outgoing-port 4001".
# For more information, see rpc.statd(8) or http://wiki.debian.org/SecuringNFS
STATDOPTS=
# Do you want to start the gssd daemon? It is required for Kerberos mounts.
NEED_GSSD=
By the way it seems that am using NFSv4, which shouldn't need statd at
all according to that comment. My /etc/fstab contains
fridge:/home /home nfs auto,rw,hard,intr,_netdev 0 0
fridge:/stuff /fridge/stuff nfs auto,rw,hard,intr,_netdev 0 0
but when I 'sudo mount -a' to force NFS mounts, /proc/mounts lists these
as 'nfs4'.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nfs-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1371564
Title:
statd fails to come up on boot
Status in “nfs-utils” package in Ubuntu:
Incomplete
Bug description:
I've a server that stubbornly doesn't mount NFS filesystems on boot.
I upgraded it to 14.04 and the problem persists. This time I dug
deeper and discovered that the mount upstart jobs are blocked waiting
for statd-mounting, which are waiting for statd to come up, but statd
is in "stop/waiting" state and doesn't want to come up.
/var/log/syslog shows
Sep 19 12:21:58 muskatas kernel: [ 9.356501] init: statd main process (1268) terminated with status 1
Sep 19 12:21:58 muskatas kernel: [ 9.356511] init: statd main process ended, respawning
Sep 19 12:21:58 muskatas kernel: [ 9.363809] init: statd main process (1272) terminated with status 1
Sep 19 12:21:58 muskatas kernel: [ 9.363819] init: statd main process ended, respawning
Sep 19 12:21:58 muskatas kernel: [ 9.370785] init: statd main process (1276) terminated with status 1
Sep 19 12:21:58 muskatas kernel: [ 9.370795] init: statd main process ended, respawning
Sep 19 12:21:58 muskatas kernel: [ 9.382239] init: statd main process (1281) terminated with status 1
Sep 19 12:21:58 muskatas kernel: [ 9.382250] init: statd main process ended, respawning
Sep 19 12:21:58 muskatas kernel: [ 9.394097] init: statd main process (1285) terminated with status 1
Sep 19 12:21:58 muskatas kernel: [ 9.394107] init: statd main process ended, respawning
Sep 19 12:21:58 muskatas kernel: [ 9.400026] init: statd main process (1289) terminated with status 1
Sep 19 12:21:58 muskatas kernel: [ 9.400037] init: statd main process ended, respawning
Sep 19 12:21:58 muskatas kernel: [ 9.411247] init: statd main process (1293) terminated with status 1
Sep 19 12:21:58 muskatas kernel: [ 9.411258] init: statd main process ended, respawning
Sep 19 12:21:58 muskatas kernel: [ 9.421803] init: statd main process (1297) terminated with status 1
Sep 19 12:21:58 muskatas kernel: [ 9.421813] init: statd main process ended, respawning
Sep 19 12:21:58 muskatas kernel: [ 9.429929] init: statd main process (1302) terminated with status 1
Sep 19 12:21:58 muskatas kernel: [ 9.429939] init: statd main process ended, respawning
Sep 19 12:21:58 muskatas kernel: [ 9.442795] init: statd main process (1306) terminated with status 1
Sep 19 12:21:58 muskatas kernel: [ 9.442805] init: statd main process ended, respawning
Sep 19 12:21:58 muskatas kernel: [ 9.457698] init: statd main process (1310) terminated with status 1
Sep 19 12:21:58 muskatas kernel: [ 9.457708] init: statd respawning too fast, stopped
If I 'sudo start statd' after logging in, the statd-mounting jobs are
terminated and mountall proceeds to mount the NFS filesystems.
I'm not sure how to debug this further.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1371564/+subscriptions
More information about the foundations-bugs
mailing list