The logs show:
Setting up samba (2:4.3.11+dfsg-0ubuntu0.16.04.13) ...
Job for smbd.service failed because the control process exited with error code. See "systemctl status smbd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript smbd, action "start" failed.
[0;1;31m●[0m smbd.service - LSB: start Samba SMB/CIFS daemon (smbd)
Loaded: loaded (/etc/init.d/smbd; bad; vendor preset: enabled)
Active: [0;1;31mfailed[0m (Result: exit-code) since Tue 2018-05-22 01:36:30 PDT; 9ms ago
Docs: man:systemd-sysv-generator(8)
Process: 19213 ExecStart=/etc/init.d/smbd start [0;1;31m(code=exited, status=1/FAILURE)[0m
May 22 01:36:30 lubuntu-KQ495AA-ABA-a6500f systemd[1]: Starting LSB: start Sa...
May 22 01:36:30 lubuntu-KQ495AA-ABA-a6500f smbd[19213]: * Starting SMB/CIFS ...
May 22 01:36:30 lubuntu-KQ495AA-ABA-a6500f smbd[19213]: ...fail!
May 22 01:36:30 lubuntu-KQ495AA-ABA-a6500f systemd[1]: [0;1;39msmbd.service: Control ...[0m
May 22 01:36:30 lubuntu-KQ495AA-ABA-a6500f systemd[1]: [0;1;31mFailed to start LSB: s...[0m
May 22 01:36:30 lubuntu-KQ495AA-ABA-a6500f systemd[1]: [0;1;39msmbd.service: Unit ent...[0m
May 22 01:36:30 lubuntu-KQ495AA-ABA-a6500f systemd[1]: [0;1;39msmbd.service: Failed w...[0m
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package samba (--configure):
subprocess installed post-installation script returned error exit status 1
Unfortunately that just tells us that the smbd service failed to start, but not why. Could you please attach the log files from /var/log/samba/log* to this bug?
Thanks for filing this bug in Ubuntu.
The logs show: 11+dfsg- 0ubuntu0. 16.04.13) ... sysv-generator( 8) /etc/init. d/smbd start [0;1;31m( code=exited, status= 1/FAILURE) [0m
Setting up samba (2:4.3.
Job for smbd.service failed because the control process exited with error code. See "systemctl status smbd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript smbd, action "start" failed.
[0;1;31m●[0m smbd.service - LSB: start Samba SMB/CIFS daemon (smbd)
Loaded: loaded (/etc/init.d/smbd; bad; vendor preset: enabled)
Active: [0;1;31mfailed[0m (Result: exit-code) since Tue 2018-05-22 01:36:30 PDT; 9ms ago
Docs: man:systemd-
Process: 19213 ExecStart=
May 22 01:36:30 lubuntu- KQ495AA- ABA-a6500f systemd[1]: Starting LSB: start Sa... KQ495AA- ABA-a6500f smbd[19213]: * Starting SMB/CIFS ... KQ495AA- ABA-a6500f smbd[19213]: ...fail! KQ495AA- ABA-a6500f systemd[1]: [0;1;39msmbd. service: Control ...[0m KQ495AA- ABA-a6500f systemd[1]: [0;1;31mFailed to start LSB: s...[0m KQ495AA- ABA-a6500f systemd[1]: [0;1;39msmbd. service: Unit ent...[0m KQ495AA- ABA-a6500f systemd[1]: [0;1;39msmbd. service: Failed w...[0m
May 22 01:36:30 lubuntu-
May 22 01:36:30 lubuntu-
May 22 01:36:30 lubuntu-
May 22 01:36:30 lubuntu-
May 22 01:36:30 lubuntu-
May 22 01:36:30 lubuntu-
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package samba (--configure):
subprocess installed post-installation script returned error exit status 1
Unfortunately that just tells us that the smbd service failed to start, but not why. Could you please attach the log files from /var/log/samba/log* to this bug?
And also show the output of this command:
sudo systemctl status smbd.service nmbd.service
Thanks