Re: [Bug 1734859] Re: package samba 2:4.5.4+dfsg-1ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Alright, everything has been set up, and it's solved! Thanks before. On Mon, Dec 11, 2017 at 6:28 PM, Andreas Hasenack wrote: > "Reinstallation of samba is not possible, it cannot be downloaded." > > Ok, samba has since been updated in the archive, so the version you have > installed is no longer available (that's why --reinstall failed). Use > this then: > > sudo apt update > sudo apt install samba > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1734859 > > Title: > package samba 2:4.5.4+dfsg-1ubuntu2 failed to install/upgrade: > subprocess installed post-installation script returned error exit > status 1 > > Status in samba package in Ubuntu: > Incomplete > > Bug description: > root@IT-XXI:~# apt install samba > Reading package lists... Done > Building dependency tree > Reading state information... Done > The following additional packages will be installed: > attr libboost-random1.62.0 libcephfs1 libldb1 libtalloc2 libtevent0 > libwbclient0 python-crypto python-dnspython python-ldb python-samba > python-talloc python-tdb samba-common samba-common-bin > samba-dsdb-modules > samba-libs samba-vfs-modules tdb-tools > Suggested packages: > python-crypto-dbg python-crypto-doc python-gpgme bind9 bind9utils ctdb > ldb-tools ntp | chrony smbldap-tools winbind heimdal-clients > The following NEW packages will be installed: > attr libboost-random1.62.0 libcephfs1 libldb1 libtalloc2 libtevent0 > libwbclient0 python-crypto python-dnspython python-ldb python-samba > python-talloc python-tdb samba samba-common samba-common-bin > samba-dsdb-modules samba-libs samba-vfs-modules tdb-tools > 0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded. > Need to get 10,8 MB of archives. > After this operation, 56,7 MB of additional disk space will be used. > Do you want to continue? [Y/n] y > Get:1 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 libwbclient0 > amd64 2:4.5.4+dfsg-1ubuntu2 [32,8 kB] > Get:2 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 > python-dnspython all 1.15.0-1 [84,9 kB] > Get:3 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 > python-crypto amd64 2.6.1-7 [244 kB] > Get:4 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 libtalloc2 > amd64 2.1.8-1 [34,5 kB] > Get:5 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 libtevent0 > amd64 0.9.31-1 [28,4 kB] > Get:6 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 libldb1 > amd64 2:1.1.27-1 [109 kB] > Get:7 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 python-ldb > amd64 2:1.1.27-1 [31,0 kB] > Get:8 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 python-tdb > amd64 1.3.11-2 [10,7 kB] > Get:9 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 > python-talloc amd64 2.1.8-1 [8.350 B] > Get:10 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 samba-libs > amd64 2:4.5.4+dfsg-1ubuntu2 [5.072 kB] > Get:11 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 > python-samba amd64 2:4.5.4+dfsg-1ubuntu2 [1.259 kB] > Get:12 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 > samba-common all 2:4.5.4+dfsg-1ubuntu2 [76,7 kB] > Get:13 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 > samba-common-bin amd64 2:4.5.4+dfsg-1ubuntu2 [510 kB] > Get:14 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 tdb-tools > amd64 1.3.11-2 [21,4 kB] > Get:15 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 samba amd64 > 2:4.5.4+dfsg-1ubuntu2 [836 kB] > Get:16 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 attr amd64 > 1:2.4.47-2 [25,5 kB] > Get:17 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 > libboost-random1.62.0 amd64 1.62.0+dfsg-4 [11,1 kB] > Get:18 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 libcephfs1 > amd64 10.2.6-0ubuntu1 [1.861 kB] > Get:19 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 > samba-dsdb-modules amd64 2:4.5.4+dfsg-1ubuntu2 [230 kB] > Get:20 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 > samba-vfs-modules amd64 2:4.5.4+dfsg-1ubuntu2 [267 kB] > Fetched 10,8 MB in 1min 7s (160 kB/s) > Preconfiguring packages ... > Selecting previously unselected package libwbclient0:amd64. > (Reading database ... 333776 files and directories currently installed.) > Preparing to unpack .../00-libwbclient0_2%3a4.5.4+dfsg-1ubuntu2_amd64.deb > ... > Unpacking libwbclient0:amd64 (2:4.5.4+dfsg-1ubuntu2) ... > Selecting previously unselected package python-dnspython. > Preparing to unpack .../01-python-dnspython_1.15.0-1_all.deb ... > Unpacking python-dnspython (1.15.0-1) ... > Selecting previously unselected package python-crypto. > Preparing to unpack .../02-python-crypto_2.6.1-7_amd64.deb ... > Unpacking python-crypto (2.6.1-7) ... > Selecting previously unselected package libtalloc2:amd64. > Preparing to unpack .../03-libtalloc2_2.1.8-1_amd64.deb ... > Unpacking libtalloc2:amd64 (
Re: [Bug 1734859] Re: package samba 2:4.5.4+dfsg-1ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Sorry for late reply, here is the result root@IT-XXI:~# apt install --reinstall samba Reading package lists... Done Building dependency tree Reading state information... Done Reinstallation of samba is not possible, it cannot be downloaded. The following packages were automatically installed and are no longer required: libboost-random1.62.0 libcephfs1 linux-headers-4.10.0-40 linux-headers-4.10.0-40-generic linux-image-4.10.0-40-generic linux-image-extra-4.10.0-40-generic Use 'apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded. root@IT-XXI:~# systemctl status smbd.service nmbd.service samba-ad-dc.service ● smbd.service - Samba SMB Daemon Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: ena Active: active (running) since Mon 2017-12-11 08:37:53 WIB; 5h 24min ago Docs: man:smbd(8) man:samba(7) man:smb.conf(5) Main PID: 1527 (smbd) Status: "smbd: ready to serve connections..." Tasks: 6 (limit: 4915) CGroup: /system.slice/smbd.service ├─ 1527 /usr/sbin/smbd ├─ 1648 /usr/sbin/smbd ├─ 1649 /usr/sbin/smbd ├─ 1861 /usr/sbin/smbd ├─21950 /usr/sbin/smbd └─22009 /usr/sbin/smbd Des 11 13:49:36 IT-XXI smbd[23955]: pam_unix(samba:session): session closed for Des 11 13:49:52 IT-XXI smbd[23962]: pam_unix(samba:session): session closed for Des 11 13:50:25 IT-XXI smbd[23966]: pam_unix(samba:session): session closed for Des 11 13:50:59 IT-XXI smbd[23971]: pam_unix(samba:session): session closed for Des 11 13:52:25 IT-XXI smbd[23986]: pam_unix(samba:session): session closed for Des 11 13:52:25 IT-XXI smbd[23987]: pam_unix(samba:session): session closed for Des 11 13:52:33 IT-XXI smbd[23992]: pam_unix(samba:session): session closed for Des 11 13:52:33 IT-XXI smbd[23991]: pam_unix(samba:session): session closed for Des 11 13:53:31 IT-XXI smbd[24004]: pam_unix(samba:session): session closed for Des 11 13:55:08 IT-XXI smbd[24016]: pam_unix(samba:session): session closed for ● nmbd.service - Samba NMB Daemon Loaded: loaded (/lib/systemd/system/nmbd.service; enabled; vendor preset: ena Active: active (running) since Mon 2017-12-11 08:37:51 WIB; 5h 24min ago Docs: man:nmbd(8) man:samba(7) man:smb.conf(5) Main PID: 1511 (nmbd) Status: "nmbd: ready to serve connections..." Tasks: 1 (limit: 4915) CGroup: /system.slice/nmbd.service └─1511 /usr/sbin/nmbd Des 11 08:37:44 IT-XXI systemd[1]: Starting Samba NMB Daemon... Des 11 08:37:51 IT-XXI systemd[1]: nmbd.service: Supervising process 1511 which Des 11 08:37:51 IT-XXI systemd[1]: Started Samba NMB Daemon. ● samba-ad-dc.service - Samba Active Directory Domain Controller Loaded: loaded (/etc/systemd/system/samba-ad-dc.service; disabled; vendor pre Active: inactive (dead) ESCOC unix(samba:session): session closed for user nobody unix(samba:session): session closed for user nobody unix(samba:session): session closed for user nobody mbd.service; enabled; vendor preset: enabled) 17-12-11 08:37:51 WIB; 5h 24min ago ions..." ing Samba NMB Daemon... service: Supervising process 1511 which is not our child. We'll most likely not ed Samba NMB Daemon. ectory Domain Controller amba-ad-dc.service; disabled; vendor preset: enabled) ESCOD Des 11 13:52:33 IT-XXI smbd[23991]: pam_unix(samba:session): session closed for Des 11 13:53:31 IT-XXI smbd[24004]: pam_unix(samba:session): session closed for Des 11 13:55:08 IT-XXI smbd[24016]: pam_unix(samba:session): session closed for ● nmbd.service - Samba NMB Daemon Loaded: loaded (/lib/systemd/system/nmbd.service; enabled; vendor preset: ena Active: active (running) since Mon 2017-12-11 08:37:51 WIB; 5h 24min ago Docs: man:nmbd(8) man:samba(7) man:smb.conf(5) Main PID: 1511 (nmbd) Status: "nmbd: ready to serve connections..." Tasks: 1 (limit: 4915) CGroup: /system.slice/nmbd.service └─1511 /usr/sbin/nmbd Des 11 08:37:44 IT-XXI systemd[1]: Starting Samba NMB Daemon... Des 11 08:37:51 IT-XXI systemd[1]: nmbd.service: Supervising process 1511 which Des 11 08:37:51 IT-XXI systemd[1]: Started Samba NMB Daemon. ● samba-ad-dc.service - Samba Active Directory Domain Controller Loaded: loaded (/etc/systemd/system/samba-ad-dc.service; disabled; vendor pre Active: inactive (dead) root@IT-XXI:~# ls -l /etc/systemd/system/samba-ad-dc.service -rw-r--r-- 1 root root 297 Okt 2 10:10 /etc/systemd/system/samba-ad-dc.service On Fri, Dec 8, 2017 at 7:28 PM, Andreas Hasenack wrote: > Ok, please run this now: > > sudo apt install --reinstall samba > sudo systemctl status smbd.service nmbd.service samba-ad-dc.service > sudo ls -l /etc/systemd/system/samba-ad-dc.service > > Thanks > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1734859 > > Title: > package samba 2:4.5.4+dfsg-1ubuntu
Re: [Bug 1734859] Re: package samba 2:4.5.4+dfsg-1ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Well, here's the report root@IT-XXI:~# systemctl stop smbd.service nmbd.service winbind.service samba-ad-dc.service root@IT-XXI:~# systemctl disable samba-ad-dc.service Synchronizing state of samba-ad-dc.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install disable samba-ad-dc root@IT-XXI:~# systemctl mask samba-ad-dc.service Failed to mask unit: File /etc/systemd/system/samba-ad-dc.service already exists. root@IT-XXI:~# systemctl enable smbd.service nmbd.service Synchronizing state of smbd.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable smbd Synchronizing state of nmbd.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable nmbd root@IT-XXI:~# systemctl start smbd.service nmbd.service root@IT-XXI:~# apt update Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease Hit:2 http://dl.google.com/linux/chrome/deb stable Release Get:4 http://security.ubuntu.com/ubuntu zesty-security InRelease [89,2 kB] Hit:5 http://us.archive.ubuntu.com/ubuntu zesty InRelease Hit:6 http://ppa.launchpad.net/plushuang-tw/uget-stable/ubuntu zesty InRelease Get:7 http://us.archive.ubuntu.com/ubuntu zesty-updates InRelease [89,2 kB] Get:8 http://us.archive.ubuntu.com/ubuntu zesty-updates/universe i386 Packages [166 kB] Get:9 http://security.ubuntu.com/ubuntu zesty-security/universe amd64 DEP-11 Metadata [27,4 kB] Get:10 http://security.ubuntu.com/ubuntu zesty-security/universe DEP-11 64x64 Icons [56,9 kB] Get:11 http://security.ubuntu.com/ubuntu zesty-security/main amd64 DEP-11 Metadata [15,1 kB] Get:12 http://security.ubuntu.com/ubuntu zesty-security/main DEP-11 64x64 Icons [17,6 kB] Get:13 http://us.archive.ubuntu.com/ubuntu zesty-updates/universe amd64 Packages [166 kB] Get:14 http://security.ubuntu.com/ubuntu zesty-security/multiverse amd64 DEP-11 Metadata [208 B] Get:15 http://us.archive.ubuntu.com/ubuntu zesty-updates/universe amd64 DEP-11 Metadata [203 kB] Get:16 http://us.archive.ubuntu.com/ubuntu zesty-updates/universe DEP-11 64x64 Icons [288 kB] Get:17 http://us.archive.ubuntu.com/ubuntu zesty-updates/main amd64 Packages [250 kB] Get:18 http://us.archive.ubuntu.com/ubuntu zesty-updates/main i386 Packages [246 kB] Get:19 http://us.archive.ubuntu.com/ubuntu zesty-updates/main amd64 DEP-11 Metadata [55,2 kB] Get:20 http://us.archive.ubuntu.com/ubuntu zesty-updates/main DEP-11 64x64 Icons [32,3 kB] Get:21 http://us.archive.ubuntu.com/ubuntu zesty-updates/multiverse amd64 DEP-11 Metadata [5.840 B] Fetched 1.708 kB in 13s (126 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 11 packages can be upgraded. Run 'apt list --upgradable' to see them. root@IT-XXI:~# apt -f install Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libboost-random1.62.0 libcephfs1 Use 'apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up samba (2:4.6.7+dfsg-1ubuntu3.1) ... Processing triggers for libc-bin (2.24-9ubuntu2.2) ... W: APT had planned for dpkg to do more than it reported back (0 vs 4). Affected packages: samba:amd64 On Thu, Dec 7, 2017 at 6:27 PM, Andreas Hasenack wrote: > Ok, you should disable samba-ad-dc and enable the others. Like this: > > sudo systemctl stop smbd.service nmbd.service winbind.service > samba-ad-dc.service > (the above one may indicate a failure since these services are probably > already stopped, but that's ok) > > sudo systemctl disable samba-ad-dc.service > sudo systemctl mask samba-ad-dc.service > sudo systemctl enable smbd.service nmbd.service > sudo systemctl start smbd.service nmbd.service > > > Then this: > sudo apt update > sudo apt -f install > > Let me know how it goes. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1734859 > > Title: > package samba 2:4.5.4+dfsg-1ubuntu2 failed to install/upgrade: > subprocess installed post-installation script returned error exit > status 1 > > Status in samba package in Ubuntu: > Incomplete > > Bug description: > root@IT-XXI:~# apt install samba > Reading package lists... Done > Building dependency tree > Reading state information... Done > The following additional packages will be installed: > attr libboost-random1.62.0 libcephfs1 libldb1 libtalloc2 libtevent0 > libwbclient0 python-crypto python-dnspython python-ldb python-samba > python-talloc python-tdb samba-common samba-common-bin > samba-dsdb-modules > samba-libs samba-vfs-modules tdb-tools > Suggested packages: > python-crypto-dbg python-crypto-doc python-gpgme bind9 bind
Re: [Bug 1734859] Re: package samba 2:4.5.4+dfsg-1ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Here's samba-ad-dc.service status ● samba-ad-dc.service - Samba Active Directory Domain Controller Loaded: loaded (/etc/systemd/system/samba-ad-dc.service; enabled; vendor pres Active: failed (Result: exit-code) since Wed 2017-12-06 08:40:23 WIB; 1h 16mi Process: 4836 ExecStart=/usr/local/samba/sbin/samba -D (code=exited, status=20 Des 06 08:40:23 IT-XXI systemd[1]: Starting Samba Active Directory Domain Contro Des 06 08:40:23 IT-XXI systemd[1]: samba-ad-dc.service: Control process exited, Des 06 08:40:23 IT-XXI systemd[1]: Failed to start Samba Active Directory Domain Des 06 08:40:23 IT-XXI systemd[1]: samba-ad-dc.service: Unit entered failed stat Des 06 08:40:23 IT-XXI systemd[1]: samba-ad-dc.service: Failed with result 'exit On Wed, Dec 6, 2017 at 6:26 PM, Andreas Hasenack wrote: > Your output is missing some data, it's not showing the info for samba- > ad-dc. Please run this: > > sudo systemctl status samba-ad-dc.service > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1734859 > > Title: > package samba 2:4.5.4+dfsg-1ubuntu2 failed to install/upgrade: > subprocess installed post-installation script returned error exit > status 1 > > Status in samba package in Ubuntu: > Incomplete > > Bug description: > root@IT-XXI:~# apt install samba > Reading package lists... Done > Building dependency tree > Reading state information... Done > The following additional packages will be installed: > attr libboost-random1.62.0 libcephfs1 libldb1 libtalloc2 libtevent0 > libwbclient0 python-crypto python-dnspython python-ldb python-samba > python-talloc python-tdb samba-common samba-common-bin > samba-dsdb-modules > samba-libs samba-vfs-modules tdb-tools > Suggested packages: > python-crypto-dbg python-crypto-doc python-gpgme bind9 bind9utils ctdb > ldb-tools ntp | chrony smbldap-tools winbind heimdal-clients > The following NEW packages will be installed: > attr libboost-random1.62.0 libcephfs1 libldb1 libtalloc2 libtevent0 > libwbclient0 python-crypto python-dnspython python-ldb python-samba > python-talloc python-tdb samba samba-common samba-common-bin > samba-dsdb-modules samba-libs samba-vfs-modules tdb-tools > 0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded. > Need to get 10,8 MB of archives. > After this operation, 56,7 MB of additional disk space will be used. > Do you want to continue? [Y/n] y > Get:1 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 libwbclient0 > amd64 2:4.5.4+dfsg-1ubuntu2 [32,8 kB] > Get:2 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 > python-dnspython all 1.15.0-1 [84,9 kB] > Get:3 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 > python-crypto amd64 2.6.1-7 [244 kB] > Get:4 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 libtalloc2 > amd64 2.1.8-1 [34,5 kB] > Get:5 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 libtevent0 > amd64 0.9.31-1 [28,4 kB] > Get:6 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 libldb1 > amd64 2:1.1.27-1 [109 kB] > Get:7 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 python-ldb > amd64 2:1.1.27-1 [31,0 kB] > Get:8 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 python-tdb > amd64 1.3.11-2 [10,7 kB] > Get:9 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 > python-talloc amd64 2.1.8-1 [8.350 B] > Get:10 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 samba-libs > amd64 2:4.5.4+dfsg-1ubuntu2 [5.072 kB] > Get:11 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 > python-samba amd64 2:4.5.4+dfsg-1ubuntu2 [1.259 kB] > Get:12 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 > samba-common all 2:4.5.4+dfsg-1ubuntu2 [76,7 kB] > Get:13 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 > samba-common-bin amd64 2:4.5.4+dfsg-1ubuntu2 [510 kB] > Get:14 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 tdb-tools > amd64 1.3.11-2 [21,4 kB] > Get:15 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 samba amd64 > 2:4.5.4+dfsg-1ubuntu2 [836 kB] > Get:16 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 attr amd64 > 1:2.4.47-2 [25,5 kB] > Get:17 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 > libboost-random1.62.0 amd64 1.62.0+dfsg-4 [11,1 kB] > Get:18 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 libcephfs1 > amd64 10.2.6-0ubuntu1 [1.861 kB] > Get:19 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 > samba-dsdb-modules amd64 2:4.5.4+dfsg-1ubuntu2 [230 kB] > Get:20 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 > samba-vfs-modules amd64 2:4.5.4+dfsg-1ubuntu2 [267 kB] > Fetched 10,8 MB in 1min 7s (160 kB/s) > Preconfiguring packages ... > Selecting previously unselected package libwbclient0:amd64. > (Reading database ... 333776 files and directories currently installed.) > Preparing to unpack .../00-libwbclient0_2%3a4.5.4+dfsg-1ubuntu2_amd64.deb > ... > Unpacking libw
Re: [Bug 1734859] Re: package samba 2:4.5.4+dfsg-1ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Dear Team, Thanks for replying my complain, here's the output of the command that i've type. root@IT-XXI:~# systemctl status smbd.service nmbd.service winbind.service samba-● smbd.service - Samba SMB Daemon Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: ena Active: active (running) since Wed 2017-12-06 08:35:16 WIB; 1h 18min ago Docs: man:smbd(8) man:samba(7) man:smb.conf(5) Main PID: 1446 (smbd) Status: "smbd: ready to serve connections..." Tasks: 5 (limit: 4915) CGroup: /system.slice/smbd.service ├─ 1446 /usr/sbin/smbd ├─ 1459 /usr/sbin/smbd ├─ 1460 /usr/sbin/smbd ├─ 1636 /usr/sbin/smbd └─19344 /usr/sbin/smbd Des 06 09:27:20 IT-XXI smbd[18988]: pam_unix(samba:session): session closed for Des 06 09:30:11 IT-XXI smbd[19001]: pam_unix(samba:session): session closed for Des 06 09:30:53 IT-XXI smbd[19004]: pam_unix(samba:session): session closed for Des 06 09:38:26 IT-XXI smbd[19038]: pam_unix(samba:session): session closed for Des 06 09:39:35 IT-XXI smbd[19043]: pam_unix(samba:session): session closed for Des 06 09:45:01 IT-XXI smbd[19088]: pam_unix(samba:session): session closed for Des 06 09:45:25 IT-XXI smbd[19091]: pam_unix(samba:session): session closed for Des 06 09:47:14 IT-XXI smbd[19172]: pam_unix(samba:session): session closed for Des 06 09:47:30 IT-XXI smbd[19195]: pam_unix(samba:session): session closed for Des 06 09:53:33 IT-XXI smbd[19512]: pam_unix(samba:session): session closed for ● nmbd.service - Samba NMB Daemon Loaded: loaded (/lib/systemd/system/nmbd.service; enabled; vendor preset: ena Active: active (running) since Wed 2017-12-06 08:35:14 WIB; 1h 18min ago Docs: man:nmbd(8) man:samba(7) man:smb.conf(5) Main PID: 1417 (nmbd) Status: "nmbd: ready to serve connections..." Tasks: 1 (limit: 4915) CGroup: /system.slice/nmbd.service └─1417 /usr/sbin/nmbd Des 06 08:35:10 IT-XXI systemd[1]: Starting Samba NMB Daemon... Des 06 08:35:14 IT-XXI systemd[1]: nmbd.service: Supervising process 1417 which Des 06 08:35:14 IT-XXI systemd[1]: Started Samba NMB Daemon. Unit samba-.service could not be found. ● winbind.service Loaded: masked (/dev/null; bad) Active: inactive (dead) On Tue, Dec 5, 2017 at 1:09 AM, Andreas Hasenack wrote: > Thanks for filing this bug in Ubuntu. > > Your smb.conf is configured for a role of standalone server, yet you are > trying to start the samba-ad-dc service which is meant only for active > directory controllers. > > Could you please show the output of this command: > > sudo systemctl status smbd.service nmbd.service winbind.service samba- > ad-dc.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/1734859 > > Title: > package samba 2:4.5.4+dfsg-1ubuntu2 failed to install/upgrade: > subprocess installed post-installation script returned error exit > status 1 > > Status in samba package in Ubuntu: > Incomplete > > Bug description: > root@IT-XXI:~# apt install samba > Reading package lists... Done > Building dependency tree > Reading state information... Done > The following additional packages will be installed: > attr libboost-random1.62.0 libcephfs1 libldb1 libtalloc2 libtevent0 > libwbclient0 python-crypto python-dnspython python-ldb python-samba > python-talloc python-tdb samba-common samba-common-bin > samba-dsdb-modules > samba-libs samba-vfs-modules tdb-tools > Suggested packages: > python-crypto-dbg python-crypto-doc python-gpgme bind9 bind9utils ctdb > ldb-tools ntp | chrony smbldap-tools winbind heimdal-clients > The following NEW packages will be installed: > attr libboost-random1.62.0 libcephfs1 libldb1 libtalloc2 libtevent0 > libwbclient0 python-crypto python-dnspython python-ldb python-samba > python-talloc python-tdb samba samba-common samba-common-bin > samba-dsdb-modules samba-libs samba-vfs-modules tdb-tools > 0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded. > Need to get 10,8 MB of archives. > After this operation, 56,7 MB of additional disk space will be used. > Do you want to continue? [Y/n] y > Get:1 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 libwbclient0 > amd64 2:4.5.4+dfsg-1ubuntu2 [32,8 kB] > Get:2 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 > python-dnspython all 1.15.0-1 [84,9 kB] > Get:3 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 > python-crypto amd64 2.6.1-7 [244 kB] > Get:4 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 libtalloc2 > amd64 2.1.8-1 [34,5 kB] > Get:5 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 libtevent0 > amd64 0.9.31-1 [28,4 kB] > Get:6 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 libldb1 > amd64 2:1.1.27-1 [109 kB] > Get: