jimjamz
Posts: 39
Joined: Sun Feb 09, 2014 12:37 am

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

Thu Sep 28, 2017 9:31 am

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

jimjamz
Posts: 39
Joined: Sun Feb 09, 2014 12:37 am

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

Mon Oct 02, 2017 11:23 am

No-one?

The answer was:

Code: Select all

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

Return to “Troubleshooting”