"The security database has not been started" after promote new DC

%3CLINGO-SUB%20id%3D%22lingo-sub-1817213%22%20slang%3D%22en-US%22%3E%22The%20security%20database%20has%20not%20been%20started%22%20after%20promote%20new%20DC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1817213%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20have%20two%20DC%20with%20W2K12%20and%20W2K16.%20Recently%2C%20I've%20promoted%20a%20new%20server%20W2K19%20as%20a%20domain%20controller.%3C%2FP%3E%3CP%3EAll%20the%20process%20was%20successfully%20executed%20and%20after%20the%20first%20reboot%2C%20I%20can't%20do%20an%20interactive%20login.%3C%2FP%3E%3CP%3EI%20get%20the%20message%20%22The%20user%20name%20or%20password%20is%20incorrect.%20Try%20again%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20I%20stop%20KDC%20service%2C%20I'm%20able%20to%20login%20to%20VM.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EAnd%20when%20I%20try%20to%20change%20a%20user%20password%2C%20connected%20in%20this%20new%20DC%2C%20I%20get%20this%20message%3A%3C%2FP%3E%3CP%3E%22Windows%20cannot%20complete%20the%20password%20change%20for%20%3CUSER%3E%20because%3A%20The%20security%20database%20has%20not%20been%20started%22%3C%2FUSER%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20checked%20DNS%20with%20DCDIAG%2C%20Replication%20with%20Ad%20Replication%20Status%20Tool..%20everything%20seems%20to%20be%20ok%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESomeone%20could%20help%20me%2C%20please%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1817213%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EActive%20Directory%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1817826%22%20slang%3D%22en-US%22%3ERe%3A%20%22The%20security%20database%20has%20not%20been%20started%22%20after%20promote%20new%20DC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1817826%22%20slang%3D%22en-US%22%3E%3CP%3EPlease%20run%3B%3C%2FP%3E%0A%3CP%3EDcdiag%20%2Fv%20%2Fc%20%2Fd%20%2Fe%20%2Fs%3A%25computername%25%20%26gt%3Bc%3A%5Cdcdiag.log%3CBR%20%2F%3Erepadmin%20%2Fshowrepl%20%26gt%3BC%3A%5Crepl.txt%3CBR%20%2F%3Eipconfig%20%2Fall%20%26gt%3B%20C%3A%5Cdc1.txt%3CBR%20%2F%3Eipconfig%20%2Fall%20%26gt%3B%20C%3A%5Cdc2.txt%3CBR%20%2F%3Eipconfig%20%2Fall%20%26gt%3B%20C%3A%5Cdc3.txt%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3Ethen%20put%20%3CSTRONG%3E**unzipped**%3C%2FSTRONG%3E%20text%20files%20up%20on%20%3CA%20href%3D%22https%3A%2F%2Fonedrive.live.com%2Fabout%2Fen-us%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EOneDrive%3C%2FA%3E%20and%20share%20a%20link.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1821428%22%20slang%3D%22en-US%22%3ERe%3A%20%22The%20security%20database%20has%20not%20been%20started%22%20after%20promote%20new%20DC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1821428%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F51719%22%20target%3D%22_blank%22%3E%40Dave%20Patrick%3C%2FA%3E%26nbsp%3B.%20I%20really%20appreciate%20any%20help.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELog%20files%20are%20on%3A%20%3CA%20href%3D%22https%3A%2F%2F1drv.ms%2Fu%2Fs!Am8pbgsXRHYGiNxIIAqLPaNB7l64Zw%3Fe%3DbgZEy1%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2F1drv.ms%2Fu%2Fs!Am8pbgsXRHYGiNxIIAqLPaNB7l64Zw%3Fe%3DbgZEy1%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESRVASA-DC01%20-%20Old%20DC%20W2K19%3C%2FP%3E%3CP%3ESRVASA-DC03-%26nbsp%3BOld%20DC%20W2K16%3C%2FP%3E%3CP%3ESRVASA-DC04%20-%20New%20DC%20WK19%20with%20problems%3C%2FP%3E%3CP%3ESRVASA-DC05%20-%20it%20was%20another%20try%2C%20unsuccessful%20too.%20I%20already%20demoted%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20found%20this%20error%20messages%20in%20DCDIAG%20on%20DC04%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markdown%22%3E%3CCODE%3ESRVASA-DC03.isGlobalCatalogReady%20%3D%201%20%0AGot%20error%20while%20checking%20if%20the%20DC%20is%20using%20FRS%20or%20DFSR.%20Error%3A%20%0AThe%20operation%20being%20requested%20was%20not%20performed%20because%20the%20user%20has%20not%20been%20authenticated.T%20%0Ahe%20VerifyReferences%2C%20FrsEvent%20and%20DfsrEvent%20tests%20might%20fail%20because%20of%20this%20%0Aerror.%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markdown%22%3E%3CCODE%3E%20%20%20Testing%20server%3A%20Matriz%5CSRVASA-DC01%0A%0A%20%20%20%20%20%20Starting%20test%3A%20Connectivity%0A%0A%20%20%20%20%20%20%20%20%20*%20Active%20Directory%20LDAP%20Services%20Check%0A%20%20%20%20%20%20%20%20%20Determining%20IP4%20connectivity%20%0A%20%20%20%20%20%20%20%20%20Failure%20Analysis%3A%20SRVASA-DC01%20...%20OK.%0A%20%20%20%20%20%20%20%20%20*%20Active%20Directory%20RPC%20Services%20Check%0A%20%20%20%20%20%20%20%20%20%5BSRVASA-DC01%5D%20DsBindWithSpnEx()%20failed%20with%20error%205%2C%0A%0A%20%20%20%20%20%20%20%20%20Access%20is%20denied..%0A%20%20%20%20%20%20%20%20%20Got%20error%20while%20checking%20LDAP%20and%20RPC%20connectivity.%20Please%20check%20your%0A%0A%20%20%20%20%20%20%20%20%20firewall%20settings.%0A%0A%20%20%20%20%20%20%20%20%20.........................%20SRVASA-DC01%20failed%20test%20Connectivity%0A%0ATesting%20server%3A%20Filial%5CSRVASA-DC03%0A%0A%20%20%20%20%20%20Starting%20test%3A%20Connectivity%0A%0A%20%20%20%20%20%20%20%20%20*%20Active%20Directory%20LDAP%20Services%20Check%0A%20%20%20%20%20%20%20%20%20Determining%20IP4%20connectivity%20%0A%20%20%20%20%20%20%20%20%20Failure%20Analysis%3A%20SRVASA-DC03%20...%20OK.%0A%20%20%20%20%20%20%20%20%20*%20Active%20Directory%20RPC%20Services%20Check%0A%20%20%20%20%20%20%20%20%20%5BSRVASA-DC03%5D%20DsBindWithSpnEx()%20failed%20with%20error%205%2C%0A%0A%20%20%20%20%20%20%20%20%20Access%20is%20denied..%0A%20%20%20%20%20%20%20%20%20Got%20error%20while%20checking%20LDAP%20and%20RPC%20connectivity.%20Please%20check%20your%0A%0A%20%20%20%20%20%20%20%20%20firewall%20settings.%0A%0A%20%20%20%20%20%20%20%20%20.........................%20SRVASA-DC03%20failed%20test%20Connectivity%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3BThere%20is%20no%20firewall%20enabled%20on%20both%20servers.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1821449%22%20slang%3D%22en-US%22%3ERe%3A%20%22The%20security%20database%20has%20not%20been%20started%22%20after%20promote%20new%20DC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1821449%22%20slang%3D%22en-US%22%3E%3CP%3EPlease%20do%20not%20zip%20the%20files.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1824473%22%20slang%3D%22en-US%22%3ERe%3A%20%22The%20security%20database%20has%20not%20been%20started%22%20after%20promote%20new%20DC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1824473%22%20slang%3D%22en-US%22%3EOhh%20sorry.%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2F1drv.ms%2Fu%2Fs!Am8pbgsXRHYGiNxGCTpBO7GmtSzzAw%3Fe%3DPuMcRk%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2F1drv.ms%2Fu%2Fs!Am8pbgsXRHYGiNxGCTpBO7GmtSzzAw%3Fe%3DPuMcRk%3C%2FA%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi,

