1st When i am trying to install samba (apt-get install samba -y) i get these errors:
Code: Select all
Samba is not being run as an AD Domain Controller, masking samba-ad-dc.service.
Please ignore the following error about deb-systemd-helper not finding samba-ad-dc.service.
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; disabled; vendor preset: enabled)
[b] Active: failed (Result: exit-code) since Tue 2018-08-07 14:34:12 EEST; 16ms ago[/b]
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
[b]Process: 18127 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=1/FAILURE)[/b]
Main PID: 18127 (code=exited, status=1/FAILURE)
Aug 07 14:34:12 tamio-desktop systemd[1]: Starting Samba SMB Daemon...
Aug 07 14:34:12 tamio-desktop systemd[1]: smbd.service: Main process exited, code=exited, status=1/FAILURE
Aug 07 14:34:12 tamio-desktop systemd[1]: smbd.service: Failed with result 'exit-code'.
[b]Aug 07 14:34:12 tamio-desktop systemd[1]: Failed to start Samba SMB Daemon.
dpkg: error processing package samba (--configure):[/b]
installed samba package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for systemd (237-3ubuntu10.3) ...
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for ufw (0.35-5) ...
Errors were encountered while processing:
samba
[b]E: Sub-process /usr/bin/dpkg returned an error code (1)[/b]