Page 1 of 1

Samba on Rasbian Stretch - Unit smbd.service is masked.

Posted: Thu Sep 28, 2017 9:31 am
by jimjamz
After installing Samba:

Code: Select all

sudo apt-get update && apt-get install samba samba-common-bin
I receive the following error:

Code: Select all

Failed to start smbd.service: Unit smbd.service is masked.
This error persists when rebooting the Pi and even when attempting to restart both the smbd and nmbd services.

Code: Select all

sudo systemctl -l status smbd
reveals:

Code: Select all

‚óŹ smbd.service
   Loaded: masked (/dev/null; bad)
   Active: inactive (dead)
and the same for nmbd

Re: Samba on Rasbian Stretch - Unit smbd.service is masked.

Posted: Mon Oct 02, 2017 11:23 am
by jimjamz
No-one?

The answer was:

Code: Select all

sudo systemctl unmask smbd.service
sudo systemctl unmask nmbd.service
Fixed!