OID Server Mode R, RW, RM: LDAP: error code 53 – Server currently in read only mode

LDAP: error code 53 – Server currently in read only mode. Update operations not allowed This is one of common error message when you try to update OID which is running in Read Only mode.

.

Fix is to change OID from Read Only (R) to Read/Write (RW).

.

Q. Where is Server Mode defined in OID 11g ?
 
A. OID Server mode is an attribute (orclservermode) of OID instance defined under cn=[component i.e. oidX], cn=osdldapd, cn=subconfigsubentry

.

Q. How to change OID Server mode ?
A. You can either use ldapmodify (command line tool) or ODSM/OIDMON (graphical user interface) in OID 11g/10g resp. More on ODSM
here 
Q.How to use command line (ldapmodify) to change OID server mode
A.
1. Create change_mode.ldif file with entry like
dn:
changetype: modify
replace: orclservermode
orclservermode: rw
2. Run the following ldapmodify command on OID server to change the server mode of OID

$ORACLE_HOME/bin/ldapmodify -D “cn=orcladmin” -w adminPassword -h [host] -p [non-ssl OID port] -f change_mode.ldif

Q. How to use change OID server mode using ODSM
A. Login to ODSM using http://server:port/odsm  (where server is WebLogic server name and port is wls_ods1 managed server port i.e. 7005)

From Data Browser expand cn=subconfigsubentry -> cn=osdldapd ->cn=oid1  on right pane update attribute orclservermode

.

Q. In what scenarios OID is required to change server mode ?
A. Some bulk tool operations and replication setup procedures require you to switch an Oracle Internet Directory instance from read/write to read-only mode or from read-only to read/write mode.

About the Author Masroof Ahmad

Leave a Comment:

7 comments
Add Your Reply