Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Kernel (http://www.linux-archive.org/debian-kernel/)
-   -   Bug#620059: nfs-kernel: Starting NFS kernel daemon: nfsd mountd failed! (http://www.linux-archive.org/debian-kernel/507062-bug-620059-nfs-kernel-starting-nfs-kernel-daemon-nfsd-mountd-failed.html)

Nigel Horne 03-29-2011 02:48 PM

Bug#620059: nfs-kernel: Starting NFS kernel daemon: nfsd mountd failed!
 
Package: nfs-kernel-server
Version: 1:1.2.3-1
Severity: important
File: nfs-kernel

The daemon doesn't start:

sh-4.1# ps -ef | fgrep nfs
root 1158 2 0 Mar26 ? 00:00:00 [nfsiod]
root 24750 18549 0 15:43 pts/5 00:00:00 fgrep nfs
sh-4.1# ./S20nfs-kernel-server start
Exporting directories for NFS kernel daemon....
Starting NFS kernel daemon: nfsd mountd failed!
sh-4.1# ./S20nfs-kernel-server status
nfsd running
sh-4.1# cat /etc/exports
/ 192.168.1.0/255.255.255.0(rw,no_root_squash,no_subtree_check)
/home 192.168.1.0/255.255.255.0(rw,no_root_squash,no_subtree_check)
/var 192.168.1.0/255.255.255.0(rw,no_root_squash,no_subtree_check)


-- Package-specific info:
-- rpcinfo --
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100227 2 udp 2049
100227 3 udp 2049
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100227 2 tcp 2049
100227 3 tcp 2049
100021 1 udp 41979 nlockmgr
100021 3 udp 41979 nlockmgr
100021 4 udp 41979 nlockmgr
100021 1 tcp 42877 nlockmgr
100021 3 tcp 42877 nlockmgr
100021 4 tcp 42877 nlockmgr
-- /etc/default/nfs-kernel-server --
RPCNFSDCOUNT=8
RPCNFSDPRIORITY=0
RPCMOUNTDOPTS=--manage-gids
NEED_SVCGSSD=
RPCSVCGSSDOPTS=
-- /etc/exports --
/ 192.168.1.0/255.255.255.0(rw,no_root_squash,no_subtree_check)
/home 192.168.1.0/255.255.255.0(rw,no_root_squash,no_subtree_check)
/var 192.168.1.0/255.255.255.0(rw,no_root_squash,no_subtree_check)
-- /proc/fs/nfs/exports --
# Version 1.1
# Path Client(Flags) # IPs

-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nfs-kernel-server depends on:
ii libblkid1 2.17.2-9.1 block device id library
ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib
ii libcomerr2 1.41.12-2 common error description library
ii libgssapi-krb5-2 1.9+dfsg-1 MIT Kerberos runtime libraries - k
ii libgssglue1 0.2-1 mechanism-switch gssapi library
ii libk5crypto3 1.9+dfsg-1 MIT Kerberos runtime libraries - C
ii libkrb5-3 1.9+dfsg-1 MIT Kerberos runtime libraries
ii libnfsidmap2 0.24-1 An nfs idmapping library
ii libtirpc1 0.2.1-1 transport-independent RPC library
ii libwrap0 7.6.q-19 Wietse Venema's TCP wrappers libra
ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip
ii nfs-common 1:1.2.3-1 NFS support files common to client
ii ucf 3.0025+nmu1 Update Configuration File: preserv

nfs-kernel-server recommends no packages.

nfs-kernel-server suggests no packages.

-- no debconf information



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110329144841.25601.20268.reportbug@bandsman.co.u k">http://lists.debian.org/20110329144841.25601.20268.reportbug@bandsman.co.u k

Robert Miller 03-30-2011 02:43 AM

Bug#620059: nfs-kernel: Starting NFS kernel daemon: nfsd mountd failed!
 
Package: nfs-kernel-server
Version: 1:1.2.3-1
Followup-For: Bug #620059

Also I have experienced this issue as well. the NFS daemon doesn't start for me either

$ sudo service nfs-kernel-server start


[sudo] password for rmiller:
Exporting directories for NFS kernel daemon....
Starting NFS kernel daemon: nfsd mountd failed!

Been seeing these messages in dmesg:

svc: failed to register nfsdv2 RPC service (errno 97).


svc: failed to register nfsaclv2 RPC service (errno 97).
nfsd: last server has exited, flushing export cache
svc: failed to register lockdv1 RPC service (errno 97).
NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory


NFSD: starting 90-second grace period

Exports file:

~$ cat /etc/exports
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).


#
# Example for NFSv2 and NFSv3:
# /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)
#
# Example for NFSv4:
# /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)


# /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check)
#
/home/rmiller/nfs4srv 192.168.1.0/24(ro,sync,insecure,root_squash,no_subtree_check,f sid=0)




~$ rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs


100227 2 udp 2049
100227 3 udp 2049
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100227 2 tcp 2049
100227 3 tcp 2049


100021 1 udp 38870 nlockmgr
100021 3 udp 38870 nlockmgr
100021 4 udp 38870 nlockmgr
100021 1 tcp 59302 nlockmgr
100021 3 tcp 59302 nlockmgr
100021 4 tcp 59302 nlockmgr



~$ uname -a
Linux rmdata 2.6.38-1.dmz.1-liquorix-686 #1 ZEN SMP PREEMPT Fri Mar 25 00:57:00 UTC 2011 i686 GNU/Linux

What else can I do to help debug this?


All times are GMT. The time now is 02:11 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.