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

Troubleshooting • samba failing to start, desparation setting in

$
0
0
I've been running a file/Plex server on Raspberry Pi for close to five years now, but every time I need to troubleshoot something, I feel like a total newb... so please feel free to treat me as such.

I have a Pi 4 4GB Model B. The situation is, I had to reinstall Raspberry Pi OS (previous version was 10) when a software update hosed my system. I did a fresh install of the latest OS version Bookworm, now I'm trying to put everything back together the way it was.

First step is to mount and share my USB drives on the network. I installed Samba, configured smb.conf, but I was getting access denied errors when trying to connect from a Windows machine. (I could browse to the share at \\raspberrypi4\USB01 but it wasn't accepting my credentials.) Scouring online guides, one indicated that I needed to set a password with smbpasswd, so I did that, restarted the service, and now the share isn't accessible at all.

Apparently samba is failing to start now for some reason:
pi@raspberrypi4:~ $ sudo systemctl status samba
○ samba-ad-dc.service - Samba AD Daemon
Loaded: loaded (/lib/systemd/system/samba-ad-dc.service; enabled; preset: enabled)
Active: inactive (dead) (Result: exec-condition) since Sat 2024-02-10 12:03:21 EST; 2s ago
Condition: start condition failed at Sat 2024-02-10 12:03:21 EST; 2s ago
Docs: man:samba(8)
man:samba(7)
man:smb.conf(5)
Process: 2018 ExecCondition=/usr/share/samba/is-configured samba (code=exited, status=1/FAILURE)
CPU: 102ms

Feb 10 12:03:21 raspberrypi4 systemd[1]: Starting samba-ad-dc.service - Samba AD Daemon...
Feb 10 12:03:21 raspberrypi4 systemd[1]: samba-ad-dc.service: Skipped due to 'exec-condition'.
Feb 10 12:03:21 raspberrypi4 systemd[1]: Condition check resulted in samba-ad-dc.service - Samba AD Daemon being skippe>

I tried reinstalling samba (sudo apt-get install --reinstall samba) but that didn't seem to make any difference.

So once again, I'm stuck, humbly asking for help.

Thanks.

Statistics: Posted by Ahoy Fancy Pants — Sat Feb 10, 2024 5:42 pm — Replies 2 — Views 85



Viewing all articles
Browse latest Browse all 4526

Trending Articles