Hello All,
OpenLDAP server 2.4.49 Setup with replication
Noticing following error messages in server logs,
Apr 14 19:56:19 openldap-service-0 slapd[51]: syncrepl_null_callback : error code 0x10 Apr 14 19:56:19 openldap-service-0 slapd[51]: syncrepl_entry: rid=103 be_modify failed (16)
As the error code “16” suggested, validated the schema across participating nodes and found no discrepancies in the schema configuration across nodes.
However, we are noticing that one of the entries is missing from one node out of three participating replicas (multi master).
Any pointers on where to start to debug to understand the issue and fix it.
Thanks in advance.
--On Wednesday, April 14, 2021 2:07 PM -0700 Rallavagu Kon rallavagu@gmail.com wrote:
Hello All,
OpenLDAP server 2.4.49 Setup with replication
Noticing following error messages in server logs,
Apr 14 19:56:19 openldap-service-0 slapd[51]: syncrepl_null_callback : error code 0x10 Apr 14 19:56:19 openldap-service-0 slapd[51]: syncrepl_entry: rid=103 be_modify failed (16)
As the error code "16" suggested, validated the schema across participating nodes and found no discrepancies in the schema configuration across nodes.
That's not what result code 16 indicates. It means that the MOD operation attempted to change an attribute that didn't exist on the target entry.
In any case, replication of any type is not safe with OpenLDAP 2.4.49, you need to upgrade to the current release (2.4.58). Additionally, you must use delta-syncrepl replication.
Regards, Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
Thanks for prompt reply Quanah. Will upgrade to 2.4.58 as you suggested. Do you foresee any issues with performing in-place upgrade or should we re-index the database by re-importing the data ( we are using mob)?
Thanks.
On Apr 14, 2021, at 1:13 PM, Quanah Gibson-Mount quanah@symas.com wrote:
--On Wednesday, April 14, 2021 2:07 PM -0700 Rallavagu Kon <rallavagu@gmail.com mailto:rallavagu@gmail.com> wrote:
Hello All,
OpenLDAP server 2.4.49 Setup with replication
Noticing following error messages in server logs,
Apr 14 19:56:19 openldap-service-0 slapd[51]: syncrepl_null_callback : error code 0x10 Apr 14 19:56:19 openldap-service-0 slapd[51]: syncrepl_entry: rid=103 be_modify failed (16)
As the error code "16" suggested, validated the schema across participating nodes and found no discrepancies in the schema configuration across nodes.
That's not what result code 16 indicates. It means that the MOD operation attempted to change an attribute that didn't exist on the target entry.
In any case, replication of any type is not safe with OpenLDAP 2.4.49, you need to upgrade to the current release (2.4.58). Additionally, you must use delta-syncrepl replication.
Regards, Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: <http://www.symas.com http://www.symas.com/>
--On Wednesday, April 14, 2021 2:18 PM -0700 Rallavagu Kon rallavagu@gmail.com wrote:
Thanks for prompt reply Quanah. Will upgrade to 2.4.58 as you suggested. Do you foresee any issues with performing in-place upgrade or should we re-index the database by re-importing the data ( we are using mob)?
An in-place upgrade should be fine.
--Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
openldap-technical@openldap.org