Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4485

Troubleshooting • Previously fine samba shares not working, samba down.

$
0
0
Win 11 was not connecting to my Samba shares today. I tried troubleshooting from the windows end to no avail. Windows explorer couldn't gain access to my Pi at all. Windows had just updated and I remember reading that workgroups were being removed and thought that might have happened. I commented out the workgroup = MARYALEX line in /etc/samba/smb.conf and restarted (tried to restart) the samba service and got this:

newfivepi@newfivepi:~ $ sudo systemctl restart smbd
Job for smbd.service failed because the control process exited with error code.
See "systemctl status smbd.service" and "journalctl -xeu smbd.service" for details.

I put the workgroup line back in and tried again but got the same error so I tried this.:

newfivepi@newfivepi:~ $ systemctl status smbd.service
× smbd.service - Samba SMB Daemon
Loaded: loaded (/lib/systemd/system/smbd.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Sat 2024-05-25 15:59:17 BST; 47s ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Process: 406301 ExecCondition=/usr/share/samba/is-configured smb (code=exited, status=0/SUCCESS)
Process: 406303 ExecStartPre=/usr/share/samba/update-apparmor-samba-profile (code=exited, status=0/SUCCESS)
Process: 406304 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=1/FAILURE)
Main PID: 406304 (code=exited, status=1/FAILURE)
Status: "Starting process..."
CPU: 97ms

May 25 15:59:17 newfivepi smbd[406304]: There already is a passdb backend registered with the name !
May 25 15:59:17 newfivepi smbd[406304]: [2024/05/25 15:59:17.495707, 0] ../../source3/passdb/pdb_interface.c:85(smb_register_passdb)
May 25 15:59:17 newfivepi smbd[406304]: There already is a passdb backend registered with the name !
May 25 15:59:17 newfivepi smbd[406304]: [2024/05/25 15:59:17.495723, 0] ../../source3/passdb/pdb_interface.c:85(smb_register_passdb)
May 25 15:59:17 newfivepi smbd[406304]: There already is a passdb backend registered with the name !
May 25 15:59:17 newfivepi smbd[406304]: [2024/05/25 15:59:17.495895, 0] ../../source3/passdb/pdb_interface.c:173(make_pdb_method_name)
May 25 15:59:17 newfivepi smbd[406304]: No builtin nor plugin backend for tdbsam found
May 25 15:59:17 newfivepi systemd[1]: smbd.service: Main process exited, code=exited, status=1/FAILURE
May 25 15:59:17 newfivepi systemd[1]: smbd.service: Failed with result 'exit-code'.
May 25 15:59:17 newfivepi systemd[1]: Failed to start smbd.service - Samba SMB Daemon.


So, i'm now well and truly out of my depth now, any help gratefully welcomed.

Statistics: Posted by sorbiegunner — Sat May 25, 2024 3:24 pm — Replies 2 — Views 37



Viewing all articles
Browse latest Browse all 4485

Trending Articles