If you encounter the below error, while installing your Oracle OID / Infrastructure , make sure that the /etc/hosts for both server contain your hostname and hostname.domain
LDAP error : ORA-31203: DBMS_LDAP: PL/SQL - Init Failed.
Eror: ORA-31203 (ORA-31203)
Text: DBMS_LDAP: PL/SQL - Init Failed.
---------------------------------------------------------------------------
Cause: There has been an error in the DBMS_LDAP Init operation. Action: Please check the host name in the hosts file and the port number to see if it's been taken up, or report the error number and description to Oracle Support.