Quantcast
Viewing all articles
Browse latest Browse all 31638

AD LDS snapshot - DSAMAIN error

Hi,

I installed a unique AD LDS on a workgroup Windows Server 2008 (x86as well as R2 x64)

Instance name „instance1“, using port 389.

Created an Application partition o=test,c=de

Used the default path for installing AD LDS (c:\program files\microsoft

ADAM\Instance1\data)

As service account I choose a local user account “testadlds”  (which is a

local admin account ), because I want to replicate the instance ...

AD LDS Administrator - actual logged in user (which is the default

administrator)

Added LDIF-files:  MS-ADLDS-Display-Specifiers.LDF, MS-InetorgPerson.LDF,

MS-User.LDF

Using ADSIEDIT, I created an OrganizationUnit  and 2 users

 

Created a snapshot as follows:

Elevated command-prompt:

Dsdbutil

dsdbutil: Snapshot

snapshot: activate instance instance1

Message: successfully actived instance instance1 ….

snapshot: create

snapshot: mount

  

Snapshot: list mounted - shows me

1: 2009/03/16:20:22 {017b67da-bd38- .....}

2:      c:  {f37af06b-1395-.......}  C:\$SNAP_200903162022_Volumec$\


ServerManager confirmed a successful "VSS snapshot"


Windows Explorer allows me to browse to adamntds.dit:

C:\$SNAP_200903162022_Volumec$\Program Files\Microsoft ADAM\Instance1\data\

 

Used the command DSAMAIN in another elevated command prompt:

 

dsamain -dbpath "C:\$SNAP_200903162022_Volumec$\Program Files\Microsoft

ADAM\Instance1\data\adamntds.dit" -ldapPort 60000

 

RESULT:
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:
-1032 JET_errFileAccessDenied, Cannot access file, the file is locked or in 
use
EVENTLOG <Informational>: NTDS General / Service ControL : 1004
Active Directory Domain Services was shut down successfully.  "

No matter if I quit "dsdbutil" before or not, if I stop the service

Instance1 or not. tried to use "-dbpath C:\$SNAP_200903162022_Volumec$\Windwows  I always get the same error message

What is wrong?

I need urgent help and a solution would be very much appreciated.

Thanks in advance

Edith Hochreiter


Viewing all articles
Browse latest Browse all 31638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>