[Bug 1706512] Re: package samba 2:4.5.8+dfsg-0ubuntu0.17.04.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Andreas Hasenack andreas at canonical.com
Wed Jul 26 18:10:33 UTC 2017


Thanks for filing this bug in Ubuntu.

nmbd failed to start and gave this explanation:
   Status: "nmbd: No local IPv4 non-loopback interfaces available, waiting for interface ..."

You seem to have a local network configuration problem. Maybe your
"interfaces" setting in /etc/samba/smb.conf is incorrect?

Could you please share:
- the logs files from /var/log/samba/log*
- output of "sudo ip a"
- process listing: output of "ps fauxw"

And the status of these services by running this command:
sudo systemctl status nmbd.service smbd.service samba-ad-dc.service samba.service


Also, testparm(1) is highlighting that you seem to be using a lot of deprecated options in your /etc/samba/smb.conf file, maybe if you could clean those up we could narrow down what the real problem is:

$ testparm ./smb.conf 
Load smb config files from ./smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "null passwords" option is deprecated
Unknown parameter encountered: "password level"
Ignoring unknown parameter "password level"
Unknown parameter encountered: "update encrypted"
Ignoring unknown parameter "update encrypted"
WARNING: The "idmap uid" option is deprecated
WARNING: The "idmap gid" option is deprecated
Processing section "[homes]"
Processing section "[netlogon]"
Processing section "[profiles]"
Processing section "[printers]"
Processing section "[pdf-documents]"
Processing section "[pdf-printer]"
Loaded services file OK.
WARNING: socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
(...)


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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1706512

Title:
  package samba 2:4.5.8+dfsg-0ubuntu0.17.04.4 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

Status in samba package in Ubuntu:
  Incomplete

Bug description:
  On system start up, the error show up.

  ProblemType: Package
  DistroRelease: Ubuntu 17.04
  Package: samba 2:4.5.8+dfsg-0ubuntu0.17.04.4
  ProcVersionSignature: Ubuntu 4.10.0-28.32-generic 4.10.17
  Uname: Linux 4.10.0-28-generic x86_64
  ApportVersion: 2.20.4-0ubuntu4.5
  Architecture: amd64
  Date: Tue Jul 25 10:56:53 2017
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2017-03-24 (123 days ago)
  InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
  NmbdLog:
   
  RelatedPackageVersions:
   dpkg 1.18.10ubuntu2
   apt  1.4
  SambaServerRegression: Yes
  SmbConfIncluded: Yes
  SmbLog:
   
  SourcePackage: samba
  Title: package samba 2:4.5.8+dfsg-0ubuntu0.17.04.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: Upgraded to zesty on 2017-04-20 (96 days ago)
  WindowsFailedConnect: Yes

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



More information about the foundations-bugs mailing list