Quantcast
Channel: Doyensys Allappsdba Blog..
Viewing all articles
Browse latest Browse all 1640

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

$
0
0


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_HOME\asinst_1\diagnostics\logs\OID\oid1

We can have other values for ORCLDEBUGOP and ORCLDEBUGFLAG.


Viewing all articles
Browse latest Browse all 1640

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>