I have two DC with W2K12 and W2K16. Recently, I've promoted a new server W2K19 as a domain controller.

All the process was successfully executed and after the first reboot, I can't do an interactive login.

I get the message "The user name or password is incorrect. Try again"

 

If I stop KDC service, I'm able to login to VM.


And when I try to change a user password, connected in this new DC, I get this message:

"Windows cannot complete the password change for <user> because: The security database has not been started"

 

I've checked DNS with DCDIAG, Replication with Ad Replication Status Tool.. everything seems to be ok

 

Someone could help me, please?

16 Replies

Please run;

- Dcdiag /v /c /d /e /s:%computername% >c:\dcdiag.log
- repadmin /showrepl >C:\repl.txt
- ipconfig /all > C:\dc1.txt
- ipconfig /all > C:\dc2.txt
- ipconfig /all > C:\dc3.txt



then put **unzipped** text files up on OneDrive and share a link.

 

 

 

Hi @Dave Patrick . I really appreciate any help.

 

Log files are on: https://1drv.ms/u/s!Am8pbgsXRHYGiNxIIAqLPaNB7l64Zw?e=bgZEy1

 

SRVASA-DC01 - Old DC W2K19

SRVASA-DC03- Old DC W2K16

SRVASA-DC04 - New DC WK19 with problems

SRVASA-DC05 - it was another try, unsuccessful too. I already demoted it.

 

I found this error messages in DCDIAG on DC04:

