Update fail due to samba, now samba is down

Oh dear, that looks weird even the NetBios daemon nmbd is dying. If I would be in this situation, I would try

  1. clean the samba cache
  • sudo systemctl stop samba (just to be sure)
  • sudo mv /var/cache/samba /var/cache/samba.old
  • sudo mkdir /var/cache/samba
  • reboot
  1. if that doesn’t work, try a virgin smb.conf
  • sudo mv /etc/samba/smb.conf /etc/samba/smb.conf.old
  • if /etc/samba/smb-local.conf exists sudo mv /etc/samba/smb-local.conf /etc/samba/smb-local.conf.old
  • if /etc/samba/smb-shares.conf exists sudo mv /etc/samba/smb-shares.conf /etc/samba/smb-shares.conf.old
  • place a virgin /etc/samba/smb.conf, mine wasn’t hopefully changed in the past: https://paste.osmc.tv/xesicuweca
  • reboot

if this should work, the issue is related to your specific smb.conf and or related files.

  1. if that does not help, I see the only chance to get most debug details out of nmbd and smbd
  • sudo systemctl stop samba (just to be sure)
  • sudo nmbd -i -S -d 10 > mynmbd.debug.log
  • (if you do not get back a shell prompt, the nmbd is NOT dying, (ctrl)+c)
  • sudo paste-log mynmbd.debug.log
  • sudo smbd -i -S -d 10 > mysmbd.debug.log
  • (if you do not get back a shell prompt, the smbd is NOT dying, (ctrl)+c)
  • sudo paste-log mysmbd.debug.log

Others ideas are welcome.