package winbind 2:3.6.3-2ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #981121 reported by juri
36
This bug affects 7 people
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Setting up winbind (2:3.6.3-2ubuntu2) ...
 * Starting the Winbind daemon winbind [fail]
invoke-rc.d: initscript winbind, action "start" failed.
dpkg: error processing winbind (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libpam-winbind:
 libpam-winbind depends on winbind (= 2:3.6.3-2ubuntu2); however:
  Package winbind is not configured yet.
dpkg: error processing libpam-winbind (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 winbind
 libpam-winbind

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: winbind 2:3.6.3-2ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu2
Architecture: amd64
Date: Fri Apr 13 22:03:24 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
SourcePackage: samba
Title: package winbind 2:3.6.3-2ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to precise on 2012-03-29 (15 days ago)

Revision history for this message
juri (eng-juri) wrote :
tags: removed: need-duplicate-check
Revision history for this message
juri (eng-juri) wrote :

sudo dpkg --configure winbind
Setting up winbind (2:3.6.3-2ubuntu2) ...
 * Starting the Winbind daemon winbind [fail]
invoke-rc.d: initscript winbind, action "start" failed.
dpkg: error processing winbind (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 winbind

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Hi juri. It looks like winbind is having a hard time starting up on your system.

Can you maybe try running '/usr/sbin/winbindd' as root and pasting the output here?

Changed in samba (Ubuntu):
status: New → Incomplete
importance: Undecided → Medium
Revision history for this message
juri (eng-juri) wrote :

root@user-Veriton:~# locate winbindd
/usr/sbin/winbindd
/usr/share/man/man8/winbindd.8.gz
/var/cache/samba/winbindd_cache.tdb
/var/lib/samba/winbindd_idmap.tdb
/var/log/samba/log.winbindd
/var/log/samba/log.winbindd-idmap
/var/log/samba/log.winbindd-idmap.old
/var/log/samba/log.winbindd.1.gz
/var/log/samba/log.winbindd.2.gz
/var/log/samba/log.winbindd.3.gz
/var/log/samba/log.winbindd.4.gz
/var/log/samba/log.winbindd.5.gz
/var/log/samba/log.winbindd.6.gz
/var/log/samba/log.winbindd.7.gz
/var/log/samba/cores/winbindd
root@user-Veriton:~# ./var/log/samba/cores/winbindd
-su: ./var/log/samba/cores/winbindd: No such file or directory
root@user-Veriton:~# /usr/sbin/winbindd
root@user-Veriton:~# ./usr/sbin/winbindd
-su: ./usr/sbin/winbindd: No such file or directory
root@user-Veriton:~# cd /usr/sbin/
root@user-Veriton:/usr/sbin# ./winbindd
root@user-Veriton:/usr/sbin#

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Ahh, perhaps after running winbindd this check the end of /var/log/samba/* and /var/log/syslog for any error messages explaining why it isn't starting? (sudo tail /var/log/syslog).

Revision history for this message
juri (eng-juri) wrote :

sudo tail -f /var/log/samba/*

==> /var/log/samba/log.winbindd <==
[2012/04/24 11:02:57, 0] winbindd/winbindd.c:1336(main)
  winbindd version 3.6.3 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2011
[2012/04/24 11:02:57, 0] winbindd/winbindd.c:1340(main)
  error opening config file

Revision history for this message
James Page (james-page) wrote :

Hi Juri

For some reason winbindd can't locate/open is configuration file.

Please can you check for that /etc/samba/smb.conf actually exists and has the following permissions:

  -rw-r--r-- 1 root root 12464 May 2 10:27 /etc/samba/smb.conf

Thanks

Revision history for this message
juri (eng-juri) wrote :

I did this:
root@user-Veriton:~# touch /etc/samba/smb.conf
root@user-Veriton:~# cat /etc/samba/smb.conf
root@user-Veriton:~# apt-get install winbind
Reading package lists... Done
Building dependency tree
Reading state information... Done
winbind is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up winbind (2:3.6.3-2ubuntu2.1) ...
 * Starting the Winbind daemon winbind [ OK ]
Setting up libpam-winbind (2:3.6.3-2ubuntu2.1) ...
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
localepurge: Disk space freed in /usr/share/omf: 0 KiB
localepurge: Disk space freed in /usr/share/doc/kde/HTML: 0 KiB

Total disk space freed by localepurge: 0 KiB

root@user-Veriton:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  ia32-libs-multiarch:i386 libqscintilla2-dev tora
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
root@user-Veriton:~#

everything is fine now.

Thank you.

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Thanks so much for taking the time to get back to us Juri. I'll go ahead and close the bug report.

Changed in samba (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.