Thanks all good now. I knew that smb, nmb, winbind services were not supposed to be running, since services --status-all showed them as down I thought it was good.
On Tue, Aug 1, 2017 at 8:55 AM Andreas Hasenack <[email protected]> wrote: > Thanks, the files confirm my suspicion: > Jul 29 06:50:53 dc smbd[1486]: server role = 'active directory domain > controller' not compatible with running smbd standalone. > Jul 29 06:50:53 dc smbd[1486]: You should start 'samba' instead, and it > will control starting smbd if required > Jul 29 06:50:53 dc systemd[1]: smbd.service: Main process exited, > code=exited, status=1/FAILURE > Jul 29 06:50:53 dc systemd[1]: Failed to start Samba SMB Daemon. > > To fix your problem, you need to disable the individual samba services > smbd, nmbd and winbind, and only start the new samba-ad-dc service, > which will take care of starting and handling the lifecycle of the > individual services: > > sudo systemctl stop smbd.service nmbd.service winbind.service > sudo systemctl disable smbd.service nmbd.service winbind.service > sudo systemctl unmask samba-ad-dc.service > sudo systemctl enable samba-ad-dc.service > sudo systemctl restart samba-ad-dc.service > > After that's done, tell apt to try to finish the interrupted package > installation/upgrade that triggered this bug report: > > sudo apt update > sudo apt -f install > > Then please let us know how it goes. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1707148 > > Title: > package winbind 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: > Apt-get upgrade of samba fails after configuring as AD DC. > > ProblemType: Package > DistroRelease: Ubuntu 17.04 > Package: winbind 2:4.5.8+dfsg-0ubuntu0.17.04.4 > ProcVersionSignature: Ubuntu 4.10.0-26.30-generic 4.10.17 > Uname: Linux 4.10.0-26-generic x86_64 > ApportVersion: 2.20.4-0ubuntu4.5 > AptOrdering: NULL: ConfigurePending > Architecture: amd64 > Date: Fri Jul 28 04:30:37 2017 > ErrorMessage: subprocess installed post-installation script returned > error exit status 1 > NmbdLog: > > OtherFailedConnect: Yes > RelatedPackageVersions: > dpkg 1.18.10ubuntu2 > apt 1.4 > SambaServerRegression: Yes > SmbConfIncluded: Yes > SmbLog: > > SourcePackage: samba > Title: package winbind 2:4.5.8+dfsg-0ubuntu0.17.04.4 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/1707148/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1707148 Title: package winbind 2:4.5.8+dfsg-0ubuntu0.17.04.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1707148/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
