Setting up samba (2:4.3.11+dfsg-0ubuntu0.16.04.24) ...
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 Qua 2019-12-11 20:36:29 -03; 5ms ago
Docs: man:systemd-sysv-generator(8)
Process: 12042 ExecStart=/etc/init.d/smbd start [0;1;31m(code=exited, status=1/FAILURE)[0m
Dez 11 20:36:28 edutec systemd[1]: Starting LSB: start Samba SMB/CIFS daemo.....
Dez 11 20:36:29 edutec smbd[12042]: * Starting SMB/CIFS daemon smbd
Dez 11 20:36:29 edutec smbd[12042]: ...fail!
Dez 11 20:36:29 edutec systemd[1]: [0;1;39msmbd.service: Control process exited, co...=1[0m
Dez 11 20:36:29 edutec systemd[1]: [0;1;31mFailed to start LSB: start Samba SMB/CIF...).[0m
Dez 11 20:36:29 edutec systemd[1]: [0;1;39msmbd.service: Unit entered failed state.[0m
Dez 11 20:36:29 edutec systemd[1]: [0;1;39msmbd.service: Failed with result 'exit-code'.[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
We dont have the exact reason why the daemon couldn't be started. Since this is an upgrade, I doubt Eduardo has a way to reproduce this again... but, if you do, please try checking journal logs for smbd.service and see what was the reason it couldn't start.
I'm marking this as incomplete. If anyone else ever face this again, please provide more information on the exact error for the daemon not to have started.
I'm afraid that provided information here is not enough for us to know why samba couldn't be started during upgrade time.
From:
https:/ /launchpadlibra rian.net/ 456135925/ DpkgTerminalLog .txt
Setting up samba (2:4.3. 11+dfsg- 0ubuntu0. 16.04.24) ... sysv-generator( 8) /etc/init. d/smbd start [0;1;31m( code=exited, status= 1/FAILURE) [0m
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 Qua 2019-12-11 20:36:29 -03; 5ms ago
Docs: man:systemd-
Process: 12042 ExecStart=
Dez 11 20:36:28 edutec systemd[1]: Starting LSB: start Samba SMB/CIFS daemo..... service: Control process exited, co...=1[0m service: Unit entered failed state.[0m service: Failed with result 'exit-code'.[0m
Dez 11 20:36:29 edutec smbd[12042]: * Starting SMB/CIFS daemon smbd
Dez 11 20:36:29 edutec smbd[12042]: ...fail!
Dez 11 20:36:29 edutec systemd[1]: [0;1;39msmbd.
Dez 11 20:36:29 edutec systemd[1]: [0;1;31mFailed to start LSB: start Samba SMB/CIF...).[0m
Dez 11 20:36:29 edutec systemd[1]: [0;1;39msmbd.
Dez 11 20:36:29 edutec systemd[1]: [0;1;39msmbd.
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
We dont have the exact reason why the daemon couldn't be started. Since this is an upgrade, I doubt Eduardo has a way to reproduce this again... but, if you do, please try checking journal logs for smbd.service and see what was the reason it couldn't start.
I'm marking this as incomplete. If anyone else ever face this again, please provide more information on the exact error for the daemon not to have started.
Thank you.