FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 09-03-2011, 01:32 PM
Sascha Silbe
 
Default Bug#640222: nfs-common: init script failure during installation, leaving package half-configured

Package: nfs-common
Version: 1:1.2.4-1
Severity: normal


For an unknown reason "/etc/init.d/nfs-common start" failed during
installation of nfs-common, leaving the package in half-configured state:

sascha.silbe@mimosa:~$ sudo aptitude install nfs-common
The following NEW packages will be installed:

libgssglue1{a} [0.3-2] <+98.3 kB> (D: libtirpc1, D: nfs-common) (for nfs-common)
libnfsidmap2{a} [0.24-1] <+123 kB> (D: nfs-common) (for nfs-common)
libtirpc1{a} [0.2.2-5] <+242 kB> (D: nfs-common, D: rpcbind) (for nfs-common)
nfs-common [1:1.2.4-1] <+721 kB>
rpcbind{a} [0.2.0-6] <+172 kB> (D: nfs-common) (for nfs-common)
0 packages upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 414 kB of archives. After unpacking 1,356 kB will be used.
Do you want to continue? [Y/n/?] y
Get:1 http://ftp.de.debian.org/debian/ wheezy/main libgssglue1 armel 0.3-2 [22.0 kB]
Get:2 http://ftp.de.debian.org/debian/ wheezy/main libtirpc1 armel 0.2.2-5 [76.2 kB]
Get:3 http://ftp.de.debian.org/debian/ wheezy/main libnfsidmap2 armel 0.24-1 [30.3 kB]
Get:4 http://ftp.de.debian.org/debian/ wheezy/main rpcbind armel 0.2.0-6 [41.3 kB]
Get:5 http://ftp.de.debian.org/debian/ wheezy/main nfs-common armel 1:1.2.4-1 [244 kB]
Fetched 414 kB in 1s (253 kB/s)
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Selecting previously deselected package libgssglue1.
(Reading database ... 98059 files and directories currently installed.)
Unpacking libgssglue1 (from .../libgssglue1_0.3-2_armel.deb) ...
Selecting previously deselected package libtirpc1.
Unpacking libtirpc1 (from .../libtirpc1_0.2.2-5_armel.deb) ...
Selecting previously deselected package libnfsidmap2.
Unpacking libnfsidmap2 (from .../libnfsidmap2_0.24-1_armel.deb) ...
Selecting previously deselected package rpcbind.
Unpacking rpcbind (from .../rpcbind_0.2.0-6_armel.deb) ...
Selecting previously deselected package nfs-common.
Unpacking nfs-common (from .../nfs-common_1%3a1.2.4-1_armel.deb) ...
Processing triggers for man-db ...
Setting up libgssglue1 (0.3-2) ...
Setting up libtirpc1 (0.2.2-5) ...
Setting up libnfsidmap2 (0.24-1) ...
Setting up rpcbind (0.2.0-6) ...
Starting rpcbind daemon....
Setting up nfs-common (1:1.2.4-1) ...

Creating config file /etc/idmapd.conf with new version

