OUD Running On Windows Fails to Restore with Error Occurred While Attempting To Acquire An Exclusive Lock (Doc ID 2301063.1)

Last updated on AUGUST 25, 2017

Applies to:

Oracle Unified Directory - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Symptoms

 C:\oracle\Middleware\asinst_1\OUD\bat>restore.bat --backupDirectory c:\oracle\backups\OracleContext0
[21/Aug/2017:14:53:32 -0400] category=TOOLS severity=SEVERE_ERROR msgID=10748234
msg=An error occurred while attempting to acquire an exclusive lock for backend
OracleContext0: The exclusive lock requested for file C:\oracle\Middleware\asi
nst_1\OUD\locks\backend-OracleContext0.lock was not granted, which indicates tha
t another process already holds a shared or exclusive lock on that file. This g
enerally means some other process is still using this backend (e.g., it is in us
e by the Directory Server or a backup or LDIF export is in progress). The resto
re cannot continue

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms