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 Atul Kumar

Oracle ACE, Author, Speaker and Founder of K21 Technologies & K21 Academy : Specialising in Design, Implement, and Trainings.

follow me on:

Leave a Comment:

7 comments
mkidambi says November 13, 2012

Hi Atul,

I am getting “oracle.iam.platform.kernel.EventFailedException:LDAP Error 53 : Modified against a read-only adapter” error while creating a user in OIM with Ldap Sync enabled for OID. I have chosen OVD as the directory type while configuring the OIM. I have followed the steps from your earlier blog on Ldap sync.

Pls help me out

Thanks,
madhu

Reply
mkidambi says November 13, 2012

Hi Atul,

I have pasted the nested error above. Actual error I am getting up in the stack trace is “javax.naming.OperationNotSupportedException: [LDAP: error code 53 – LDAP Error 53 : Modified against a read-only adapter.]; remaining name ‘cn=Kidambi Madhu,cn=Users,dc=myhome,dc=learning,dc=com”

Thanks,
Madhu K

Reply
Lakshmanan says March 18, 2013

Hi Atul,

Tried to reset the password for portal schema in EM console.

In that , I am facing the issue ” LDAP: error code 53 – Server currently in read only mode. Update operations not allowed ” ,

While am checking the oracle server mode in OID, It says rw mode.

How shall we get out from this issue ?

Reply
Atul Kumar says March 18, 2013

@ mkidambi,
How many OID nodes do you have ?

Are you uding OVD infront of OID ?

What command you are running to update user ?

Can you update user details using ODSM ? (Directory Services manager) or using LDAP browser ?

Reply
srihari says April 30, 2013

Hi,

I am trying to create a read only account in OID, I believe that it should be possible with ACL. any thoughts? Please help me how to acheive read ony bind account.

Thanks
Srihari

Reply
    Atul Kumar says April 30, 2013

    Yes, this is possible via ACL. Create user and then give is read and search access for cn=Users,[realm] enrty and subtree .

    Reply
aksy5789 says July 16, 2013

Server mode is changed from rw to rm.

Can you help me to dig out exact time for this event,what was the exact time for this change in logs.

Thanks in advance.

Regards,
Anil

Reply
Add Your Reply

Not found