Friday, October 30, 2015

OID OAM Env Issues on HP-UX


Issue Description or Issue Log#

$$ORACLE_HOME/bin/ldapsearch -h hostname -p 3060 \
> -D "cn=orcladmin" -w pwd -b \
> "cn=Provisioning Profiles, cn=Changelog Subscriber, cn=Oracle Internet Directory" \
> -s sub "objectclass=*" > profile.ldif
/usr/lib/hpux64/dld.so: Unsatisfied code symbol 'nzcrltlfc_temp_ldap_fetch_crl' in load module '/u01/oracle/mw/Oracle_IDM1/bin/ldapsearch'.
/usr/lib/hpux64/dld.so: Unsatisfied code symbol 'nzcrltliu_temp_ldap_is_url' in load module '/u01/oracle/mw/Oracle_IDM1/bin/ldapsearch'.
/usr/lib/hpux64/dld.so: Unsatisfied code symbol 'nzcrltlfc_temp_ldap_fetch_crldp' in load module '/u01/oracle/mw/Oracle_IDM1/bin/ldapsearch'.
Killed

Fix# Make sure env is pointing to IDM /OID
export SHLIB_PATH=/u01/oracle/mw/Oracle_IDM1/lib
$unset LD_LIBRARY_PATH

Check for any other env is pointing to any other Oracle Homes Except IDM/OID


Same for other ldap utilities like 
ldapadd       ldapbind      ldapdelete    ldapmodify    ldapsearch
ldapaddmt     ldapcompare   ldapmoddn     ldapmodifymt

Syntax#

ldapsearch -h hostname-p 3081 -D cn=orcladmin -w pwd -b "" -s sub -L "cn=oid1" orclnonsslport > modifyport.ldif
ldapmodify -h hostname -p 3081 -D cn=orcladmin -w pwd -f modifyport.ldif

No comments:

Post a Comment