Windows Server 2008 R2 STOP: c00002e2 Directory Services could not start

Oggi sono stato chiamato in urgenza a causa di un Domain Controller Windows 2008 R2 che si avvia con l’errore seguente, probabilmente dopo un arresto improvviso a causa delle piogge della notte precedente.

STOP: c00002e2 Directory Services could not start because of the following error: A device attached to the system is not functioning.

Error Status: 0xc0000001. Please shutdown this system and reboot into Directory Services Restore Mode, check the event log for more detailed information.

La macchina era in un loop continuo e dalla mia esperienza, non ne sarei mai uscito solamente con il know how.

Fortunatamente GOOGLE mi è venuto in aiuto ed ho trovato questo post (vedi orginale qui)

  1. Riavviare e premere il pulsante F8, per entrare nella modalitò di “Directory Services restore mode“.
  2. Accedere con la password locale del server inserita in fase di installazione
  3. Digitare: cd windowssystem32
  4. Digitare: NTDSUTIL
  5. Digitare: activate instance NTDS
  6. Digitare: files
  7. Se si presentasse un errore durante l’avvio del “Jet Engine” uscite tranquillamente dal comand NTDSUTIL
  8. Digitare: cd
  9. Digitare: md backupad
  10. Digitare: cd windowsntds
  11. Digitare: copy ntds.dit c:backupad
  12. Digitare: cd windowssystem32
  13. Digitare: esentutl /g c:windowsntdsntds.dit
  14. Questo comando esegue un controllo approfondito dell’integrità del database NTDS.DIT” (Il risultato indica il livello di corruzione del database)
  15. Digitare: esentutl /p   c:windowsntdsntds.ditAgree with the prompt
  16. Digitare: cd windowsntds
  17. Digitare: move *.log c:backupad (oppure potete semplicemente eliminare i file)

Con questa procedura il db dovrebbe risulatere completamente riparato e la problematica risolta.

Per verificare se la procedura è stata esguita correttamente seguite questi semplici comandi:

  1. Digitare: cd windowssystem32
  2. Digitare: ntdsutil
  3. Digitare: activate instance ntds
  4. Digitare: files (non dovrebbe presentarsi più l’errore precedente)
  5. Digitare: info (l’elenco dei file dovrebbe presentarsi correttamente)

Ora potete riavviare il Vostro sistema in modalità normale.

Spero sia utile a qualcuno come lo è stato per me.

Buona Serata

DV

Dario Villa

Learn More →

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.