Problem: Samba Does Not Start

Situation

Probably after an Upgrade, Samba won’t start.

root@ucs:~# samba-tool processes
 Service:                          PID
--------------------------------------
root@ucs:~# 

In the /var/log/samba/log.smb you might find a line saying 127.0.0.1:46 already in use or similar.

Despite the package samba4wins is not installed you might find a service called the same.

Solution

Stop the service called samba4wins and disable it.

root@ucs:~# systemctl stop samba4wins.service
root@ucs:~# systemctl disable samba4wins.service

Now you are able to start Samba without problems

root@ucs:~# /etc/init.d/samba start
Mastodon