package libnss-winbind:i386 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to install/upgrade: problèmes de dépendances - laissé non configuré

Bug #1730311 reported by barry
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

i dont know the problem

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: libnss-winbind:i386 2:4.3.11+dfsg-0ubuntu0.16.04.11
ProcVersionSignature: Ubuntu 3.13.0-93.140-generic 3.13.11-ckt39
Uname: Linux 3.13.0-93-generic i686
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: i386
Date: Fri Nov 3 12:28:06 2017
ErrorMessage: problèmes de dépendances - laissé non configuré
InstallationDate: Installed on 2013-04-09 (1671 days ago)
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release i386 (20120817.3)
NmbdLog:

RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.2
 apt 1.2.24
SambaServerRegression: Yes
SmbConfIncluded: Yes
SmbLog:

SourcePackage: samba
Title: package libnss-winbind:i386 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to install/upgrade: problèmes de dépendances - laissé non configuré
UpgradeStatus: Upgraded to xenial on 2016-08-15 (447 days ago)
WindowsFailedConnect: Yes

Revision history for this message
barry (thiernoamadou) wrote :
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Thanks for filing this bug in Ubuntu.

Unfortunately the attached logs only show that the smbd service indeed failed to start, but do not tell us why.

Your config file looks fine.

Could you please attach all files from /var/log/samba/ that start with "log"? That would be /var/log/samba/log*. These might contain a clue as to why the service failed to start.

Also please show us the output of this command:

sudo systemctl status smbd.service nmbd.service

Thanks!

Changed in samba (Ubuntu):
status: New → Incomplete
Revision history for this message
barry (thiernoamadou) wrote : Re: [Bug 1730311] Re: package libnss-winbind:i386 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to install/upgrade: problèmes de dépendances - laissé non configuré

Hello,First thank you to respond me i'm sorry for the late and my english, i'm french."sudo systemctl status smbd.service nmbd.service":
● smbd.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

● nmbd.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

cordialement,

BARRY Thierno
M2_MIAGE Aix Marseille Université
Tel:07-82-50-20-82
E_mail: <email address hidden>

    Le lundi 6 novembre 2017 à 15:40:59 UTC+1, Andreas Hasenack <email address hidden> a écrit :

 Thanks for filing this bug in Ubuntu.

Unfortunately the attached logs only show that the smbd service indeed
failed to start, but do not tell us why.

Your config file looks fine.

Could you please attach all files from /var/log/samba/ that start with
"log"? That would be /var/log/samba/log*. These might contain a clue as
to why the service failed to start.

Also please show us the output of this command:

sudo systemctl status smbd.service nmbd.service

Thanks!

** Changed in: samba (Ubuntu)
      Status: New => Incomplete

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1730311

Title:
  package libnss-winbind:i386 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to
  install/upgrade: problèmes de dépendances - laissé non configuré

Status in samba package in Ubuntu:
  Incomplete

Bug description:
  i dont know the problem

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: libnss-winbind:i386 2:4.3.11+dfsg-0ubuntu0.16.04.11
  ProcVersionSignature: Ubuntu 3.13.0-93.140-generic 3.13.11-ckt39
  Uname: Linux 3.13.0-93-generic i686
  ApportVersion: 2.20.1-0ubuntu2.10
  Architecture: i386
  Date: Fri Nov  3 12:28:06 2017
  ErrorMessage: problèmes de dépendances - laissé non configuré
  InstallationDate: Installed on 2013-04-09 (1671 days ago)
  InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release i386 (20120817.3)
  NmbdLog:

  RelatedPackageVersions:
  dpkg 1.18.4ubuntu1.2
  apt  1.2.24
  SambaServerRegression: Yes
  SmbConfIncluded: Yes
  SmbLog:

  SourcePackage: samba
  Title: package libnss-winbind:i386 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to install/upgrade: problèmes de dépendances - laissé non configuré
  UpgradeStatus: Upgraded to xenial on 2016-08-15 (447 days ago)
  WindowsFailedConnect: Yes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1730311/+subscriptions

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Hi,

unfortunately due to launchpad bug #983766 your attachment cannot be downloaded. Could you please rename it to something that does not contain symbols, something like "logs.tar.gz", and upload it one more time?

Thanks

Revision history for this message
barry (thiernoamadou) wrote :

hi,

BARRY Thierno
M2_MIAGE Aix Marseille Université
Tel:07-82-50-20-82
E_mail: <email address hidden>

    Le mardi 28 novembre 2017 à 12:50:40 UTC+1, Andreas Hasenack <email address hidden> a écrit :

 Hi,

unfortunately due to launchpad bug #983766 your attachment cannot be
downloaded. Could you please rename it to something that does not
contain symbols, something like "logs.tar.gz", and upload it one more
time?

Thanks

** Attachment removed: "file.gz"
  https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1730311/+attachment/5015394/+files/%3D%3FUTF-8%3Fb%3FbG9nLnRhci5neg%3D%3D%3F%3D

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1730311

Title:
  package libnss-winbind:i386 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to
  install/upgrade: problèmes de dépendances - laissé non configuré

Status in samba package in Ubuntu:
  Incomplete