SRVASA-DC03.isGlobalCatalogReady = 1 
Got error while checking if the DC is using FRS or DFSR. Error: 
The operation being requested was not performed because the user has not been authenticated.T 
he VerifyReferences, FrsEvent and DfsrEvent tests might fail because of this 
error.

 

   Testing server: Matriz\SRVASA-DC01

      Starting test: Connectivity

         * Active Directory LDAP Services Check
         Determining IP4 connectivity 
         Failure Analysis: SRVASA-DC01 ... OK.
         * Active Directory RPC Services Check
         [SRVASA-DC01] DsBindWithSpnEx() failed with error 5,

         Access is denied..
         Got error while checking LDAP and RPC connectivity. Please check your

         firewall settings.

         ......................... SRVASA-DC01 failed test Connectivity

Testing server: Filial\SRVASA-DC03

      Starting test: Connectivity

         * Active Directory LDAP Services Check
         Determining IP4 connectivity 
         Failure Analysis: SRVASA-DC03 ... OK.
         * Active Directory RPC Services Check
         [SRVASA-DC03] DsBindWithSpnEx() failed with error 5,

         Access is denied..
         Got error while checking LDAP and RPC connectivity. Please check your

         firewall settings.

         ......................... SRVASA-DC03 failed test Connectivity

 There is no firewall enabled on both servers.

Please do not zip the files.

 

 

 

SRVASA-DC01 has the RRAS role installed.
SRVASA-DC03 has the RRAS role installed.
Multi homing a domain controller will always cause no end to grief for active directory domain DNS. Remove RRAS role and if its still needed then stand up dedicated member servers for this role. I did not look at other files since these are show stoppers. After correcting these problems if issues persist then put up a new set of files to look at.

 

 (please don't forget to mark helpful replies)

 

 

 

 

Hi @Dave Patrick 

I've disabled RRAS role in both DC and didn't work.

After, I demoted SRVASA-DC04 and create a new VM called SRVASA-DC02 and promote to a DC but didn't work too.

Please find the logs below

https://1drv.ms/u/s!Am8pbgsXRHYGiNxGCTpBO7GmtSzzAw?e=PuMcRk

 

Thanks for helping.

Link is broken. This item might have been deleted, expired, or you might not have permission to view it. Contact the owner of this item for more information.

 

 

 

- SRVASA-DC01 has multiple ip addresses which will cause no end to confusion
- SRVASA-DC02 should also have own static (192.168.1.250) ip address listed for DNS
- SRVASA-DC03 should also have own static (192.168.2.250) ip address listed for DNS
- Also check the route betwwen 192.168.1.254 <-> 192.168.2.254 exists and doesn't block required ports
https://docs.microsoft.com/en-us/troubleshoot/windows-server/identity/config-firewall-for-ad-domains...

- SRVASA-DC02 has many KDC errors so I'd check the event logs for more details and correct problems

 

 

 

I don't think the problem is multiple IPs on DC01, but I will fix it.

I had 127.0.0.1 IP listed for DNS. Now, I replaced for their IPs accordingly to your suggestion. But no success.

Communications between two sites are OK.
KDC Errors are because security database is not ready and can't login.

Next step: Fix 2 IPs in DC01 and try again, but I'm running out of hope :(
Could you suggest something new?

>>>I had 127.0.0.1 IP listed for DNS. Now, I replaced for their IPs accordingly to your suggestion. But no success.

Each domain controller should have its own static ip address listed for DNS plus loopback (127.0.0.1)

>>> Next step: Fix 2 IPs in DC01 and try again

this will always cause no end to grief for active directory domain services. What purpose does this serve?

>>>security database has not been started

 Seems you caused it by stopping KDC service

 

 

Hi Dave,

Step1: I changed DNS, but the in my opinion the correct recommendation is: Each DC have another static ip address plus loopback (127.0.0.1).
Sorry, but doesn't make sense setting to its own static IP and loopback, righ?

Step2: I've removed second IP in DC01. There was no reason to have 2 IPs.

Step3: I've promoted DC02 again as Domain Controller and I getting same message error:
I can't login over RDP and if I choose this new Domain Controller on ADUC console I'm receiving "The security database has not been started" when creating or changing a user password.
I'm just able to login over RDP if I stop KDC service, otherwise I receive message the user or password are incorrect.

Link with new logs:
https://1drv.ms/u/s!Am8pbgsXRHYGiNxGJfi3_djRITXsZg?e=SMXjZP

>>> but doesn't make sense setting to its own static IP and loopback

Regardless it is correct.

 

>>> security database has not been started

seems you may have brought this on yourself by killing KDC service

 

>>> Link with new logs:

SRVASA-DC01, SRVASA-DC02, SRVASA-DC03 also should add own static ip address listed for DNS on connection properties


Still many event log errors to work through, I did not bother trying to translate them, the source and event IDs are unknown without looking in event logs

 

 

@fernandomichels Hi Fernando.

 

We have the same problem on a customer's domain. We went through weeks of support with MS to no avail. Did you sort it out?

@adriansheedy did you ever figure this out? I'm facing the same issue now...

@MichaelMcClintock Sorry no I have no useful direction for you. MS Support was similarly unable to fix the issue. Their final recommendation was to rebuild from scratch. Grrrrr...