You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by st...@oracle.com on 2016/01/27 22:44:49 UTC

Rebooted ApacheDS M2 getting invalid type 31

Everything was working for months.
Then search stopped working, so I thought I would resstart apache ds.

How can I get my system back to running?

serviice apacheDs stop
service apacheDs start

now it fails to start and logs say:
STATUS | wrapper  | 2016/01/27 21:32:25 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2016/01/27 21:32:25 | Launching a JVM...
INFO   | jvm 1    | 2016/01/27 21:32:25 | Wrapper (Version 3.2.3) 
http://wrapper.tanukisoftware.org
INFO   | jvm 1    | 2016/01/27 21:32:25 |   Copyright 1999-2006 Tanuki 
Software, Inc.  All Rights Reserved.
INFO   | jvm 1    | 2016/01/27 21:32:25 |
INFO   | jvm 1    | 2016/01/27 21:32:34 | LDAP: [2016-01-27 
21:32:34.279] ERROR [org.apache.directory.server.core.authz.GroupCache] 
- Exception while initializing the groupCache:  {}
INFO   | jvm 1    | 2016/01/27 21:32:34 | 
org.apache.directory.api.ldap.model.exception.LdapOperationErrorException: 
invalid type code: 31
INFO   | jvm 1    | 2016/01/27 21:32:34 |       at 
org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.fetch(AbstractBTreePartition.java:1217)
INFO   | jvm 1    | 2016/01/27 21:32:34 |       at 
org.apache.directory.server.xdbm.search.evaluator.EqualityEvaluator.evaluate(EqualityEvaluator.java:97)
INFO   | jvm 1    | 2016/01/27 21:32:34 |       at 
org.apache.directory.server.xdbm.search.evaluator.OrEvaluator.evaluate(OrEvaluator.java:85)
INFO   | jvm 1    | 2016/01/27 21:32:34 |       at 
org.apache.directory.server.xdbm.search.evaluator.AndEvaluator.evaluate(AndEvaluator.java:110)
INFO   | jvm 1    | 2016/01/27 21:32:34 |       at 
org.apache.directory.server.core.partition.impl.btree.EntryCursorAdaptor.get(EntryCursorAdaptor.java:167)
INFO   | jvm 1    | 2016/01/27 21:32:34 |       at 
org.apache.directory.server.core.partition.impl.btree.EntryCursorAdaptor.get(EntryCursorAdaptor.java:43)
INFO   | jvm 1    | 2016/01/27 21:32:34 |       at 
org.apache.directory.server.core.api.filtering.EntryFilteringCursorImpl.next(EntryFilteringCursorImpl.java:377)


Re: Rebooted ApacheDS M2 getting invalid type 31

Posted by Emmanuel Lécharny <el...@gmail.com>.
Le 27/01/16 22:44, steve.hammond@oracle.com a écrit :
> Everything was working for months.
> Then search stopped working, so I thought I would resstart apache ds.
>
> How can I get my system back to running?

Corupted database :/

Either you have a backup, or you might want to test an experimental
package that can clean the database using the command 'apacheds.sh
repair'. I just brew it last week-end, and made it available on 
people.apache.org/~elecharny. This is a full installer for a full
server, which will restart if you run 'apacheds.sh start'.

If you feel like being a guinea pig, I'm around to give you any help. We
intend to release that version asap, when we have tested it a bit more
thoroughly.

Note : THIS IS *NOT* an official release.