[Bug 875471] Re: nfs-kernel-server does not start on boot because portmap is not running
mr_echo
875471 at bugs.launchpad.net
Sun Oct 16 13:19:33 UTC 2011
I have a fresh installation of 11.10 64 bit. I can confirm that rpcbind
is not starting at boot time. In my case, I needed to mount some NFS
directories from another server. Since rpcbind doesn't start, statd
fails. This, in turn, causes the NFS mounts to fail. I've tried
tracking through the rpcbind startup stuff but I'm not very familiar
with upstart. As suggested above, the workaround is to start the
required services manually from /etc/rc.local.
--
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/875471
Title:
nfs-kernel-server does not start on boot because portmap is not
running
Status in “nfs-utils” package in Ubuntu:
Confirmed
Bug description:
I have a fully upgraded 11.10 desktop release and installed nfs-common, nfs-kernel-server, and rpcbind which provides portmap. After I boot up, nfs-kernel-server is not running. When I try to start nfs-kernel-server with
service nfs-kernel-server-start
I get the error message that portmap is not running. But, with
service portmap status
I get the message that portmap is running. To start nfs-kernel-server, I have to do:
service statd start
service portmap stop
service portmap start
service nfs-kernel-server start
This may be related to the fact that the script /etc/init/portmap-wait.conf portmap returns "2" on exit which I think confuses the "system ... status" command.
Also, in /etc/init/statd.conf there is a reference to a file "portmap-boot.conf" but that file is missing in /etc/init.
A temporary workaround may be to put the lines
service statd start
service portmap stop
service portmap start
service nfs-kernel-server start
into /etc/rc.local
Note that I have /, /boot, /var, /tmp, /usr in different partitions.
Not sure this makes a difference.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: nfs-kernel-server 1:1.2.4-1ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Sat Oct 15 22:53:34 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: nfs-utils
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/875471/+subscriptions
More information about the foundations-bugs
mailing list