Thank you Andreas I need to continue reading the whole post.
sudo systemctl start smbd.service nmbd.service
Job for nmbd.service failed because the control process exited with error code.
See "systemctl status nmbd.service" and "journalctl -xe" for details.
Job for smbd.service failed because the control process exited with error code.
See "systemctl status smbd.service" and "journalctl -xe" for details.
sudo systemctl status smbd.service nmbd.service
● smbd.service - Samba SMB Daemon
Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset:
enabled)
Active: failed (Result: exit-code) since Tue 2017-07-18 21:13:07 PDT; 2min
40s ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Process: 29512 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited,
status=1/FAILURE)
Main PID: 29512 (code=exited, status=1/FAILURE)
Jul 18 21:13:07 dave-P5K-Deluxe systemd[1]: Starting Samba SMB Daemon...
Jul 18 21:13:07 dave-P5K-Deluxe systemd[1]: smbd.service: Main process exited,
code=exited, statu
Jul 18 21:13:07 dave-P5K-Deluxe systemd[1]: Failed to start Samba SMB Daemon.
Jul 18 21:13:07 dave-P5K-Deluxe systemd[1]: smbd.service: Unit entered failed
state.
Jul 18 21:13:07 dave-P5K-Deluxe systemd[1]: smbd.service: Failed with result
'exit-code'.
● nmbd.service - Samba NMB Daemon
Loaded: loaded (/lib/systemd/system/nmbd.service; enabled; vendor preset:
enabled)
Active: failed (Result: exit-code) since Tue 2017-07-18 21:13:07 PDT; 2min
40s ago
Docs: man:nmbd(8)
man:samba(7)
man:smb.conf(5)
Process: 29513 ExecStart=/usr/sbin/nmbd $NMBDOPTIONS (code=exited,
status=1/FAILURE)
Main PID: 29513 (code=exited, status=1/FAILURE)
Jul 18 21:13:07 dave-P5K-Deluxe systemd[1]: Starting Samba NMB Daemon...
Jul 18 21:13:07 dave-P5K-Deluxe systemd[1]: nmbd.service: Main process exited,
code=exited, statu
Jul 18 21:13:07 dave-P5K-Deluxe systemd[1]: Failed to start Samba NMB Daemon.
Jul 18 21:13:07 dave-P5K-Deluxe systemd[1]: nmbd.service: Unit entered failed
state.
Jul 18 21:13:07 dave-P5K-Deluxe systemd[1]: nmbd.service: Failed with result
'exit-code'.
sudo testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Error loading services.
cat log.samba
[2017/07/18 12:02:17.381638, 0] ../source4/smbd/server.c:372(binary_smbd_main)
samba version 4.5.8-Ubuntu started.
Copyright Andrew Tridgell and the Samba Team 1992-2016
[2017/07/18 12:02:17.501606, 0] ../source4/smbd/server.c:466(binary_smbd_main)
At this time the 'samba' binary should only be used for either:
'server role = active directory domain controller' or to access the ntvfs
file server with 'server services = +smb' or the rpc proxy with 'dcerpc
endpoint servers = remote'
You should start smbd/nmbd/winbindd instead for domain member and standalone
file server tasks
[2017/07/18 12:02:17.501733, 0] ../lib/util/become_daemon.c:111(exit_daemon)
STATUS=daemon failed to start: Samba detected misconfigured 'server role' and
exited. Check logs for details, error code 22
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1704706
Title:
Installation and removal repeatedly fail
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1704706/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs