[389-users] Multi master replication - "Invalid syntax" error.

Rich Megginson rmeggins at redhat.com
Wed Nov 25 16:21:12 UTC 2009


Daniel wrote:
> Hi, I need a helping hand from some experienced 389-ds admin.
>
> I have built two LDAPs based on CentOS 5.3 and Fedora directory server.
>
> ldap1 - is the production server which is running a few months. all of
> the data are placed there.
>   
What version?  rpm -qi 389-ds-base (or fedora-ds-base if still using 
fedora-ds)
> ldap2 - is the clean install of CentOS 5.3 and 389-ds, identical to
> ldap1, but with no data at all.
>   
What version? rpm -qi 389-ds-base

The schema and syntax checking have been improved in 389 1.2.1 and 
later.  Do you have any custom schema?
> My point is to replicate present ldap1 data in to the new ldap2 server.
>
> I went through the documentation here
> http://directory.fedoraproject.org/wiki/Howto:MultiMasterReplication and
> everything seems to be OK
> Replication agreements are created, when I display them I get the
> following output
>
> replication agreements from ldap1.mydomain.com (389)
>          ->ldap2.mydomain.com (389)
>
> replication agreements from ldap2.mydomain.com (389)
>          ->ldap1.mydomaincom (389)
>
> ...but when I perform the ldapsearch for some certain records - ldap2
> won't find anything.
>
> So I checked the ldap1 error log and found this
>
> 25/Nov/2009:13:08:40 +0100] NSMMReplicationPlugin - agmt_delete: begin
> [25/Nov/2009:13:08:48 +0100] NSMMReplicationPlugin -
> agmt="cn="Replication to ldap2.mydomain.com"" (ldap2:389): Schema
> replication update failed: Invalidsyntax
> [25/Nov/2009:13:08:48 +0100] NSMMReplicationPlugin -
> agmt="cn="Replication to ldap2.mydomain.com"" (ldap2:389): Warning:
> unable to replicate schema: rc=1
> [25/Nov/2009:13:08:51 +0100] NSMMReplicationPlugin -
> agmt="cn="Replication to ldap2.mydomain.com"" (ldap2:389): Schema
> replication update failed: Invalid syntax
> [25/Nov/2009:13:08:51 +0100] NSMMReplicationPlugin - Warning: unable to
> replicate schema to host ldap2.mydomain.com, port 389. Continuing with
> total update session.
> [25/Nov/2009:13:08:51 +0100] NSMMReplicationPlugin - Beginning total
> update of replica "agmt="cn="Replication to ldap2.mydomain.com""
> (ldap2:389)".
> [25/Nov/2009:13:08:54 +0100] NSMMReplicationPlugin - Finished total
> update of replica "agmt="cn="Replication to ldap2.mydomain.com""
> (ldap2:389)". Sent 107 entries.
>
> Can you please explain to me what does it mean "Invalid syntax"?
> I googled but no useful information were found.
>
> So if someone knows what to do for solution I would greatly appreciate
> the help.
>
> Thank you very much.
>
> ~ Daniel.
>
> --
> 389 users mailing list
> 389-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3258 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20091125/c7112807/attachment.bin>


More information about the Fedora-directory-users mailing list