[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#562737: failed with "Starting NFS common utilities: statd failed!"



Package: nfs-common
Version: 1:1.2.3-1
Followup-For: Bug #562737

Just got this. The problem seems to be that portmap listens only on
IPv4, due to the "-i 127.0.0.1" option:

# lsof -c portmap
portmap 25012 daemon    5u  IPv4             964900      0t0    UDP localhost:sunrpc 
portmap 25012 daemon    6u  IPv4             964901      0t0    TCP localhost:sunrpc (LISTEN)

while statd wants to use IPv6:

socket(PF_INET6, SOCK_STREAM, IPPROTO_TCP) = 10
setsockopt(10, SOL_IPV6, IPV6_V6ONLY, [1], 4) = 0
getsockname(10, {sa_family=AF_INET6, sin6_port=htons(0), inet_pton(AF_INET6, "::", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
getsockopt(10, SOL_SOCKET, SO_TYPE, [1], [4]) = 0
getsockname(10, {sa_family=AF_INET6, sin6_port=htons(0), inet_pton(AF_INET6, "::", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
bind(10, {sa_family=AF_INET6, sin6_port=htons(764), inet_pton(AF_INET6, "::", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
setsockopt(10, SOL_TCP, TCP_NODELAY, [1], 4) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
getpeername(10, 0x7fffb761d340, [128])  = -1 ENOTCONN (Transport endpoint is not connected)
connect(10, {sa_family=AF_INET6, sin6_port=htons(111), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 ECONNREFUSED (Connection refused)

Gabor

-- Package-specific info:
-- rpcinfo --
   program vers proto   port
    100000    2   tcp    111  portmapper
    391002    2   tcp    788  sgi_fam
    100000    2   udp    111  portmapper
-- /etc/default/nfs-common --
NEED_STATD=
STATDOPTS=
NEED_IDMAPD=
NEED_GSSD=
-- /etc/idmapd.conf --
[General]
Verbosity = 0
Pipefs-Directory = /var/lib/nfs/rpc_pipefs
Domain = localdomain
[Mapping]
Nobody-User = nobody
Nobody-Group = nogroup
-- /etc/fstab --

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (990, 'stable'), (103, 'testing'), (102, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38.2 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nfs-common depends on:
ii  adduser                  3.112+nmu2      add and remove users and groups
ii  initscripts              2.88dsf-13.1    scripts for initializing and shutt
ii  libc6                    2.11.2-11       Embedded GNU C Library: Shared lib
ii  libcap2                  1:2.20-1        support for getting/setting POSIX.
ii  libcomerr2               1.41.12-2       common error description library
ii  libevent-1.4-2           1.4.13-stable-1 An asynchronous event notification
ii  libgssapi-krb5-2         1.9+dfsg-1      MIT Kerberos runtime libraries - k
ii  libgssglue1              0.1-4           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  netbase                  4.45            Basic TCP/IP networking system
ii  portmap                  6.0.0-3         RPC port mapper
ii  ucf                      3.0025+nmu1     Update Configuration File: preserv

Versions of packages nfs-common recommends:
ii  python                        2.6.6-12   interactive high-level object-orie

nfs-common suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file /var/lib/nfs/state (from nfs-common package)



Reply to: