Samba 4.7.1 with ctdbL database not empty on attach

Amitay Isaacs amitay at gmail.com
Wed Nov 14 04:52:32 UTC 2018


On Tue, Nov 13, 2018 at 5:41 AM Richard Sharpe via samba-technical
<samba-technical at lists.samba.org> wrote:
>
> Hi folks,
>
> We have seen this a few times:
>
> -----------------------------
> 2018/11/11 15:57:07.007190 ctdb-recovery[25110]: recovered event finished
> 2018/11/11 15:57:07.333174 ctdb-recoverd[25102]: Resetting ban count
> to 0 for all nodes
> 2018/11/11 15:57:27.935107 ctdbd[24900]:
> ../ctdb/server/ctdb_ltdb_server.c:397 tdb '/var/lib/ctdb/g_lock.tdb.1'
> not empty on attach! aborting
> 2018/11/11 15:57:27.935150 ctdbd[24900]: ctdb fatal error: database
> not empty on attach
> ------------------------------
>
> Does anyone know what causes it or if there is a fix for it?

This can only happen if
1. there is another program (smbd, smbclient, etc.) running and
holding the database open, and
2. CTDB is restarted and that program keeps running.

Amitay.



More information about the samba-technical mailing list