[Samba] ldb errors after upgrade, cause?
L.P.H. van Belle
belle at bazuin.nl
Wed Feb 5 21:54:41 UTC 2020
Is samba-dsdb-modules installed ?
Run : dpkg -l | egrep "samba|winbind|ldb|tdb|tevent|talloc"
That shows it.
Can you try also to run : apt dist-upgrade --autoremove
Most probley there are some leftovers from the dist upgrade,
You can find these with : dpkg -l |egrep "deb[8-9]|jessie|stretch|debian[8-9]"
As far i can remember your just missing a package, its something simple but simple overlooked.
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens Roel
> van Meer via samba
> Verzonden: woensdag 5 februari 2020 20:03
> Aan: samba at lists.samba.org
> Onderwerp: [Samba] ldb errors after upgrade, cause?
> recently we upgraded a Debian jessie server to Debian buster,
> with Samba
> being upgraded from 4.5.12 (+dfsg-2+deb9u3) to 4.9.5
> A few hours later we saw these errors in syslog:
> smbd: [2020/02/03 11:13:13.631613, 0]
> smbd: ldb: Failure during ltdb_lock_read():
> Locking error ??? Busy
> smbd: [2020/02/03 11:13:13.631762, 0]
> smbd: ldb: module samba_dsdb initialization
> failed : Operations error
> smbd: [2020/02/03 11:13:13.631828, 0]
> smbd: ldb: Unable to load modules for
> /var/lib/samba/private/sam.ldb: Unable to load ltdb cache
> records for backend 'ldb_tdb backend'
> I was wondering if someone knows in which area we have to
> find a solution.
> Is this resource exhaustion? Or database corruption? Something else?
> I did run "samba-tool dbcheck --cross-ncs" afterwards, and
> this fixed some
> errors, but I'm not sure if that can be related to the ldb errors.
> Just wondering if this rings a bell for anyone, with maybe
> some tips on how
> to proceed from here.
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
More information about the samba