[Samba] ldb errors after upgrade, cause?
L.P.H. van Belle
belle at bazuin.nl
Wed Feb 5 21:54:41 UTC 2020
Hai Roel,
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.
Greetz,
Louis
> -----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?
>
> Hi!
>
> 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
> (+dfsg-5+deb10u1).
>
> A few hours later we saw these errors in syslog:
>
> smbd[26024]: [2020/02/03 11:13:13.631613, 0]
> ../lib/ldb-samba/ldb_wrap.c:79(ldb_wrap_debug)
> smbd[26024]: ldb: Failure during ltdb_lock_read():
> Locking error ??? Busy
> smbd[26024]: [2020/02/03 11:13:13.631762, 0]
> ../lib/ldb-samba/ldb_wrap.c:79(ldb_wrap_debug)
> smbd[26024]: ldb: module samba_dsdb initialization
> failed : Operations error
> smbd[26024]: [2020/02/03 11:13:13.631828, 0]
> ../lib/ldb-samba/ldb_wrap.c:79(ldb_wrap_debug)
> smbd[26024]: 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.
>
> Thanks!
>
> Roel
>
> --
> 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
mailing list