Har testat igen men får det inte att funka. Körde restart men det gick inte i gång:
mats@barracuda:~$ sudo systemctl restart smbd
[sudo] lösenord för mats:
Job for smbd.service failed because the control process exited with error code.
See "systemctl status smbd.service" and "journalctl -xe" for details.
mats@barracuda:/etc/samba$ systemctl status smbd.service
● smbd.service - Samba SMB Daemon
Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: >
Active: failed (Result: exit-code) since Thu 2020-12-10 21:05:12 CET; 38s >
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Process: 14325 ExecStartPre=/usr/share/samba/update-apparmor-samba-profile >
Process: 14345 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SM>
Main PID: 14345 (code=exited, status=127)
dec 10 21:05:12 barracuda systemd[1]: Starting Samba SMB Daemon...
dec 10 21:05:12 barracuda smbd[14345]: /usr/sbin/smbd: symbol lookup error: /us>
dec 10 21:05:12 barracuda systemd[1]: smbd.service: Main process exited, code=e>
dec 10 21:05:12 barracuda systemd[1]: smbd.service: Failed with result 'exit-co>
dec 10 21:05:12 barracuda systemd[1]: Failed to start Samba SMB Daemon.
mats@barracuda:/etc/samba$ journalctl -xe
--
-- The unit smbd.service has entered the 'failed' state with result 'exit-code'.
dec 10 21:05:12 barracuda systemd[1]: Failed to start Samba SMB Daemon.
-- Subject: A start job for unit smbd.service has failed
-- Defined-By: systemd
-- Support:
http://www.ubuntu.com/support
--
-- A start job for unit smbd.service has finished with a failure.
--
-- The job identifier is 4085 and the job result is failed.
dec 10 21:05:12 barracuda sudo[14322]: pam_unix(sudo:session): session closed for user root
dec 10 21:08:22 barracuda systemd-resolved[678]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2>
dec 10 21:08:22 barracuda systemd-resolved[678]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2>
dec 10 21:08:35 barracuda systemd[1663]: Started Application launched by gnome-shell.
-- Subject: A start job for unit UNIT has finished successfully
-- Defined-By: systemd
-- Support:
http://www.ubuntu.com/support
--
-- A start job for unit UNIT has finished successfully.
--
-- The job identifier is 546.
dec 10 21:08:43 barracuda systemd-resolved[678]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2>
lines 1443-1464/1464 (END)