directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Borys <sbo...@gmail.com>
Subject Re: Upgrade to M12
Date Tue, 14 May 2013 07:22:42 GMT
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 <sborys@gmail.com> 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 <kayyagari@apache.org>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 <sborys@gmail.com> 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.<init>(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.<init>(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.<init>(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.<init>(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 <kayyagari@apache.org
>> > >wrote:
>> >
>> > > On Mon, May 13, 2013 at 7:04 PM, Borys <sborys@gmail.com> 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
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message