Samba Stopped Working

I am running HA supervised in my RPi4. Yesterday only I configured the network manager correctly which was needed for the Adguard addon. After that the samba addon is not working and gives this log.

PANIC (pid 363): open_sockets_smbd() failed in 4.13.8
unable to produce a stack trace on this platform
dumping core in /var/log/samba/cores/smbd
smbd version 4.13.8 started.
Copyright Andrew Tridgell and the Samba Team 1992-2020
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
Processing section "[config]"
Processing section "[addons]"
Processing section "[ssl]"
Processing section "[share]"
Processing section "[backup]"
Processing section "[media]"
interpret_interface: Can't find address for wlan0
WARNING: no network interfaces found
interpret_interface: Can't find address for wlan0
WARNING: no network interfaces found
INFO: Profiling support unavailable in this build.
Registered MSG_REQ_POOL_USAGE
No builtin backend found, trying to load plugin
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_POOL_USAGE
daemon_ready: daemon 'smbd' finished starting up and ready to serve connections
open_sockets_smbd: No sockets available to bind to.
===============================================================
INTERNAL ERROR: open_sockets_smbd() failed in pid 370 (4.13.8)
If you are running a recent Samba version, and if you think this problem is not yet fixed in the latest versions, please consider reporting this bug, see https://wiki.samba.org/index.php/Bug_Reporting

Hope someone can help out. My config is as below.

workgroup: WORKGROUP
username: homeassistant
password: password
allow_hosts:
  - 10.0.0.0/8
  - 172.16.0.0/12
  - 192.168.0.0/16
  - fe80::/10
veto_files:
  - ._*
  - .DS_Store
  - Thumbs.db
  - icon?
  - .Trashes
compatibility_mode: false

Did you try to restart the samba add-on ?

Why is that relevant?

If the network configuration changed while Samba is running, samba might not pick the changes up. If using regular Samba, you have to do systemctl restart smbd

1 Like

I even reinstalled it as an act of desperation.

And are you using wlan0 ?

yes i am using wlan0

Didnt work, I have tried just now.

Well, you are running supervised, there is still regular Samba.

Then too why is the samba addon stopped working?

Looking at the smb.conf file, your interface must be incorrect