HOW to enable OID tracing: HOWTO set OID Debug/Trace Levels?

Steps to enable OID tracing.
 1. Create the following files
 debugon.ldif
 –cut here—
 dn: cn=oid1,cn=osdldapd,cn=subconfigsubentry
 changetype: modify
 replace: orcldebugop
 orcldebugop: 511
 dn: cn=oid1,cn=osdldapd,cn=subconfigsubentry
 changetype: modify
 replace: orcldebugflag
 orcldebugflag: 1
 —-cut here——-
 debugoff.ldif
 –cut here—
 dn: cn=oid1,cn=osdldapd,cn=subconfigsubentry
 changetype: modify
 replace: orcldebugop
 orcldebugop: 0
 dn: cn=oid1,cn=osdldapd,cn=subconfigsubentry
 changetype: modify
 replace: orcldebugflag
 orcldebugflag: 0
 —-cut here——-
 2. Enable tracing
 ldapmodify -h <host> -p <port> -D “cn=orcladmin” -w <password> -f debugon.ldif
 3. Please replicate the issue.
 4. Disable tracing
 ldapmodify -h <host> -p <port> -D “cn=orcladmin” -w <password> -f debugoff.ldif
To verify that your debug levels have been set, run the following ldapsearch command:
$ORACLE_HOME/bin/ldapsearch -h <OIDHOST> -p <PORT> -D cn=orcladmin -w <PWD> -b “cn=oid1,cn=osdldapd,cn=subconfigsubentry” -s base objectclass=* orcldebugflag orcldebugop
The logs can be found at $MW_HOMEasinst_1diagnosticslogsOIDoid1
We can have other values for ORCLDEBUGOP and ORCLDEBUGFLAG.
  • June 22, 2018 | 19 views
  • Comments