I succeeded except getting Samba running again.
after command :
sudo /etc/init.d/samba start
I get the error:
Code: Select all
[....] Starting nmbd (via systemctl): nmbd.serviceJob for nmbd.service failed. See 'systemctl status nmbd.service' and 'journalctl -xn' for details.
failed!
I get:
Code: Select all
● nmbd.service - LSB: start Samba NetBIOS nameserver (nmbd)
Loaded: loaded (/etc/init.d/nmbd)
Active: failed (Result: exit-code) since za 2016-11-12 21:32:29 CET; 16s ago
Process: 3867 ExecStart=/etc/init.d/nmbd start (code=exited, status=1/FAILURE)
nov 12 21:32:29 raspberrypi-1 nmbd[3867]: Starting NetBIOS name server: nmbd failed!
nov 12 21:32:29 raspberrypi-1 systemd[1]: nmbd.service: control process exited, code=exited status=1
nov 12 21:32:29 raspberrypi-1 systemd[1]: Failed to start LSB: start Samba NetBIOS nameserver (nmbd).
nov 12 21:32:29 raspberrypi-1 systemd[1]: Unit nmbd.service entered failed state.
Code: Select all
-- Logs begin at za 2016-11-12 16:17:31 CET, end at za 2016-11-12 21:37:04 CET. --
nov 12 21:37:01 raspberrypi-1 CRON[4326]: (root) CMD (/usr/bin/python /home/ewh/WebDataNode.py >/dev/null 2>&1)
nov 12 21:37:01 raspberrypi-1 CRON[4329]: (root) CMD (/usr/bin/python /home/ewh/thermostaat.py >/dev/null 2>&1)
nov 12 21:37:02 raspberrypi-1 nmbd[4307]: Starting NetBIOS name server: nmbd failed!
nov 12 21:37:02 raspberrypi-1 systemd[1]: nmbd.service: control process exited, code=exited status=1
nov 12 21:37:02 raspberrypi-1 systemd[1]: Failed to start LSB: start Samba NetBIOS nameserver (nmbd).
-- Subject: Unit nmbd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nmbd.service has failed.
--
-- The result is failed.
nov 12 21:37:02 raspberrypi-1 systemd[1]: Unit nmbd.service entered failed state.
nov 12 21:37:02 raspberrypi-1 sudo[4290]: pam_unix(sudo:session): session closed for user root
nov 12 21:37:04 raspberrypi-1 CRON[4183]: pam_unix(cron:session): session closed for user root
nov 12 21:37:04 raspberrypi-1 sudo[4370]: ewh : TTY=pts/0 ; PWD=/home/ewh ; USER=root ; COMMAND=/bin/journalctl -xn
nov 12 21:37:04 raspberrypi-1 sudo[4370]: pam_unix(sudo:session): session opened for user root by ewh(uid=0)
How to start Samba again?