[Samba] DNS failure

Robert Wooden bob at donelsontrophy.com
Wed Jan 30 14:03:08 UTC 2019

I came in this morning to a to a DNS failure.

I think (could be wrong) that a kernel upgrade overnight is causing DNS to

Running "systemctl status samba-ad-dc.service" gives this:
samba-ad-dc.service - Samba AD DC
   Loaded: loaded (/etc/systemd/system/samba-ad-dc.service; enabled; vendor
preset: enabled)
   Active: failed (Result: exit-code) since Wed 2019-01-30 07:30:44 CST;
26min ago
     Docs: man:nmbd(8)
  Process: 7611 ExecStart=/usr/local/samba/sbin/samba -D
--configfile=/etc/samba/smb.conf (code=exited, status=1/FAILURE)
 Main PID: 7611 (code=exited, status=1/FAILURE)
   Status: "daemon failed to start: Samba failed to prime database"
    Error: 22 (Invalid argument)

Running samba dnsupgade:
ldb: unable to dlopen /usr/local/samba/lib/ldb/password_hash.so :
libgpgme.so.11: cannot open shared object file: No such file or directory
WARNING: Module [password_hash] not found - do you need to set
module samba_dsdb initialization failed : Operations error
Unable to load modules for tdb:///usr/local/samba/private/sam.ldb: (null)
Traceback (most recent call last):
  File "/usr/local/samba/sbin/samba_dnsupdate", line 748, in <module>
    samdb = SamDB(url=lp.samdb_url(), session_info=system_session(), lp=lp)
  File "/usr/local/samba/lib/python2.7/site-packages/samba/samdb.py", line
64, in __init__
  File "/usr/local/samba/lib/python2.7/site-packages/samba/__init__.py",
line 115, in __init__
    self.connect(url, flags, options)
  File "/usr/local/samba/lib/python2.7/site-packages/samba/samdb.py", line
79, in connect
_ldb.LdbError: (1, None)

Suggestions??? (help!)

Thank you.

Bob Wooden

More information about the samba mailing list