J
jacki01
Guest
hello ;
i have windows server 2008 R2 running as a primary domain controller , with other domain controller (2008 R2)
the PDC stop running and it display this famous error when we start the VM (it run as a virtual machine )
STOP: c00002e2 Directory Services could not start because of the following error:
A device attached to the system is not functioning.
Error Status: 0xc0000001.
what I found on googling is that the ntds database is corrupted and I need to repair it
the solution I found talk about rebooting the VM and enter the DSRM with F8
then delete the log files under c:\windows\NTDS\ and reboot ( i did this but nothing happen)
or try to repair the ntds.dit database using the esentutle cmd line :
this what I get when I tried it :
C:\Windows\system32>ntdsutil.exe
ntdsutil.exe: activate instance ntds
Active instance set to "ntds".
ntdsutil.exe: files
Could not initialize the Jet engine: Jet Error -528.
Failed to open DIT for AD DS/LDS instance NTDS. Error -2147418113
ntdsutil.exe:
it show that there is an issue with the database , so i tried to repair it using the esentutl.exe cmdl
C:\Windows\System32>esentutl.exe /g C:\Windows\NTDS\ntds.dit
Extensible Storage Engine Utilities for Microsoft(R) Windows(R)
Version 6.1
Copyright (C) Microsoft Corporation. All Rights Reserved.
Initiating INTEGRITY mode...
Database: C:\Windows\NTDS\ntds.dit
Temp. Database: TEMPINTEG10212.EDB
Checking database integrity.
Scanning Status (% complete)
0 10 20 30 40 50 60 70 80 90 100
|----|----|----|----|----|----|----|----|----|----|
...................................................
Integrity check completed. Database is CORRUPTED!
Operation terminated with error -1206 (JET_errDatabaseCorrupted, Non database fi
le or corrupted db) after 2.855 seconds.
C:\Windows\System32>esentutl.exe /p C:\Windows\NTDS\ntds.dit
Extensible Storage Engine Utilities for Microsoft(R) Windows(R)
Version 6.1
Copyright (C) Microsoft Corporation. All Rights Reserved.
Initiating REPAIR mode...
Database: C:\Windows\NTDS\ntds.dit
Temp. Database: TEMPREPAIR8540.EDB
Checking database integrity.
Scanning Status (% complete)
0 10 20 30 40 50 60 70 80 90 100
|----|----|----|----|----|----|----|----|----|----|
...................................................
Initiating DEFRAGMENTATION mode...
Database: C:\Windows\NTDS\ntds.dit
Defragmentation Status (% complete)
0 10 20 30 40 50 60 70 80 90 100
|----|----|----|----|----|----|----|----|----|----|
....
Operation terminated with error -327 (JET_errBadPageLink, Database corrupted) af
ter 10.15 seconds.
C:\Windows\System32>
the operation failed since the integrity check failed
event viewer gives the following error :
error id 1168 :
The description for Event ID 1168 from source Microsoft-Windows-ActiveDirectory_DomainService cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
31
1f
2021486
before running these steps i also got this error :
error id 1003
The description for Event ID 1003 from source Microsoft-Windows-ActiveDirectory_DomainService cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
-530
JET_errBadLogSignature, Bad signature for a log file
any help will be appreciated , thank's
Continue reading...
i have windows server 2008 R2 running as a primary domain controller , with other domain controller (2008 R2)
the PDC stop running and it display this famous error when we start the VM (it run as a virtual machine )
STOP: c00002e2 Directory Services could not start because of the following error:
A device attached to the system is not functioning.
Error Status: 0xc0000001.
what I found on googling is that the ntds database is corrupted and I need to repair it
the solution I found talk about rebooting the VM and enter the DSRM with F8
then delete the log files under c:\windows\NTDS\ and reboot ( i did this but nothing happen)
or try to repair the ntds.dit database using the esentutle cmd line :
this what I get when I tried it :
C:\Windows\system32>ntdsutil.exe
ntdsutil.exe: activate instance ntds
Active instance set to "ntds".
ntdsutil.exe: files
Could not initialize the Jet engine: Jet Error -528.
Failed to open DIT for AD DS/LDS instance NTDS. Error -2147418113
ntdsutil.exe:
it show that there is an issue with the database , so i tried to repair it using the esentutl.exe cmdl
C:\Windows\System32>esentutl.exe /g C:\Windows\NTDS\ntds.dit
Extensible Storage Engine Utilities for Microsoft(R) Windows(R)
Version 6.1
Copyright (C) Microsoft Corporation. All Rights Reserved.
Initiating INTEGRITY mode...
Database: C:\Windows\NTDS\ntds.dit
Temp. Database: TEMPINTEG10212.EDB
Checking database integrity.
Scanning Status (% complete)
0 10 20 30 40 50 60 70 80 90 100
|----|----|----|----|----|----|----|----|----|----|
...................................................
Integrity check completed. Database is CORRUPTED!
Operation terminated with error -1206 (JET_errDatabaseCorrupted, Non database fi
le or corrupted db) after 2.855 seconds.
C:\Windows\System32>esentutl.exe /p C:\Windows\NTDS\ntds.dit
Extensible Storage Engine Utilities for Microsoft(R) Windows(R)
Version 6.1
Copyright (C) Microsoft Corporation. All Rights Reserved.
Initiating REPAIR mode...
Database: C:\Windows\NTDS\ntds.dit
Temp. Database: TEMPREPAIR8540.EDB
Checking database integrity.
Scanning Status (% complete)
0 10 20 30 40 50 60 70 80 90 100
|----|----|----|----|----|----|----|----|----|----|
...................................................
Initiating DEFRAGMENTATION mode...
Database: C:\Windows\NTDS\ntds.dit
Defragmentation Status (% complete)
0 10 20 30 40 50 60 70 80 90 100
|----|----|----|----|----|----|----|----|----|----|
....
Operation terminated with error -327 (JET_errBadPageLink, Database corrupted) af
ter 10.15 seconds.
C:\Windows\System32>
the operation failed since the integrity check failed
event viewer gives the following error :
error id 1168 :
The description for Event ID 1168 from source Microsoft-Windows-ActiveDirectory_DomainService cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
31
1f
2021486
before running these steps i also got this error :
error id 1003
The description for Event ID 1003 from source Microsoft-Windows-ActiveDirectory_DomainService cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
-530
JET_errBadLogSignature, Bad signature for a log file
any help will be appreciated , thank's
Continue reading...