My Oracle Support Banner

"Database Already Registered With Directory Service." When Registering Database With OUD (Doc ID 2052686.1)

Last updated on APRIL 28, 2023

Applies to:

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

Symptoms

Multiple hosts each have a database with same database/sid name defined with a requirement to register the same name into the OUD directory service.

Example attempting to register a database with OUD using dbca:

<USERNAME>@<HOST1> <ORCL> > export DB=<ORCL>
<USERNAME>@<HOST1> <ORCL> > export SID=<ORCL>
<USERNAME>@<HOST1> <ORCL> > export PORT=<PORT>
<USERNAME>@<HOST1> <ORCL> > export HOSTNAME=host1.DOMAIN
<USERNAME>@<HOST1> <ORCL> > export DIRMGR="cn=<DS_ADMIN>"
<USERNAME>@<HOST1> <ORCL> > export PASSWORD=********
<USERNAME>@<HOST1> <ORCL> > export WALLETPWD=********
<USERNAME>@<HOST1> <ORCL> > dbca -silent -configureDatabase -sourceDB ${DB} -registerWithDirService true -dirServiceUserName "${DIRMGR}" -dirServicePassword ${PASSWORD} -walletPassword ${WALLETPWD}
Database already registered with Directory Service.
<USERNAME>@<HOST1> <ORCL> >

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.