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 2B9FFDA67 for ; Tue, 14 May 2013 07:23:11 +0000 (UTC) Received: (qmail 51931 invoked by uid 500); 14 May 2013 07:23:10 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 51901 invoked by uid 500); 14 May 2013 07:23:10 -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 51882 invoked by uid 99); 14 May 2013 07:23:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 May 2013 07:23:09 +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 (nike.apache.org: domain of sborys@gmail.com designates 209.85.223.172 as permitted sender) Received: from [209.85.223.172] (HELO mail-ie0-f172.google.com) (209.85.223.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 May 2013 07:23:03 +0000 Received: by mail-ie0-f172.google.com with SMTP id 16so364946iea.17 for ; Tue, 14 May 2013 00:22:42 -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=l6FP+1ly1HGqeB2H6mqw5ZBu3YsTpA0MaQCXoNSlxIA=; b=XXCp4U5dbCSc0R62ZT+o059WNIIWYiajF0qOj06guGcwEM+UE0aM1tZwOGVfOJ9M/E /6hacm/PAmib86oFtZ/3PmbHJ9zpsfOn0pPIbLle+93DHG20ZudLir0rcde/EAuZ238V /K3mUCddxIXpZ7hu7IlyfdKwjuA2zjApTGRcuZx/rRc4RSrTNXMrxoEKHf4Vwu+pjJnS iHxqsBGUpPoWW/BkOFCDd2hHMVREAht5Vf+px4LuTwwYX6T2X2FS3VoLUAwkXzQ04+qF v3+w8wu58bmVml+/vFGaQwzWD2R9i0YHpNH+sY04QOTh9FdRdGHZQtESgmNE9KOjdh7V sNcw== MIME-Version: 1.0 X-Received: by 10.42.76.132 with SMTP id e4mr16225088ick.11.1368516162215; Tue, 14 May 2013 00:22:42 -0700 (PDT) Received: by 10.64.229.7 with HTTP; Tue, 14 May 2013 00:22:42 -0700 (PDT) In-Reply-To: References: Date: Tue, 14 May 2013 09:22:42 +0200 Message-ID: Subject: Re: Upgrade to M12 From: Borys To: users@directory.apache.org Content-Type: multipart/alternative; boundary=90e6ba25dbf1b7e42704dca87f3c X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba25dbf1b7e42704dca87f3c Content-Type: text/plain; charset=ISO-8859-1 The partition cn=eumetsat is still defined in the config files, and available, but everything underneath is vanished... On Tue, May 14, 2013 at 9:16 AM, Borys wrote: > 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.SyncReplRequestHandler] > - received a valid cookie > rid=001,csn=20130513122431.469000Z#000000#001#000000 but there is no event > log associated with this replica > > > > > And then few minutes later: > [07:09:27] ERROR > [org.apache.directory.server.ldap.replication.consumer.ReplicationConsumerImpl] > - ERR_251_PARENT_NOT_FOUND Parent cn=eumetsat not found > org.apache.directory.api.ldap.model.exception.LdapNoSuchObjectException: > ERR_251_PARENT_NOT_FOUND Parent cn=eumetsat not found > at > org.apache.directory.server.core.exception.ExceptionInterceptor.add(ExceptionInterceptor.java:164) > at > org.apache.directory.server.core.api.interceptor.BaseInterceptor.next(BaseInterceptor.java:412) > at > org.apache.directory.server.core.admin.AdministrativePointInterceptor.add(AdministrativePointInterceptor.java:1206) > at > org.apache.directory.server.core.api.interceptor.BaseInterceptor.next(BaseInterceptor.java:412) > at > org.apache.directory.server.core.authz.AciAuthorizationInterceptor.add(AciAuthorizationInterceptor.java:525) > at > org.apache.directory.server.core.api.interceptor.BaseInterceptor.next(BaseInterceptor.java:412) > at > org.apache.directory.server.core.referral.ReferralInterceptor.add(ReferralInterceptor.java:249) > at > org.apache.directory.server.core.api.interceptor.BaseInterceptor.next(BaseInterceptor.java:412) > at > org.apache.directory.server.core.authn.AuthenticationInterceptor.add(AuthenticationInterceptor.java:327) > at > org.apache.directory.server.core.api.interceptor.BaseInterceptor.next(BaseInterceptor.java:412) > at > org.apache.directory.server.core.normalization.NormalizationInterceptor.add(NormalizationInterceptor.java:128) > at > org.apache.directory.server.core.DefaultOperationManager.add(DefaultOperationManager.java:373) > at > org.apache.directory.server.ldap.replication.consumer.ReplicationConsumerImpl.handleSearchResultEntry(ReplicationConsumerImpl.java:400) > at > org.apache.directory.server.ldap.replication.consumer.ReplicationConsumerImpl.doSyncSearch(ReplicationConsumerImpl.java:785) > at > org.apache.directory.server.ldap.replication.consumer.ReplicationConsumerImpl.startSync(ReplicationConsumerImpl.java:572) > at > org.apache.directory.server.ldap.LdapServer$2.run(LdapServer.java:732) > at java.lang.Thread.run(Thread.java:735) > > CN=EUMETSAT is the tree that I am trying to keep replicated... > > > Any idea what is going on? > > > > On Tue, May 14, 2013 at 9:07 AM, Kiran Ayyagari wrote: > >> if you didn't add any custom schema elements to your old server then you >> can just delete the >> schema folder present under "partitions" folder and restart the server >> (keeping the remaining folders as they were) >> >> >> On Tue, May 14, 2013 at 12:33 PM, Borys wrote: >> >> > Well, >> > >> > it does not seem to be that straight forward. I guess the schema was >> > modified too for M12. Another exception thrown. How can I edit the >> schema ? >> > >> > [07:00:45] WARN >> [org.apache.directory.api.ldap.model.entry.DefaultEntry] - >> > The attribute 'ads-replpingersleep' cannot be stored >> > org.apache.directory.api.ldap.model.exception.LdapOtherException: >> ERR_04269 >> > ATTRIBUTE_TYPE for OID ads-replpingersleep does not exist! >> > at >> > >> > >> org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:84) >> > at >> > >> > >> org.apache.directory.server.ApacheDsService.initConfigPartition(ApacheDsService.java:289) >> > at >> > >> org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:169) >> > at >> > org.apache.directory.server.UberjarMain.start(UberjarMain.java:76) >> > at >> > org.apache.directory.server.UberjarMain.main(UberjarMain.java:54) >> > Caused by: >> > >> org.apache.directory.api.ldap.model.exception.LdapNoSuchAttributeException: >> > ERR_04269 ATTRIBUTE_TYPE for OID ads-replpingersleep does not exist! >> > at >> > >> > >> org.apache.directory.api.ldap.model.schema.registries.DefaultAttributeTypeRegistry.lookup(DefaultAttributeTypeRegistry.java:317) >> > at >> > >> > >> org.apache.directory.api.ldap.model.schema.registries.DefaultAttributeTypeRegistry.lookup(DefaultAttributeTypeRegistry.java:47) >> > at >> > >> > >> org.apache.directory.api.ldap.schemamanager.impl.DefaultSchemaManager.lookupAttributeTypeRegistry(DefaultSchemaManager.java:1623) >> > at >> > >> > >> org.apache.directory.api.ldap.model.entry.DefaultEntry.(DefaultEntry.java:311) >> > at >> > >> > >> org.apache.directory.server.core.partition.ldif.SingleFileLdifPartition.loadEntries(SingleFileLdifPartition.java:166) >> > at >> > >> > >> org.apache.directory.server.core.partition.ldif.SingleFileLdifPartition.doInit(SingleFileLdifPartition.java:123) >> > at >> > >> > >> org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:79) >> > ... 4 more >> > Caused by: org.apache.directory.api.ldap.model.exception.LdapException: >> > ERR_04269 ATTRIBUTE_TYPE for OID ads-replpingersleep does not exist! >> > at >> > >> > >> org.apache.directory.api.ldap.model.exception.LdapException.(LdapException.java:50) >> > at >> > >> > >> org.apache.directory.api.ldap.model.schema.registries.DefaultSchemaObjectRegistry.lookup(DefaultSchemaObjectRegistry.java:176) >> > at >> > >> > >> org.apache.directory.api.ldap.model.schema.registries.DefaultAttributeTypeRegistry.lookup(DefaultAttributeTypeRegistry.java:313) >> > ... 10 more >> > [07:00:45] ERROR [org.apache.directory.server.UberjarMain] - Failed to >> > start the service. >> > org.apache.directory.api.ldap.model.exception.LdapOtherException: >> ERR_04269 >> > ATTRIBUTE_TYPE for OID ads-replpingersleep does not exist! >> > at >> > >> > >> org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:84) >> > at >> > >> > >> org.apache.directory.server.ApacheDsService.initConfigPartition(ApacheDsService.java:289) >> > at >> > >> org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:169) >> > at >> > org.apache.directory.server.UberjarMain.start(UberjarMain.java:76) >> > at >> > org.apache.directory.server.UberjarMain.main(UberjarMain.java:54) >> > Caused by: >> > >> org.apache.directory.api.ldap.model.exception.LdapNoSuchAttributeException: >> > ERR_04269 ATTRIBUTE_TYPE for OID ads-replpingersleep does not exist! >> > at >> > >> > >> org.apache.directory.api.ldap.model.schema.registries.DefaultAttributeTypeRegistry.lookup(DefaultAttributeTypeRegistry.java:317) >> > at >> > >> > >> org.apache.directory.api.ldap.model.schema.registries.DefaultAttributeTypeRegistry.lookup(DefaultAttributeTypeRegistry.java:47) >> > at >> > >> > >> org.apache.directory.api.ldap.schemamanager.impl.DefaultSchemaManager.lookupAttributeTypeRegistry(DefaultSchemaManager.java:1623) >> > at >> > >> > >> org.apache.directory.api.ldap.model.entry.DefaultEntry.(DefaultEntry.java:311) >> > at >> > >> > >> org.apache.directory.server.core.partition.ldif.SingleFileLdifPartition.loadEntries(SingleFileLdifPartition.java:166) >> > at >> > >> > >> org.apache.directory.server.core.partition.ldif.SingleFileLdifPartition.doInit(SingleFileLdifPartition.java:123) >> > at >> > >> > >> org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:79) >> > ... 4 more >> > Caused by: org.apache.directory.api.ldap.model.exception.LdapException: >> > ERR_04269 ATTRIBUTE_TYPE for OID ads-replpingersleep does not exist! >> > at >> > >> > >> org.apache.directory.api.ldap.model.exception.LdapException.(LdapException.java:50) >> > at >> > >> > >> org.apache.directory.api.ldap.model.schema.registries.DefaultSchemaObjectRegistry.lookup(DefaultSchemaObjectRegistry.java:176) >> > at >> > >> > >> org.apache.directory.api.ldap.model.schema.registries.DefaultAttributeTypeRegistry.lookup(DefaultAttributeTypeRegistry.java:313) >> > ... 10 more >> > >> > >> > >> > On Mon, May 13, 2013 at 3:44 PM, Kiran Ayyagari > > >wrote: >> > >> > > On Mon, May 13, 2013 at 7:04 PM, Borys wrote: >> > > >> > > > Hi guys, >> > > > >> > > > How do I upgrade from M11 to M12? Replacing the jar file did not >> work. >> > I >> > > > have got an exception about missing attributes during startup. >> > > > >> > > ah I see, >> > > >> > > 1. open the config.ldif >> > > >> > > 2. go to the entry with the DN >> > > >> > >> ads-serverId=ldapServer,ou=servers,ads-directoryServiceId=default,ou=config >> > > >> > > 3. add the below like at the end of the entry >> > > >> > > ads-replPingerSleep: 5 >> > > >> > > 4. make sure you have a blank line at the end of the above LDIF entry >> IF >> > it >> > > was removed during editing >> > > >> > > 5. restart the server >> > > >> > > >> > > -- >> > > Kiran Ayyagari >> > > http://keydap.com >> > > >> > >> >> >> >> -- >> Kiran Ayyagari >> http://keydap.com >> > > --90e6ba25dbf1b7e42704dca87f3c--