My Oracle Support Banner

OID 11g: Running oidctl to Check Replication Server Status Fails with: Could not connect to the Database. (Doc ID 2041359.1)

Last updated on MARCH 26, 2021

Applies to:

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


Oracle Internet Directory (OID) 11g.

New installation. Nothing has been changed. After setup of OID replication, oidctl command was working fine.

The oidrepld process is running, but oidctl status now suddenly starts to fail:

The environment variables are set correctly, including COMPONENT_NAME, etc.  Also tried setting TNS_ADMIN to $ORACLE_INSTANCE/config.

Also checked:
<Document 1066474.1> In OID 11G 'OIDCTL Status' Command Returns 'Could Not Connect to the Database
<Document 882360.1>   OID 11g Database Tools (i.e, Catalog, Ldifwrite, Bulkload, Oidpasswd) Fail With "Unable to Connect to Database: Incorrect location for tnsnames.ora or Incorrect TNS Connect string or Invalid Password
<Document 1328258.1>  OID 11g Fails To Start / Oidmon Log And SQLPlus Return Error ORA-12154



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.