Настраивается пакет samba (2:4.5.8+dfsg-0ubuntu0.17.04.1) …
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
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.
● smbd.service - Samba SMB Daemon
Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2017-05-01 19:57:02 EEST; 14ms ago
Docs: man:smbd(
man:samba(7)
man:smb.conf(5)
Process: 8599 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=1/FAILURE)
Main PID: 8599 (code=exited, status=1/FAILURE)
Май 01 19:57:02 lockerNB systemd[1]: Starting Samba SMB Daemon...
Май 01 19:57:02 lockerNB systemd[1]: smbd.service: Main process exited, code=exited, status=1/FAILURE
Май 01 19:57:02 lockerNB systemd[1]: Failed to start Samba SMB Daemon.
Май 01 19:57:02 lockerNB systemd[1]: smbd.service: Unit entered failed state.
Май 01 19:57:02 lockerNB systemd[1]: smbd.service: Failed with result 'exit-code'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: ошибка при обработке пакета samba (--configure):
подпроцесс установлен сценарий post-installation возвратил код ошибки 1
Обрабатываются триггеры для libc-bin (2.24-9ubuntu2) …
При обработке следующих пакетов произошли ошибки:
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)