Forum Search:
Forum.Brain-Cluster.com: Brain Cluster Technical Forum
Ultimate forum for Technical Discussions

Home » Microsoft » Windows Server » Active Directory » Unable to mount snapshot with dsamain
Unable to mount snapshot with dsamain [message #155872] Sat, 06 June 2009 05:16 Go to next message
Peter Van Eeckhoutte  is currently offline Peter Van Eeckhoutte
Messages: 2
Registered: June 2009
Junior Member
Hi,

I'm trying to mount an AD snapshot with dsamain, but it does not seem to
work

This is what I do

1. create snapshot :
- - - - - - - - - - - - -
C:\Windows\System32>ntdsutil sn "ac i ntds" create q q
ntdsutil: sn
snapshot: ac i ntds
Active instance set to "ntds".
snapshot: create
Creating snapshot...
Snapshot set {daa78261-7eac-4c1d-a020-9a3dcb0cea0b} generated successfully.
snapshot: q
ntdsutil: q


2. Mount snapshot
- - - - - - - - - - - - -
C:\Windows\System32>ntdsutil
ntdsutil: snap
snapshot: a i ntds
Active instance set to "ntds".
snapshot: list all
1: 2009/06/06:09:35 {28823db2-962b-4334-806e-bbb0a8dd3935}
2: C: {30e3a5b3-0a4e-43bf-9b38-20f007d0f764}

3: 2009/06/06:09:57 {c34ef4ba-9e8f-4291-9cb2-0c77fd62d4c5}
4: C: {10503920-ce9c-417e-b277-6c1888c0b982}

5: 2009/06/06:09:59 {78a468f3-f000-48ec-87c4-5fb2175f8a33}
6: C: {d2d2dac0-8c47-417b-982f-3bb9ab74eb2e}

7: 2009/06/06:11:05 {daa78261-7eac-4c1d-a020-9a3dcb0cea0b}
8: C: {22bea5c8-4491-4780-98d5-b2adfd41b614}

snapshot: mount {22bea5c8-4491-4780-98d5-b2adfd41b614}
Snapshot {22bea5c8-4491-4780-98d5-b2adfd41b614} mounted as
C:\$SNAP_200906061105_VOLUMEC$\
snapshot: q
ntdsutil: q


So far so good, now I try to run dsamain :

C:\Windows\System32>dsamain /dbpath
c:\$SNAP_200906061105_VOLUMEC$\Windows\system32\ntds.dit /ldapport 15000

EVENTLOG (Error): NTDS General / Internal Processing : 1168
Internal error: An Active Directory Domain Services error has occurred.

Additional Data

Error value (decimal):
-1414

Error value (hex):
fffffa7a

Internal ID:
407d2

EVENTLOG (Error): NTDS General / Internal Processing : 1003
Active Directory Domain Services could not be initialized.

The directory service cannot recover from this error.

User Action
Restore the local directory service from backup media.

Additional Data

Error value:
-1414 JET_errSecondaryIndexCorrupted, Secondary index is corrupt. The
database must be defragmented

EVENTLOG (Informational): NTDS General / Service Control : 1004
Active Directory Domain Services was shut down successfully.





Whatever I try, I always get this message.

I have tried removing all snapshots and created a new one, rebooted the DC
multiple times, etc etc
Nothing seem to help

I'm obviously missing something here - it can't be that hard, can it ?

thanks

c
Re: Unable to mount snapshot with dsamain [message #155874 is a reply to message #155872] Sat, 06 June 2009 07:30 Go to previous messageGo to next message
meiweb(nospam)  is currently offline meiweb(nospam)  Germany
Messages: 1307
Registered: July 2009
Senior Member
Hello Peter,

Change the dsamain path from:

C:\Windows\System32>dsamain /dbpath c:\$SNAP_200906061105_VOLUMEC$\Windows\system32\ntds.dit
/ldapport 15000

to

C:\Windows\System32>dsamain /dbpath c:\$SNAP_200906061105_VOLUMEC$\Windows\ntds.dit
/ldapport 15000


Remove the system32 folder in the path.

Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm


> Hi,
>
> I'm trying to mount an AD snapshot with dsamain, but it does not seem
> to work
>
> This is what I do
>
> 1. create snapshot :
> - - - - - - - - - - - - -
> C:\Windows\System32>ntdsutil sn "ac i ntds" create q q
> ntdsutil: sn
> snapshot: ac i ntds
> Active instance set to "ntds".
> snapshot: create
> Creating snapshot...
> Snapshot set {daa78261-7eac-4c1d-a020-9a3dcb0cea0b} generated
> successfully.
> snapshot: q
> ntdsutil: q
> 2. Mount snapshot
> - - - - - - - - - - - - -
> C:\Windows\System32>ntdsutil
> ntdsutil: snap
> snapshot: a i ntds
> Active instance set to "ntds".
> snapshot: list all
> 1: 2009/06/06:09:35 {28823db2-962b-4334-806e-bbb0a8dd3935}
> 2: C: {30e3a5b3-0a4e-43bf-9b38-20f007d0f764}
> 3: 2009/06/06:09:57 {c34ef4ba-9e8f-4291-9cb2-0c77fd62d4c5}
> 4: C: {10503920-ce9c-417e-b277-6c1888c0b982}
> 5: 2009/06/06:09:59 {78a468f3-f000-48ec-87c4-5fb2175f8a33}
> 6: C: {d2d2dac0-8c47-417b-982f-3bb9ab74eb2e}
> 7: 2009/06/06:11:05 {daa78261-7eac-4c1d-a020-9a3dcb0cea0b}
> 8: C: {22bea5c8-4491-4780-98d5-b2adfd41b614}
> snapshot: mount {22bea5c8-4491-4780-98d5-b2adfd41b614}
> Snapshot {22bea5c8-4491-4780-98d5-b2adfd41b614} mounted as
> C:\$SNAP_200906061105_VOLUMEC$\
> snapshot: q
> ntdsutil: q
> So far so good, now I try to run dsamain :
>
> C:\Windows\System32>dsamain /dbpath
> c:\$SNAP_200906061105_VOLUMEC$\Windows\system32\ntds.dit /ldapport
> 15000
>
> EVENTLOG (Error): NTDS General / Internal Processing : 1168 Internal
> error: An Active Directory Domain Services error has occurred.
>
> Additional Data
>
> Error value (decimal):
> -1414
> Error value (hex):
> fffffa7a
> Internal ID:
> 407d2
> EVENTLOG (Error): NTDS General / Internal Processing : 1003 Active
> Directory Domain Services could not be initialized.
>
> The directory service cannot recover from this error.
>
> User Action
> Restore the local directory service from backup media.
> Additional Data
>
> Error value:
> -1414 JET_errSecondaryIndexCorrupted, Secondary index is corrupt. The
> database must be defragmented
> EVENTLOG (Informational): NTDS General / Service Control : 1004 Active
> Directory Domain Services was shut down successfully.
>
> Whatever I try, I always get this message.
>
> I have tried removing all snapshots and created a new one, rebooted
> the DC
> multiple times, etc etc
> Nothing seem to help
> I'm obviously missing something here - it can't be that hard, can it ?
>
> thanks
>
> c
>
Re: Unable to mount snapshot with dsamain [message #155875 is a reply to message #155874] Sat, 06 June 2009 08:05 Go to previous messageGo to next message
Peter Van Eeckhoutte  is currently offline Peter Van Eeckhoutte
Messages: 2
Registered: June 2009
Junior Member
it worked with \Windows\NTDS\ntds.dit

(I guess I was looking at the wrong ntds.dit file)

thanks








"Meinolf Weber [MVP-DS]" <meiweb(nospam)@gmx.de> wrote in message
news:ff16fb66262998cbb4c20de6acc8@msnews.microsoft.com...
> Hello Peter,
>
> Change the dsamain path from:
>
> C:\Windows\System32>dsamain /dbpath
> c:\$SNAP_200906061105_VOLUMEC$\Windows\system32\ntds.dit /ldapport 15000
>
> to
>
> C:\Windows\System32>dsamain /dbpath
> c:\$SNAP_200906061105_VOLUMEC$\Windows\ntds.dit /ldapport 15000
>
>
> Remove the system32 folder in the path.
>
> Best regards
>
> Meinolf Weber
> Disclaimer: This posting is provided "AS IS" with no warranties, and
> confers no rights.
> ** Please do NOT email, only reply to Newsgroups
> ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
>
>> Hi,
>>
>> I'm trying to mount an AD snapshot with dsamain, but it does not seem
>> to work
>>
>> This is what I do
>>
>> 1. create snapshot :
>> - - - - - - - - - - - - -
>> C:\Windows\System32>ntdsutil sn "ac i ntds" create q q
>> ntdsutil: sn
>> snapshot: ac i ntds
>> Active instance set to "ntds".
>> snapshot: create
>> Creating snapshot...
>> Snapshot set {daa78261-7eac-4c1d-a020-9a3dcb0cea0b} generated
>> successfully.
>> snapshot: q
>> ntdsutil: q
>> 2. Mount snapshot
>> - - - - - - - - - - - - -
>> C:\Windows\System32>ntdsutil
>> ntdsutil: snap
>> snapshot: a i ntds
>> Active instance set to "ntds".
>> snapshot: list all
>> 1: 2009/06/06:09:35 {28823db2-962b-4334-806e-bbb0a8dd3935}
>> 2: C: {30e3a5b3-0a4e-43bf-9b38-20f007d0f764}
>> 3: 2009/06/06:09:57 {c34ef4ba-9e8f-4291-9cb2-0c77fd62d4c5}
>> 4: C: {10503920-ce9c-417e-b277-6c1888c0b982}
>> 5: 2009/06/06:09:59 {78a468f3-f000-48ec-87c4-5fb2175f8a33}
>> 6: C: {d2d2dac0-8c47-417b-982f-3bb9ab74eb2e}
>> 7: 2009/06/06:11:05 {daa78261-7eac-4c1d-a020-9a3dcb0cea0b}
>> 8: C: {22bea5c8-4491-4780-98d5-b2adfd41b614}
>> snapshot: mount {22bea5c8-4491-4780-98d5-b2adfd41b614}
>> Snapshot {22bea5c8-4491-4780-98d5-b2adfd41b614} mounted as
>> C:\$SNAP_200906061105_VOLUMEC$\
>> snapshot: q
>> ntdsutil: q
>> So far so good, now I try to run dsamain :
>>
>> C:\Windows\System32>dsamain /dbpath
>> c:\$SNAP_200906061105_VOLUMEC$\Windows\system32\ntds.dit /ldapport
>> 15000
>>
>> EVENTLOG (Error): NTDS General / Internal Processing : 1168 Internal
>> error: An Active Directory Domain Services error has occurred.
>>
>> Additional Data
>>
>> Error value (decimal):
>> -1414
>> Error value (hex):
>> fffffa7a
>> Internal ID:
>> 407d2
>> EVENTLOG (Error): NTDS General / Internal Processing : 1003 Active
>> Directory Domain Services could not be initialized.
>>
>> The directory service cannot recover from this error.
>>
>> User Action
>> Restore the local directory service from backup media.
>> Additional Data
>>
>> Error value:
>> -1414 JET_errSecondaryIndexCorrupted, Secondary index is corrupt. The
>> database must be defragmented
>> EVENTLOG (Informational): NTDS General / Service Control : 1004 Active
>> Directory Domain Services was shut down successfully.
>>
>> Whatever I try, I always get this message.
>>
>> I have tried removing all snapshots and created a new one, rebooted
>> the DC
>> multiple times, etc etc
>> Nothing seem to help
>> I'm obviously missing something here - it can't be that hard, can it ?
>>
>> thanks
>>
>> c
>>
>
>
Re: Unable to mount snapshot with dsamain [message #155876 is a reply to message #155875] Sat, 06 June 2009 08:18 Go to previous message
meiweb(nospam)  is currently offline meiweb(nospam)  Germany
Messages: 1307
Registered: July 2009
Senior Member
Hello Peter,

You're welcome.

Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm


> it worked with \Windows\NTDS\ntds.dit
>
> (I guess I was looking at the wrong ntds.dit file)
>
> thanks
>
> "Meinolf Weber [MVP-DS]" <meiweb(nospam)@gmx.de> wrote in message
> news:ff16fb66262998cbb4c20de6acc8@msnews.microsoft.com...
>
>> Hello Peter,
>>
>> Change the dsamain path from:
>>
>> C:\Windows\System32>dsamain /dbpath
>> c:\$SNAP_200906061105_VOLUMEC$\Windows\system32\ntds.dit /ldapport
>> 15000
>>
>> to
>>
>> C:\Windows\System32>dsamain /dbpath
>> c:\$SNAP_200906061105_VOLUMEC$\Windows\ntds.dit /ldapport 15000
>>
>> Remove the system32 folder in the path.
>>
>> Best regards
>>
>> Meinolf Weber
>> Disclaimer: This posting is provided "AS IS" with no warranties, and
>> confers no rights.
>> ** Please do NOT email, only reply to Newsgroups
>> ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
>>> Hi,
>>>
>>> I'm trying to mount an AD snapshot with dsamain, but it does not
>>> seem to work
>>>
>>> This is what I do
>>>
>>> 1. create snapshot :
>>> - - - - - - - - - - - - -
>>> C:\Windows\System32>ntdsutil sn "ac i ntds" create q q
>>> ntdsutil: sn
>>> snapshot: ac i ntds
>>> Active instance set to "ntds".
>>> snapshot: create
>>> Creating snapshot...
>>> Snapshot set {daa78261-7eac-4c1d-a020-9a3dcb0cea0b} generated
>>> successfully.
>>> snapshot: q
>>> ntdsutil: q
>>> 2. Mount snapshot
>>> - - - - - - - - - - - - -
>>> C:\Windows\System32>ntdsutil
>>> ntdsutil: snap
>>> snapshot: a i ntds
>>> Active instance set to "ntds".
>>> snapshot: list all
>>> 1: 2009/06/06:09:35 {28823db2-962b-4334-806e-bbb0a8dd3935}
>>> 2: C: {30e3a5b3-0a4e-43bf-9b38-20f007d0f764}
>>> 3: 2009/06/06:09:57 {c34ef4ba-9e8f-4291-9cb2-0c77fd62d4c5}
>>> 4: C: {10503920-ce9c-417e-b277-6c1888c0b982}
>>> 5: 2009/06/06:09:59 {78a468f3-f000-48ec-87c4-5fb2175f8a33}
>>> 6: C: {d2d2dac0-8c47-417b-982f-3bb9ab74eb2e}
>>> 7: 2009/06/06:11:05 {daa78261-7eac-4c1d-a020-9a3dcb0cea0b}
>>> 8: C: {22bea5c8-4491-4780-98d5-b2adfd41b614}
>>> snapshot: mount {22bea5c8-4491-4780-98d5-b2adfd41b614}
>>> Snapshot {22bea5c8-4491-4780-98d5-b2adfd41b614} mounted as
>>> C:\$SNAP_200906061105_VOLUMEC$\
>>> snapshot: q
>>> ntdsutil: q
>>> So far so good, now I try to run dsamain :
>>> C:\Windows\System32>dsamain /dbpath
>>> c:\$SNAP_200906061105_VOLUMEC$\Windows\system32\ntds.dit /ldapport
>>> 15000
>>>
>>> EVENTLOG (Error): NTDS General / Internal Processing : 1168 Internal
>>> error: An Active Directory Domain Services error has occurred.
>>>
>>> Additional Data
>>>
>>> Error value (decimal):
>>> -1414
>>> Error value (hex):
>>> fffffa7a
>>> Internal ID:
>>> 407d2
>>> EVENTLOG (Error): NTDS General / Internal Processing : 1003 Active
>>> Directory Domain Services could not be initialized.
>>> The directory service cannot recover from this error.
>>>
>>> User Action
>>> Restore the local directory service from backup media.
>>> Additional Data
>>> Error value:
>>> -1414 JET_errSecondaryIndexCorrupted, Secondary index is corrupt.
>>> The
>>> database must be defragmented
>>> EVENTLOG (Informational): NTDS General / Service Control : 1004
>>> Active
>>> Directory Domain Services was shut down successfully.
>>> Whatever I try, I always get this message.
>>>
>>> I have tried removing all snapshots and created a new one, rebooted
>>> the DC
>>> multiple times, etc etc
>>> Nothing seem to help
>>> I'm obviously missing something here - it can't be that hard, can it
>>> ?
>>> thanks
>>>
>>> c
>>>
Previous Topic:1 of 2 domain controllers down and users cannot login to the domai
Next Topic:RE: AD 2008: Logon from Workstations automatically disabled
Goto Forum:
  


Current Time: Thu Sep 21 08:25:31 EDT 2017

Total time taken to generate the page: 0.02799 seconds
.:: Contact :: Home ::Sitemap::.

Powered by: FUDforum 3.0.0RC2.
Copyright ©2001-2009 FUDforum Bulletin Board Software