winbind postinst returned error exit status 1 (daemon failed to start)

Bug #288496 reported by callMeTom
214
This bug affects 28 people
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: winbind

Installing WINE for the first time on a fully updated (as of morning of 10/23/08) Intrepid beta. System is Intel all the way (proc, chipset, network, etc) since Intel motherboard, except for nVidia graphics card with closed drivers installed. apt-get install wine returns this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
wine is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up winbind (2:3.2.3-1ubuntu3) ...
 * Starting the Winbind daemon winbind [fail]
invoke-rc.d: initscript winbind, action "start" failed.
dpkg: error processing winbind (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 winbind
E: Sub-process /usr/bin/dpkg returned an error code (1)

Also:
tom@ubuntu:~$ uname -a
Linux ubuntu 2.6.27-7-generic #1 SMP Wed Oct 22 01:30:40 UTC 2008 x86_64 GNU/Linux

I'm happy to post any further information that may be helpful.

-Tom

ProblemType: Package
Architecture: amd64
DistroRelease: Ubuntu 8.10
ErrorMessage: subprocess post-installation script returned error exit status 1
NonfreeKernelModules: nvidia
Package: winbind 2:3.2.3-1ubuntu3
SourcePackage: samba
Title: package winbind 2:3.2.3-1ubuntu3 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.27-7-generic x86_64

Revision history for this message
callMeTom (almighty-spork) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

Were you prompted for a configuration file change ? If so, what did you do ?
Can you please attach the file /etc/default/winbind

Thanks .

Changed in samba:
status: New → Incomplete
Revision history for this message
callMeTom (almighty-spork) wrote :

I was not prompted for a change. I am attaching the file requested. After this I will try removing this file and re installing winbind.

Revision history for this message
callMeTom (almighty-spork) wrote :

After my last post I renamed the winbind file to winbind.old and tried reinstalling winbind via synaptic, this still exited with the same error. I then marked the package for complete removal and tried reinstalling afterward, still the same error. I'm happy to upload any other config files or provide any other information feel free to just ask.

-Tom

Thierry Carrez (ttx)
Changed in samba:
status: Incomplete → New
Revision history for this message
ABH (alphabravohotel) wrote :

Same here! When installing anything I get this error message. I recall first seeing this message when I installed wine. I was presented with the error message right after the installation process had finished.

$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up winbind (2:3.2.3-1ubuntu3) ...
 * Starting the Winbind daemon winbind [fail]
invoke-rc.d: initscript winbind, action "start" failed.
dpkg: error processing winbind (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 winbind
E: Sub-process /usr/bin/dpkg returned an error code (1)

The solutions bellow didn't help either.

sudo dpkg --configure -a

or

echo -en '\n' | sudo tee -a /var/lib/dpkg/info/gxine.list

-ABH

Revision history for this message
Shrat (dyonisiaque) wrote :

Same for me since intrepid.

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Changed in samba:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Emilien Klein (emilien-klein) wrote :

Same here, I just added the Wine repositories and installed Wine (1.1.25~winehq0~ubuntu~9.04-0ubuntu1 as of writing) which needed the winbind package (2:3.3.2-1ubuntu3) which seem to be an official ubuntu package because it has the little Ubuntu icon on the left.

At the end of installing (with Synaptic), I got a message telling me that winbind failed to install. I see that this bug is already in triaged state, but I don't know if somebody is looking at it?

I've attached the result of a "sudo aptitude dist-upgrade", don't know if this might help.

Revision history for this message
Chris Howard (choward) wrote :

I fixed it with sudo dpkg-reconfigure samba-common then dpkg --configure -a

Not really sure why this worked or why it popped in my head to do this, but it worked.

Chris Howard

Revision history for this message
A. Denton (aquina) wrote :

I have the same problem.

"sudo dpkg-reconfigure samba-common" doesn't work and returns the message "/usr/sbin/dpkg-reconfigure: samba-common ist kaputt oder nicht komplett installiert" ("/usr/sbin/dpkg-reconfigure: samba-common damaged or not installed completely")

Further I executed "sudo winbindd -SF -d 10" and received the following output:

winbindd version 3.0.28a started.
Copyright Andrew Tridgell and the Samba Team 1992-2008
lp_load: refreshing parameters
Initialising global parameters
params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
 No such file or directory
pm_process() returned No
lp_servicenumber: couldn't find homes
[......]
error opening config file
aquina@TRON:~$

The only thing I did was uninstalling the samba package on my client because I don't need it anymore. I later realized the winbind fail message on system boot.

Thierry Carrez (ttx)
summary: - package winbind 2:3.2.3-1ubuntu3 failed to install/upgrade: subprocess
- post-installation script returned error exit status 1
+ winbind post-installation script returned error exit status 1 (daemon
+ failed to start)
Thierry Carrez (ttx)
summary: - winbind post-installation script returned error exit status 1 (daemon
- failed to start)
+ winbind postinst returned error exit status 1 (daemon failed to start)
Revision history for this message
Aleksey Porfirov (lexqt) wrote :

I had similar problem on Kubuntu 10.10.
But "sudo dpkg-reconfigure samba-common" helped.

IKT (ikt)
Changed in samba (Ubuntu):
status: Triaged → Confirmed
Revision history for this message
IKT (ikt) wrote :

Setting back to confirmed since no upstream bug has been made or attached, if someone can report the bug upstream then set it back to triaged that would be great, thanks :)

Revision history for this message
Ashish Kumar Sinha (aksinha) wrote :

I had similar problems to on Ubuntu 11.10.
I believe it was caused when I made an incomplete trial to switch from Samba to Samba4.

Following worked for me:
$ sudo dpkg-reconfigure samba-common
$ sudo cp /usr/share/samba/smb.conf /etc/samba/smb.conf
$ sudo dpkg --configure -a

Hope it is helpful.

Revision history for this message
Jonathan Ferreira (j0n4tfds) wrote :

Just "sudo dpkg-reconfigure samba-common" worked to me!
I am using Ubuntu 12.04 64-bits.

Many thanks for posting!

Revision history for this message
mkrate (mkrate) wrote : Re: [Bug 288496] Re: winbind postinst returned error exit status 1 (daemon failed to start)

Thanks!!!
On May 2, 2012 10:06 PM, "Jonathan Ferreira" <email address hidden> wrote:

> Just "sudo dpkg-reconfigure samba-common" worked to me!
> I am using Ubuntu 12.04 64-bits.
>
> Many thanks for posting!
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (507202).
> https://bugs.launchpad.net/bugs/288496
>
> Title:
> winbind postinst returned error exit status 1 (daemon failed to start)
>
> Status in “samba” package in Ubuntu:
> Confirmed
>
> Bug description:
> Binary package hint: winbind
>
> Installing WINE for the first time on a fully updated (as of morning of
> 10/23/08) Intrepid beta. System is Intel all the way (proc, chipset,
> network, etc) since Intel motherboard, except for nVidia graphics card with
> closed drivers installed. apt-get install wine returns this:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> wine is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> 1 not fully installed or removed.
> After this operation, 0B of additional disk space will be used.
> Setting up winbind (2:3.2.3-1ubuntu3) ...
> * Starting the Winbind daemon winbind
> [fail]
> invoke-rc.d: initscript winbind, action "start" failed.
> dpkg: error processing winbind (--configure):
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> winbind
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> Also:
> tom@ubuntu:~$ uname -a
> Linux ubuntu 2.6.27-7-generic #1 SMP Wed Oct 22 01:30:40 UTC 2008 x86_64
> GNU/Linux
>
> I'm happy to post any further information that may be helpful.
>
> -Tom
>
> ProblemType: Package
> Architecture: amd64
> DistroRelease: Ubuntu 8.10
> ErrorMessage: subprocess post-installation script returned error exit
> status 1
> NonfreeKernelModules: nvidia
> Package: winbind 2:3.2.3-1ubuntu3
> SourcePackage: samba
> Title: package winbind 2:3.2.3-1ubuntu3 failed to install/upgrade:
> subprocess post-installation script returned error exit status 1
> Uname: Linux 2.6.27-7-generic x86_64
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/samba/+bug/288496/+subscriptions
>

Revision history for this message
Battosai (truneman) wrote :

sudo dpkg-reconfigure samba-common
and
sudo dpkg --configure -a

 fixed my problem with this, thanks guys!

Revision history for this message
A. Denton (aquina) wrote :

The content of comment #10 from 2009-12-29 is obsolete. It works flawlessly right now. Also the distribution and package are EOL. I do not have the powers to change this bug to WONT FIX state. Someone here at Launchpad either give that permission to me or mark it as such, please.

Rafael (valromer)
Changed in samba (Ubuntu):
status: Confirmed → 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.