My Oracle Support Banner

Unable To Start OID 11g or 12c After Migration or Upgrade of Backend Database to Oracle, or 19c. OID Log Shows: Guardian: Database Search Error. (Doc ID 2142279.1)

Last updated on JANUARY 12, 2021

Applies to:

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


After a cold backup from the backend source database (, upgraded Oracle Internet Directory (OID) backend database (DB) to , or 19c following all checklists for the standard 12c/19c upgrade procedure.

Changed the $ORACLE_INSTANCE/config/tnsnames.ora on the OID 11g server to point to the new 12c/19c database.

The OID services fails to startup.

Reverting back to the OLD database works fine.

Errors similar to the following found in the OID logs:

[2016-04-12T14:08:15+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: <HOSTNAME>] [pid: <PID>] [tid: 0] Guardian: gslsggDelete: Deleting entry cn=asinst_6_oid2_1_<HOSTNAME>,cn=osdldapd,cn=subregistrysubentry

[2016-04-12T14:08:15+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: <HOSTNAME>] [pid: <PID>] [tid: 0] Guardian: Database Search Error.

[2016-04-12T14:08:15+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: <HOSTNAME>] [pid: <PID>] [tid: 0] Guardian: Instance cn=asinst_6_oid2_1_<HOSTNAME>,cn=osdldapd,cn=subregistrysubentry search failed

[2016-04-12T14:08:15+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: <HOSTNAME>] [pid: <PID>] [tid: 0] Guardian: OIDLDAPD Instance 1 deletion failed

[2016-04-12T14:08:15+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: <HOSTNAME>] [pid: <PID>] [tid: 0] Guardian: Starting OIDLDAPD cmdLine args = "instance=1 inst=1 "

[2016-04-12T14:08:15+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: <HOSTNAME>] [pid: <PID>] [tid: 0] Guardian: Starting OIDLDAP Server,PID=22233

[2016-04-12T14:08:15+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: <HOSTNAME>] [pid: <PID>] [tid: 0] Guardian: Updating Process Table...

[2016-04-12T14:08:15+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: <HOSTNAME>] [pid: <PID>] [tid: 0] Guardian: gsldda_DeleteEntry:gsldfgGetEntryID Error..1010

[2016-04-12T14:08:15+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: <HOSTNAME>] [pid: <PID>] [tid: 0] Guardian: CreateInstance: Successfuly created entry cn=asinst_6_oid2_1_<HOSTNAME>,cn=osdldapd,cn=subregistrysubentry

[2016-04-12T14:10:14+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: <HOSTNAME>] [pid: <PID>] [tid: 0] Guardian: Shutting down



Upgraded OID Metadata repository database from 11g to 12c or 19c.


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

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