Hi Everyone,
I am running Win2k12 R2 Standard, since I had to recover the server due to a datastore corruption, I am not able to start the Certsrv services. I am getting the following error: "Active Directory Certificate Services did not start : Unable to initialize the database connection for xxx-xxxxxxxxxx-xx. dbtime on page smaller than dbtimeBefore in record 0x0 (WIN32: 0).:
I did some digging and I found out that the database might be corrupted. I used esentutl /g on the database and it is suggesting that the database is not up-to-date. Integrity check may find that this database is corrupt because data from the log files has yet to be replaced in the database. It is strongly recommended the database is brought up-to-date before continuing!
When using the esentutl /r exxx to recover the log file to be inserted into the DB, it is always failing due to missing log file or invalid parameter.
I also tried to repair the DB even while it is not recommended and I ended up with a warning that the start or end of the DB contains an extraordinary amount of information and the DB couldn't be initialized.
The thing here, I think, is I am not using the recovery options like it should be used. Any suggestion on how to use it with the certsrv?
Most of articles are referring to the Exchange services but it is like the certsrv shouldn't be that hard to recover!
I also did a file level recovery before the datastore got corrupted but I was still ending up with: the dbtime on page samller than dbtimeBefore in record 0x0 (WIN32: 0) error.