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

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

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

Changed the $ORACLE_INSTANCE/config/tnsnames.ora on the OID 11g server to point to the new 12c 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: myhost.mycompany.com] [pid: 22197] [tid: 0] Guardian: gslsggDelete: Deleting entry cn=asinst_6_oid2_1_myhost.mycompany.com,cn=osdldapd,cn=subregistrysubentry

[2016-04-12T14:08:15+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: myhost.mycompany.com] [pid: 22197] [tid: 0] Guardian: Database Search Error.

[2016-04-12T14:08:15+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: myhost.mycompany.com] [pid: 22197] [tid: 0] Guardian: Instance cn=asinst_6_oid2_1_myhost.mycompany.com,cn=osdldapd,cn=subregistrysubentry search failed

[2016-04-12T14:08:15+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: myhost.mycompany.com] [pid: 22197] [tid: 0] Guardian: OIDLDAPD Instance 1 deletion failed

[2016-04-12T14:08:15+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: myhost.mycompany.com] [pid: 22197] [tid: 0] Guardian: Starting OIDLDAPD cmdLine args = "instance=1 inst=1 "

[2016-04-12T14:08:15+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: myhost.mycompany.com] [pid: 22197] [tid: 0] Guardian: Starting OIDLDAP Server,PID=22233

[2016-04-12T14:08:15+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: myhost.mycompany.com] [pid: 22197] [tid: 0] Guardian: Updating Process Table...

[2016-04-12T14:08:15+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: myhost.mycompany.com] [pid: 22197] [tid: 0] Guardian: gsldda_DeleteEntry:gsldfgGetEntryID Error..1010

[2016-04-12T14:08:15+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: myhost.mycompany.com] [pid: 22197] [tid: 0] Guardian: CreateInstance: Successfuly created entry cn=asinst_6_oid2_1_myhost.mycompany.com,cn=osdldapd,cn=subregistrysubentry

[2016-04-12T14:10:14+00:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: myhost.mycompany.com] [pid: 22197] [tid: 0] Guardian: Shutting down

 

Changes

Upgraded OID Metadata repository from 11g to 12c.

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