[Bug 1662006] Re: package samba 2:4.4.5+dfsg-2ubuntu5.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
ChristianEhrhardt
1662006 at bugs.launchpad.net
Mon Feb 6 12:13:10 UTC 2017
Hi,
thank you for your report.
>From what I read it seems that your samba is installed/configured in a way that the service won't start. Since the services are tried to be restarted on every update to pick up the changes it will fail that restart every time it updates and notifies you of an issue.
>From your log:
Created symlink /etc/systemd/system/multi-user.target.wants/nmbd.service → /lib/systemd/system/nmbd.service.
Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory
Created symlink /etc/systemd/system/multi-user.target.wants/smbd.service → /lib/systemd/system/smbd.service.
Job for nmbd.service failed because a timeout was exceeded.
See "systemctl status nmbd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nmbd, action "start" failed.
[0;1;31m●[0m nmbd.service - Samba NMB Daemon
Loaded: loaded (/lib/systemd/system/nmbd.service; enabled; vendor preset: enabled)
Active: [0;1;31mfailed[0m (Result: timeout) since Sat 2017-02-04 22:36:38 CET; 33ms ago
Docs: man:nmbd(8)
man:samba(7)
man:smb.conf(5)
Process: 9024 ExecStart=/usr/sbin/nmbd $NMBDOPTIONS (code=killed, signal=TERM)
Main PID: 9024 (code=killed, signal=TERM)
Status: "nmbd: No local IPv4 non-loopback interfaces available, waiting for interface ..."
I wonder about the last message thou - have you an ipv6 only setup or anything like it?
Otherwise as outlined before maybe just the config of smbd/nmbd is in a bad state.
I've seen several reports like this, but since it is not reproducing
from the default install it usually is related to some sort of custom
config. Unfortunately that was often done months or even years ago.
--
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/1662006
Title:
package samba 2:4.4.5+dfsg-2ubuntu5.2 failed to install/upgrade:
subprocess installed post-installation script returned error exit
status 1
Status in samba package in Ubuntu:
Incomplete
Bug description:
I was not aware of any bug. However I have received a message every time I have run Ubuntu over the last 2 or 3 days (perhaps 10 -12 times) saying that a system error had occured and inviting me to report it. On this and only this occasion has the error been followed by questions and this web page opening in my browser. As questions were centred around Samba and Windows network it could coincide with a wifi enabled Epson printer that my son has installed and, apparently connected to our home network. I have not made any attempt to connect to the network but I did notice on 3rd February that the printer appeared in network settings. I don't know if this is of any help.
Regards, Brian
ProblemType: Package
DistroRelease: Ubuntu 16.10
Package: samba 2:4.4.5+dfsg-2ubuntu5.2
ProcVersionSignature: Ubuntu 4.8.0-32.34-generic 4.8.11
Uname: Linux 4.8.0-32-generic x86_64
ApportVersion: 2.20.3-0ubuntu8.2
Architecture: amd64
BothFailedConnect: Yes
Date: Sat Feb 4 22:36:39 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-11-24 (73 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
NmbdLog:
RelatedPackageVersions:
dpkg 1.18.10ubuntu1
apt 1.3.3
SambaServerRegression: Yes
SmbConfIncluded: Yes
SmbLog:
SourcePackage: samba
Title: package samba 2:4.4.5+dfsg-2ubuntu5.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1662006/+subscriptions
More information about the foundations-bugs
mailing list