Creating config file /etc/default/nfs-common with new version
Adding system user `statd' (UID 107) ...
Adding new user `statd' (UID 107) with group `nogroup' ...
Not creating home directory `/var/lib/nfs'.
Starting NFS common utilities: statd idmapd failed!
invoke-rc.d: initscript nfs-common, action "start" failed.
dpkg: error processing nfs-common (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
Errors were encountered while processing:
nfs-common
[master 294ea6f] committing changes in /etc after apt run
Author: sascha.silbe <sascha.silbe@mimosa.sascha.silbe.org>
115 files changed, 525 insertions(+), 50 deletions(-)
create mode 100644 default/nfs-common
create mode 100644 gssapi_mech.conf
create mode 100644 idmapd.conf
rewrite init.d/.depend.start (69%)
rewrite init.d/.depend.stop (60%)
create mode 100755 init.d/nfs-common
create mode 100755 init.d/rpcbind
create mode 100644 insserv.conf.d/rpcbind
create mode 100644 netconfig
create mode 120000 rc0.d/K05nfs-common
create mode 120000 rc0.d/K05rpcbind
rename rc0.d/{K04hwclock.sh => K06hwclock.sh} (100%)
rename rc0.d/{K05networking => K06networking} (100%)
rename rc0.d/{K06ifupdown => K07ifupdown} (100%)
rename rc0.d/{K07umountfs => K08umountfs} (100%)
rename rc0.d/{K08cryptdisks => K09cryptdisks} (100%)
rename rc0.d/{K09cryptdisks-early => K10cryptdisks-early} (100%)
rename rc0.d/{K10umountroot => K11umountroot} (100%)
rename rc0.d/{K11halt => K12halt} (100%)
create mode 120000 rc1.d/K05nfs-common
create mode 120000 rc1.d/K05rpcbind
rename rc1.d/{S02bootlogs => S20bootlogs} (100%)
rename rc1.d/{S03single => S21single} (100%)
create mode 120000 rc2.d/S16rpcbind
create mode 120000 rc2.d/S17nfs-common
rename rc2.d/{S01nodm => S19nodm} (100%)
rename rc2.d/{S01rsyslog => S19rsyslog} (100%)
rename rc2.d/{S01sudo => S19sudo} (100%)
rename rc2.d/{S02bootlogs => S20bootlogs} (100%)
rename rc2.d/{S02cron => S20cron} (100%)
rename rc2.d/{S02dbus => S20dbus} (100%)
rename rc2.d/{S02nullmailer => S20nullmailer} (100%)
rename rc2.d/{S02pcscd => S20pcscd} (100%)
rename rc2.d/{S02rsync => S20rsync} (100%)
rename rc2.d/{S02ssh => S20ssh} (100%)
rename rc2.d/{S03avahi-daemon => S21avahi-daemon} (100%)
rename rc2.d/{S03network-manager => S21network-manager} (100%)
rename rc2.d/{S04rc.local => S22rc.local} (100%)
rename rc2.d/{S04rmnologin => S22rmnologin} (100%)
rename rc2.d/{S04stop-bootlogd => S22stop-bootlogd} (100%)
create mode 120000 rc3.d/S16rpcbind
create mode 120000 rc3.d/S17nfs-common
rename rc3.d/{S01nodm => S19nodm} (100%)
rename rc3.d/{S01rsyslog => S19rsyslog} (100%)
rename rc3.d/{S01sudo => S19sudo} (100%)
rename rc3.d/{S02bootlogs => S20bootlogs} (100%)
rename rc3.d/{S02cron => S20cron} (100%)
rename rc3.d/{S02dbus => S20dbus} (100%)
rename rc3.d/{S02nullmailer => S20nullmailer} (100%)
rename rc3.d/{S02pcscd => S20pcscd} (100%)
rename rc3.d/{S02rsync => S20rsync} (100%)
rename rc3.d/{S02ssh => S20ssh} (100%)
rename rc3.d/{S03avahi-daemon => S21avahi-daemon} (100%)
rename rc3.d/{S03network-manager => S21network-manager} (100%)
rename rc3.d/{S04rc.local => S22rc.local} (100%)
rename rc3.d/{S04rmnologin => S22rmnologin} (100%)
rename rc3.d/{S04stop-bootlogd => S22stop-bootlogd} (100%)
create mode 120000 rc4.d/S16rpcbind
create mode 120000 rc4.d/S17nfs-common
rename rc4.d/{S01nodm => S19nodm} (100%)
rename rc4.d/{S01rsyslog => S19rsyslog} (100%)
rename rc4.d/{S01sudo => S19sudo} (100%)
rename rc4.d/{S02bootlogs => S20bootlogs} (100%)
rename rc4.d/{S02cron => S20cron} (100%)
rename rc4.d/{S02dbus => S20dbus} (100%)
rename rc4.d/{S02nullmailer => S20nullmailer} (100%)
rename rc4.d/{S02pcscd => S20pcscd} (100%)
rename rc4.d/{S02rsync => S20rsync} (100%)
rename rc4.d/{S02ssh => S20ssh} (100%)
rename rc4.d/{S03avahi-daemon => S21avahi-daemon} (100%)
rename rc4.d/{S03network-manager => S21network-manager} (100%)
rename rc4.d/{S04rc.local => S22rc.local} (100%)
rename rc4.d/{S04rmnologin => S22rmnologin} (100%)
rename rc4.d/{S04stop-bootlogd => S22stop-bootlogd} (100%)
create mode 120000 rc5.d/S16rpcbind
create mode 120000 rc5.d/S17nfs-common
rename rc5.d/{S01nodm => S19nodm} (100%)
rename rc5.d/{S01rsyslog => S19rsyslog} (100%)
rename rc5.d/{S01sudo => S19sudo} (100%)
rename rc5.d/{S02bootlogs => S20bootlogs} (100%)
rename rc5.d/{S02cron => S20cron} (100%)
rename rc5.d/{S02dbus => S20dbus} (100%)
rename rc5.d/{S02nullmailer => S20nullmailer} (100%)
rename rc5.d/{S02pcscd => S20pcscd} (100%)
rename rc5.d/{S02rsync => S20rsync} (100%)
rename rc5.d/{S02ssh => S20ssh} (100%)
rename rc5.d/{S03avahi-daemon => S21avahi-daemon} (100%)
rename rc5.d/{S03network-manager => S21network-manager} (100%)
rename rc5.d/{S04rc.local => S22rc.local} (100%)
rename rc5.d/{S04rmnologin => S22rmnologin} (100%)
rename rc5.d/{S04stop-bootlogd => S22stop-bootlogd} (100%)
create mode 120000 rc6.d/K05nfs-common
create mode 120000 rc6.d/K05rpcbind
rename rc6.d/{K04hwclock.sh => K06hwclock.sh} (100%)
rename rc6.d/{K05networking => K06networking} (100%)
rename rc6.d/{K06ifupdown => K07ifupdown} (100%)
rename rc6.d/{K07umountfs => K08umountfs} (100%)
rename rc6.d/{K08cryptdisks => K09cryptdisks} (100%)
rename rc6.d/{K09cryptdisks-early => K10cryptdisks-early} (100%)
rename rc6.d/{K10umountroot => K11umountroot} (100%)
rename rc6.d/{K11reboot => K12reboot} (100%)
create mode 120000 rcS.d/S16rpcbind
create mode 120000 rcS.d/S17nfs-common
rename rcS.d/{S16mountnfs.sh => S18mountnfs.sh} (100%)
rename rcS.d/{S17mountnfs-bootclean.sh => S19mountnfs-bootclean.sh} (100%)
rename rcS.d/{S18console-screen.sh => S20console-screen.sh} (100%)
rename rcS.d/{S19console-setup => S21console-setup} (100%)
rename rcS.d/{S20alsa-utils => S22alsa-utils} (100%)
rename rcS.d/{S20bootmisc.sh => S22bootmisc.sh} (100%)
rename rcS.d/{S20fuse => S22fuse} (100%)
rename rcS.d/{S20screen-cleanup => S22screen-cleanup} (100%)
rename rcS.d/{S21stop-bootlogd-single => S23stop-bootlogd-single} (100%)
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up nfs-common (1:1.2.4-1) ...
Starting NFS common utilities: statd idmapd failed!
invoke-rc.d: initscript nfs-common, action "start" failed.
dpkg: error processing nfs-common (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
nfs-common

sascha.silbe@mimosa:~$

-- Package-specific info:
-- rpcinfo --
program vers proto port
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 41218 status
100024 1 tcp 44087 status
-- /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 --
flatty:/media/www /media/www nfs4 defaults,noauto,intr,hard 0 0
-- /proc/mounts --
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0 0

-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: armel (armv7l)

Kernel: Linux 3.0.0-mimosa-4-00098-gaa58980 (PREEMPT)
Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nfs-common depends on:
ii adduser 3.113 add and remove users and groups
ii initscripts 2.88dsf-13.11 scripts for initializing and shutt
ii libc6 2.13-16 Embedded GNU C Library: Shared lib
ii libcap2 1:2.22-1 support for getting/setting POSIX.
ii libcomerr2 1.42~WIP-2011-07-02-1 common error description library
ii libevent-1.4-2 1.4.13-stable-1 An asynchronous event notification
ii libgcc1 1:4.6.1-4 GCC support library
ii libgssapi-krb5-2 1.9.1+dfsg-1 MIT Kerberos runtime libraries - k
ii libgssglue1 0.3-2 mechanism-switch gssapi library
ii libk5crypto3 1.9.1+dfsg-1 MIT Kerberos runtime libraries - C
ii libkeyutils1 1.4-6 Linux Key Management Utilities (li
ii libkrb5-3 1.9.1+dfsg-1 MIT Kerberos runtime libraries
ii libnfsidmap2 0.24-1 An nfs idmapping library
ii libtirpc1 0.2.2-5 transport-independent RPC library
ii libwrap0 7.6.q-21 Wietse Venema's TCP wrappers libra
ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip
ii rpcbind 0.2.0-6 converts RPC program numbers into
ii ucf 3.0025+nmu2 Update Configuration File: preserv

Versions of packages nfs-common recommends:
ii python 2.6.7-3 interactive high-level object-orie

nfs-common 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: 20110903133250.20518.59325.reportbug@mimosa.sascha .silbe.org">http://lists.debian.org/20110903133250.20518.59325.reportbug@mimosa.sascha .silbe.org
 
Old 09-14-2011, 06:25 PM
"WRC. DiQ"
 
Default Bug#640222: nfs-common: init script failure during installation, leaving package half-configured

It was with this same problem. The same error.

I think the alert log messages about the error, because, I believe, has to do with the Loopback or other network
configuration. To be sure, run:

# Tail-f / var / log / messages


Leave this terminal open and try to reinstall on another terminal portmap, nfs-common and finally, nfs-kernel-server.

By the time the installation fails the log will probably show a message. In my case, who had installed rpcbind, the error was as follows:

rpcbind: server localhost not responding, timed out

then checked in / etc / network / interfaces that the loopback was disabled (#)

After repairing it, the packages were installed normally.

Check your log, it will probably help you. I'm currently using the portmap and without errors.

I saw that many people have gone through this Web posted something and no one could solve. If this post help you solve the answer.
 

Thread Tools




All times are GMT. The time now is 07:09 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org