Bug description:
  i dont know the problem

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: libnss-winbind:i386 2:4.3.11+dfsg-0ubuntu0.16.04.11
  ProcVersionSignature: Ubuntu 3.13.0-93.140-generic 3.13.11-ckt39
  Uname: Linux 3.13.0-93-generic i686
  ApportVersion: 2.20.1-0ubuntu2.10
  Architecture: i386
  Date: Fri Nov  3 12:28:06 2017
  ErrorMessage: problèmes de dépendances - laissé non configuré
  InstallationDate: Installed on 2013-04-09 (1671 days ago)
  InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release i386 (20120817.3)
  NmbdLog:

  RelatedPackageVersions:
  dpkg 1.18.4ubuntu1.2
  apt  1.2.24
  SambaServerRegression: Yes
  SmbConfIncluded: Yes
  SmbLog:

  SourcePackage: samba
  Title: package libnss-winbind:i386 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to install/upgrade: problèmes de dépendances - laissé non configuré
  UpgradeStatus: Upgraded to xenial on 2016-08-15 (447 days ago)
  WindowsFailedConnect: Yes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1730311/+subscriptions

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Sorry, it's not working. I think it's because you are attaching the file via email. Could you instead please go to https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1730311/+addcomment and use that form to attach the file?

Revision history for this message
barry (thiernoamadou) wrote :

my log file

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Thanks for the attachment, it worked this time.

A few things are incorrect in your system.

a) permissions
[2017/11/27 09:29:37.005696, 0] ../lib/util/util.c:285(directory_create_or_exist_strict)
  invalid permissions on directory '/var/lib/samba/private/msg.sock': has 0777 should be 0700

This is what a correct /var/lib/samba/private directory and contents should be like:
root@xenial-samba-1730311:~# l /var/lib/samba/private/
total 1.1M
drwxr-xr-x 3 root root 5 Nov 28 15:54 .
drwxr-xr-x 5 root root 9 Nov 28 15:54 ..
drwx------ 2 root root 8 Nov 28 15:54 msg.sock
-rw------- 1 root root 412K Nov 28 15:54 passdb.tdb
-rw------- 1 root root 420K Nov 28 15:54 secrets.tdb

You need to run "sudo chmod 0700 /var/lib/samba/private/msg.sock". Also please check that the other files have the correct permissions. Did you ever run something like "chmod 0777"?

b) It's weird that the systemctl status command you ran earlier showed the services as being disabled. Why did you install samba if those services are disabled?

Please run this command as well (one long line)

sudo systemctl status samba-ad-dc.service samba.service smbd.service nmbd.service winbind.service

and

dpkg -l|grep samba

Thanks

Revision history for this message
barry (thiernoamadou) wrote :
Download full text (5.4 KiB)

hi,I run the command now i got this,its ok?:
● samba-ad-dc.service
● samba-ad-dc.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

● samba.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

● smbd.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

● nmbd.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

● winbind.service - LSB: start Winbind daemon
   Loaded: loaded (/etc/init.d/winbind; bad; vendor preset: enabled)
   Active: active (exited) since mar. 2017-11-28 11:34:22 CET; 5h 33min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1308 ExecStart=/etc/init.d/winbind start (code=exited, status=0/SUCCE

nov. 28 11:34:22 barry-SATELLITE-C660 systemd[1]: Starting LSB: start Winbind da
nov. 28 11:34:22 barry-SATELLITE-C660 systemd[1]: Started LSB: start Winbind dae
...skipping...
● samba-ad-dc.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

● samba.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

● smbd.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

● nmbd.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

● winbind.service - LSB: start Winbind daemon
   Loaded: loaded (/etc/init.d/winbind; bad; vendor preset: enabled)
   Active: active (exited) since mar. 2017-11-28 11:34:22 CET; 5h 33min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1308 ExecStart=/etc/init.d/winbind start (code=exited, status=0/SUCCE

nov. 28 11:34:22 barry-SATELLITE-C660 systemd[1]: Starting LSB: start Winbind da
nov. 28 11:34:22 barry-SATELLITE-C660 systemd[1]: Started LSB: start Winbind dae
log file: amba
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

● samba.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

● smbd.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

● nmbd.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

● winbind.service - LSB: start Winbind daemon
   Loaded: loaded (/etc/init.d/winbind; bad; vendor preset: enabled)
   Active: active (exited) since mar. 2017-11-28 11:34:22 CET; 5h 33min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1308 ExecStart=/etc/init.d/winbind start (code=exited, status=0/SUCCE

nov. 28 11:34:22 barry-SATELLITE-C660 systemd[1]: Starting LSB: start Winbind da
nov. 28 11:34:22 barry-SATELLITE-C660 systemd[1]: Started LSB: start Winbind dae
~
lines 2-24/24 (END)
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

● samba.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

● smbd.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

● nmbd.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

● winbind.service - LSB: start Winbind daemon
   Loaded: loaded (...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for samba (Ubuntu) because there has been no activity for 60 days.]

Changed in samba (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

I think you need to reinstall samba:

sudo apt update
sudo apt install --reinstall samba samba-common

If that complains that it cannot be reinstalled, then run:

sudo apt update
sudo apt install samba samba-common

Changed in samba (Ubuntu):
status: Expired → Incomplete
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Sorry, please include libnss-winbind and winbind in the commands above, I forgot about that package.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for samba (Ubuntu) because there has been no activity for 60 days.]

Changed in samba (Ubuntu):
status: Incomplete → Expired
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.