[Samba] Demote and Re-Promote?

Andrew Bartlett abartlet at samba.org
Fri Aug 19 09:29:41 UTC 2016

On Tue, 2016-08-16 at 14:57 +0000, Donaldson Jeff via samba wrote:
> Greetings,
> I have a DC that is having issues replicating DomainDnsZones to my
> other DCs (WERR_DS_DRA_INTERNAL_ERROR). All of the searching I have
> done indicate a corrupt database. So I am wondering if it is possible
> to demote that server, delete all contents of the private directory,
> and then re-promote it to resolve the issue. Does that sound like a
> reasonable fix and\or is there anything I should weary of doing? Any
> help is appreciated.

It all depends what the underlying error is.  what is in the logs.
 what does dbcheck from 'git master' show if you run it on a backup?

If you do have a good copy elsewhere, you can demote (best with the --
remove-other-dead-server option) and re-join. 

Andrew Bartlett
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 mailing list