I was upgrading a headless unit from Ubuntu server 14.04 to 16.04 when I
accidentally hit Ctrl-C. The result was the process aborted and wouldn't
restart ("another process is running"). I searched the web and came up with a
few possibilities. I removed the lock and lock-frontend files, at
Jorge, try this:
- show output of "ip a"
- in one terminal, run "tail -f /var/log/syslog"
- in another terminal, run "tail -f /var/log/samba/log*"
- in another terminal, run "sudo systemctl restart nmbd"
Check if nmbd starts up fine, or if the systemctl call hangs. If you
have no ipv4 network,
/var/lib/samba/usershares needs to have these permissions and ownership:
Access: (1770/drwxrwx--T) Uid: (0/root) Gid: (
113/sambashare)
i.e.
chmod 1770 /var/lib/samba/usershare
chown root:sambashare /var/lib/samba/usershares
And this is done when the package is installed:
if [ ! -e