[Samba] Samba Won't start after upgrading Operating system

Robert Steinmetz rob at steinmetznet.com
Sun Feb 24 00:55:03 UTC 2019

I ungraded my Linux Operating system from Ubuntu 16.04 LTS to 8.04 LTS

Samba will not start after an upgrade to 18.04. My samba is running as 
an NT style member server server with smbd nmbd and winbindd all 
running. None of them will start.

It worked this morning.

This morning it was running Version 4.3.11-Ubuntu

This afternoon after the upgrade it's Version 4.7.6-Ubuntu

The logs in /var/spool/samba are empty.

root at louise:/var/log/samba# systemctl start smbd
Job for smbd.service failed because the control process exited with 
error code.
See "systemctl status smbd.service" and "journalctl -xe" for details.
root at louise:/var/log/samba# systemctl status smbd

  smbd.service - Samba SMB Daemon
    Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor 
preset: ena
    Active: failed (Result: exit-code) since Sat 2019-02-23 18:01:35 
EST; 20s ago
      Docs: man:smbd(8)
   Process: 4594 ExecStart=/usr/sbin/smbd --foreground 
--no-process-group $SMBDOP
  Main PID: 4594 (code=exited, status=1/FAILURE)

Feb 23 18:01:35 louise systemd[1]: Starting Samba SMB Daemon...
Feb 23 18:01:35 louise systemd[1]: smbd.service: Main process exited, 
Feb 23 18:01:35 louise systemd[1]: smbd.service: Failed with result 
Feb 23 18:01:35 louise systemd[1]: Failed to start Samba SMB Daemon.
lines 1-13/13 (END)

The information on all three processes is virtually identical.

testparm gives a few warnings but it's been doing that for a while with 
no apparent problem See below.

root at louise:/var/log/samba# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "idmap uid" option is deprecated
WARNING: The "idmap gid" option is deprecated
handle_name_resolve_order: WARNING: Ignoring invalid list value 'hosts' 
for parameter 'name resolve order'
Error loading services.

I've found a number of posts with similar problems but none seem 
directly on point.

More information about the samba mailing list