abartlet at samba.org
Sat Jun 9 03:51:31 UTC 2018
On Fri, 2018-06-08 at 12:14 -0400, lingpanda101 via samba wrote:
> On 6/7/2018 11:33 AM, Renaud via samba wrote:
> > After a mail mentionning that i cannot run the sambaundoguidindex, here the
> > error i'm getting :
> > root at samba:~/samba-4.8.2/source4/scripting/bin# killall samba
> > root at samba:~/samba-4.8.2/source4/scripting/bin# ./sambaundoguididx
> > Traceback (most recent call last):
> > File "./sambaundoguididx", line 54, in <module>
> > samdb.modify(modmsg)
> > _ldb.LdbError: (32, 'ldb_wait from (null) with LDB_WAIT_ALL: No such object
> > (32)')
> > A transaction is still active in ldb context [0x581b2778] on
> > tdb:///var/lib/samba/private/sam.ldb
> > Don't really know how to deal with this and google leave me with no clue.
> > Renaud
> You should only need to run this script if doing a in place upgrade
> from 4.7.x to 4.8.0 or 4.8.1 fails. I see you are using 4.8.2. This
> should have been fixed. Did you upgrade from 4.7.x to 4.8.2 and have issues?
> Most likely you will need to restore from backup or create a new DC if
> you can't run the script.
If that isn't an option for some reason, then a dump of the database
backend files using ldbdump, and then a re-create of the files with
ldbadd might be possible, but I haven't got an automated script for
that yet (probably something we will need to do in aid of the LMDB port
You would still need to do the other steps that script does, and then
finish with a samba-tool dbcheck --reindex
In short, hopefully a backup was made.
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
More information about the samba