[Samba] DomainDnsZones bad magic

Peter Pollock peter.pollock at kingschristian.org
Fri Mar 3 20:27:42 UTC 2023


Thank you Andrew and Roland.

I appreciate it. I haven't built one for a few years. Last time I did so I
used a walk through that I think Lois Van Belle wrote. Is that still
available anywhere or is there another such walkthrough?

On Fri, Mar 3, 2023, 11:48 AM Rowland Penny via samba <samba at lists.samba.org>
wrote:

>
>
> On 03/03/2023 19:36, Peter Pollock via samba wrote:
> > I've been called back to an old workplace to try to help with some issues
> > that they have and have found that the DomainDnsZones database is not
> > replicating. Everything else in the replication seems to be fine.
> >
> > I ran a samba-tool dbcheck on the affected server and it returns:
> >
> > ltdb:
> >
> tdb(/var/lib/samba/private/sam.ldb.d/DC=DOMAINDNSZONES,DC=MYDOMAIN,DC=MYCOMPANY.ldb):
> > tdb_rec_read bad magic 0xd9fee666 at offset=4135368
> >
> > ERROR(ldb): uncaught exception - Indexed and full searches both failed!
> >
> > I've tried to force sync that file from our other DC but it errors out.
> >
> > Can I delete the file and manually copy it over from the good file on the
> > other server?
> >
> > This is a live environment and I don't want to try it and bork things up
> > even more if it can't be done that way.
> >
> > If not, how else could I fix the issue?
> >
> > Thank you.
>
> The best way out of this would be to demote the non working DC and
> replace it with another one
>
> Rowland
>
> --
> 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