[Samba] Samba-ad-dc service "Failed with result exit-code"

Marco Shmerykowsky PE marco at sce-engineers.com
Fri Aug 4 15:00:54 UTC 2023


I was attempting to upgrade to Bullseye and something
went wrong along the way on one AD-DC server.  Not sure where
to start looking for the resolution. I have samba 4.17.9-Debian installed.

After the upgrade I had to run "apt install -t bullseye-backports samba"
to reinstall samba.  However, I'm getting the following when
I run systemctl status samba:

● samba-ad-dc.service - Samba AD Daemon
      Loaded: loaded (/lib/systemd/system/samba-ad-dc.service; enabled; 
vendor preset: enabled)
      Active: failed (Result: exit-code) since Fri 2023-08-04 10:44:52 
EDT; 8min ago
        Docs: man:samba(8)
              man:samba(7)
              man:smb.conf(5)
     Process: 1863 ExecCondition=/usr/share/samba/is-configured samba 
(code=exited, status=0/SUCCESS)
     Process: 1865 ExecStart=/usr/sbin/samba --foreground 
--no-process-group $SAMBAOPTIONS (code=exited, status=1/FAILURE)
    Main PID: 1865 (code=exited, status=1/FAILURE)
      Status: "samba: ready to serve connections..."
         CPU: 2.767s

Aug 04 10:44:50 computer samba[1920]: [2023/08/04 10:44:50.712469,  0] 
../../source4/winbind/winbindd.c:46(winbindd_done)
Aug 04 10:44:50 computer samba[1920]:   winbindd daemon died with exit 
status 255
Aug 04 10:44:50 computer samba[1920]: [2023/08/04 10:44:50.712582,  0] 
../../source4/samba/service_task.c:36(task_server_terminate)
Aug 04 10:44:50 computer samba[1920]:   task_server_terminate: 
task_server_terminate: [winbindd child process exited]
Aug 04 10:44:50 computer samba[1865]: [2023/08/04 10:44:50.718353,  0] 
../../source4/samba/server.c:391(samba_terminate)
Aug 04 10:44:50 computer systemd[1]: Started Samba AD Daemon.
Aug 04 10:44:50 computer samba[1865]:   samba_terminate: samba_terminate 
of samba 1865: winbindd child process exited
Aug 04 10:44:50 computer systemd[1]: samba-ad-dc.service: Main process 
exited, code=exited, status=1/FAILURE
Aug 04 10:44:52 computer systemd[1]: samba-ad-dc.service: Failed with 
result 'exit-code'.
Aug 04 10:44:52 computer systemd[1]: samba-ad-dc.service: Consumed 
2.767s CPU time.

Thanks



More information about the samba mailing list