You are not logged in.
I install the samba server on my arch with give default config where I facing an error "samba fails to prime database". After Researching I come to know that it's something because of upgrading samba. but I don't know how to fix.
Command outputs:
~$ sudo systemctl status samba 130 ↵
samba.service - Samba AD Daemon
Loaded: loaded (/usr/lib/systemd/system/samba.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2021-10-09 14:10:36 IST; 13min ago
Docs: man:samba(8)
man:samba(7)
man:smb.conf(5)
Process: 8455 ExecStart=/usr/bin/samba --foreground --no-process-group $SAMBAOPTIONS (code=exited, status=1/FAILURE)
Main PID: 8455 (code=exited, status=1/FAILURE)
Status: "daemon failed to start: Samba failed to prime database"
Error: 22 (Invalid argument)
CPU: 102ms
Oct 09 14:10:36 arch systemd[1]: Starting Samba AD Daemon...
Oct 09 14:10:36 arch samba[8455]: samba version 4.15.0 started.
Oct 09 14:10:36 arch samba[8455]: Copyright Andrew Tridgell and the Samba Team 1992-2021
Oct 09 14:10:36 arch samba[8455]: daemon_status: daemon 'samba' : Starting process...
Oct 09 14:10:36 arch samba[8455]: exit_daemon: daemon failed to start: Samba failed to prime database, error code 22
Oct 09 14:10:36 arch systemd[1]: samba.service: Main process exited, code=exited, status=1/FAILURE
Oct 09 14:10:36 arch systemd[1]: samba.service: Failed with result 'exit-code'.
Oct 09 14:10:36 arch systemd[1]: Failed to start Samba AD Daemon.
Offline
Uhm.. not sure about this one, but I'm used to the services for Samba being smb.service and nmb.service, not samba.service.
I see samba.service is part of the samba package. but don't know how it's ment to be used, and it's not mentioned on the Samba wiki page, as far as I can see.
Did you follow the guidelines on the Wiki?
Offline