thegrassisgreener Posted January 2, 2008 Posted January 2, 2008 Hi all, I am still having trouble with my DC. I can not get it going again (I cannot restore from backup becasue it fails everytime) the problem is when the server starts it fails to start Security Accounts Manager. The only way I can access the server is in Safe Mode - Restore Active Directory - DC Only Any ideas anyone How I can get the server going again with AD any help would be great thanks
kingswood Posted January 2, 2008 Posted January 2, 2008 I'm just wondering whether you have checked that the RPC service is running? I ask this because the SAM relies on RPC to run and if RPC is disabled or for some reason not starting, SAM will also fail. Also, is the LSASS.EXE process showing up at all in Task Manager? A lot of the troubleshooting you will need to do will depend on the type of errors you are seeing. This article may help to start with: http://support.microsoft.com/kb/258062 And if normal login is not working (because the SAM is corrupt or missing) you need to restore the SAM first from a known good backup. http://support.microsoft.com/kb/326216 If this isn't your only DC then stop replication now. I would run a metadata cleanup on the DC too, and then if all else fails run a repair on NTDS.DIT- but that's a last resort. Look to the best System State backup you have and do that restore- if system state restore fails (as you seem to be saying) then you may have no other option than to try all of the above and if it still fails.....incidentally, if the System State backup is more than 180 days old (for Server 2003 SP1) or 60 days (for all other releases up to SP1) then it won't be new enough to restore from. This is because of the "tombstone" lifetime attribute. Hope that helps even a little. Good luck! Paul
thegrassisgreener Posted January 3, 2008 Author Posted January 3, 2008 thanks very much, if anyone else as any suggestions i would be very great full.... how do i run a repair on NTDS.dit? cheers
kingswood Posted January 3, 2008 Posted January 3, 2008 Hi. There is quite a good (detailed) run-down here: http://www.tech-archive.net/Archive/Win2000/microsoft.public.win2000.active_directory/2004-12/1295.html Basically though what you need to do is: 1. Boot to AD Restore Mode 2. Open a command prompt and run an integrity check using the Esentutl tool like so: esentutl /g "\ntds.dit"/!10240 /8 /v /x /o 3. Repair the DB by typing: esentutl /p "\ntds.dit" /!10240 /8 /v /x /o The /p switch there removes the bad bits from the database- and doesn't repair them. That being the case, make sure you have read all the articles I linked to first (especially the MS KB below) and if you have another DC in the domain do not do this. Just demote the server/reinstall the server and restore the rest from backup tape etc. 4. Afterwards delete the NTDS log files from the NTDS folder 5. Restart your server and see if you can log in etc. http://support.microsoft.com/default.aspx?scid=kb;en-us;816120&Product=winsv If you have another DC in the domain- DO NOT DO THIS! Perhaps someone else will have a better way? Paul
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now