Return-Path: X-Original-To: apmail-directory-users-archive@www.apache.org Delivered-To: apmail-directory-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1ED0E9EA3 for ; Tue, 14 May 2013 07:45:31 +0000 (UTC) Received: (qmail 26407 invoked by uid 500); 14 May 2013 07:45:30 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 26105 invoked by uid 500); 14 May 2013 07:45:28 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 26069 invoked by uid 99); 14 May 2013 07:45:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 May 2013 07:45:27 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sborys@gmail.com designates 209.85.210.179 as permitted sender) Received: from [209.85.210.179] (HELO mail-ia0-f179.google.com) (209.85.210.179) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 May 2013 07:45:22 +0000 Received: by mail-ia0-f179.google.com with SMTP id h37so278206iak.38 for ; Tue, 14 May 2013 00:45:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=aLSGOrI3U1mogHz7snAZdA5MMHAMgfhq7JTXv+pZvvI=; b=nOfA1KHjdpICCAvQMrKA8Rvb07RxMrfPzJJHS6G2rkCupirkMGCRvMVy321SYYhKs3 ZcrksK5rlT03we/oj1s2Q2cE+SlPN57ens6KGeE32CO5D8hHp+42VoTSRQ19HxjqfFvs J/63UTSCvKWGWIttkkcQiGsTYKFSCWSqnIa8v6QYXpoCVXyzA+6koMER2FNCjdjo/VLC wvaWMwraoVYvBjSj0BdtVfAlcnvpzWtbKVk18L8AeIqR0t++/beY/QDFXA6DA0QjletQ 1KqzAcx0bbEuxXRT2COhUZM1oYbBVLZHl6Quuyyu64v1fFnZ5WUmuB9dwQKG7uhLVHF4 2Phg== MIME-Version: 1.0 X-Received: by 10.42.76.132 with SMTP id e4mr16261615ick.11.1368517501653; Tue, 14 May 2013 00:45:01 -0700 (PDT) Received: by 10.64.229.7 with HTTP; Tue, 14 May 2013 00:45:01 -0700 (PDT) In-Reply-To: References: <5191E881.6040604@gmail.com> Date: Tue, 14 May 2013 09:45:01 +0200 Message-ID: Subject: Re: Upgrade to M12 From: Borys To: users@directory.apache.org Content-Type: multipart/alternative; boundary=90e6ba25dbf18e187404dca8cfc7 X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba25dbf18e187404dca8cfc7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On the server that was started first and had all entries until the start of second server I got this: [07:09:14] ERROR [org.apache.directory.server.ldap.replication.consumer.ReplicationConsumerI= mpl] - ERR_251_PARENT_NOT_FOUND Parent cn=3Dogs,cn=3Deumetsat not found org.apache.directory.api.ldap.model.exception.LdapNoSuchObjectException: ERR_251_PARENT_NOT_FOUND Parent cn=3Dogs,cn=3Deumetsat not found And later on the second server similar: [07:09:27] ERROR [org.apache.directory.server.ldap.replication.consumer.ReplicationConsumerI= mpl] - ERR_251_PARENT_NOT_FOUND Parent cn=3Deumetsat not found org.apache.directory.api.ldap.model.exception.LdapNoSuchObjectException: ERR_251_PARENT_NOT_FOUND Parent cn=3Deumetsat not found I guess this has triggered deletion. But I can swear that I did not delete any file on neither of the servers! On Tue, May 14, 2013 at 9:38 AM, Borys wrote: > No I did not delete anything anywhere. The only what was done is: > -Stop both serevrs > - update config.ldif on both servers to add missing attribute for M12 > - replace the jar file > - attempt to start one of the servers. > - put back old jar file > - deleted the attribute from the config.ldif on both servers > - start one server server. Check the content - fine. > - start second server. Check the content - few entries missing. Check > again, even more entries missing. > - check the content on another server - more and more entries are gone > and finally, all is gone. > > > > > > On Tue, May 14, 2013 at 9:32 AM, Emmanuel L=E9charny wrote: > >> Le 5/14/13 9:16 AM, Borys a =E9crit : >> > That is exactly the problem, I did add some custom schema. >> > Now I have another big problem. I have two servers replicated. The >> > replication was setup yesterday and worked fine. Today after server >> restart >> > the replicated content start to "shrink" . I had fewer and fewer >> entries in >> > the database. And now the DB is empty on BOTH servers!!! >> > The only message I got when I started second server was: >> > [07:05:40] WARN >> > >> [org.apache.directory.server.ldap.replication.provider.SyncReplRequestHa= ndler] >> > - received a valid cookie >> > rid=3D001,csn=3D20130513122431.469000Z#000000#001#000000 but there is = no >> event >> > log associated with this replica >> >> My guess is that you deleted all the entries from one server before >> injectng the new schema, then reconnected the server to the other one. >> As the date of modification on the deleted entries is more recent, those >> deletions get 'replicated' >> >> >> -- >> Regards, >> Cordialement, >> Emmanuel L=E9charny >> www.iktek.com >> >> > --90e6ba25dbf18e187404dca8cfc7--