[ 
https://issues.apache.org/jira/browse/DIRSERVER-2215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16305821#comment-16305821
 ] 

Emmanuel Lecharny commented on DIRSERVER-2215:
----------------------------------------------

Yes, and I'm sorry that the log confirms you have a corrupt database :

{noformat}
...
ERR_127 Failed to close the record manager
java.lang.Error: ERR_559 In transaction not empty
...
{noformat}

At the moment, if you repairing the database does not help, there is no other 
solution than erasing the whole database, and reimport a LDIF extract from a 
working version. And sadly, that does not guarantee you will not have another 
corruption later on.

This is a known bug we are trying to get fix, and the current workaround 
('repair') is limited. Another workaround would be to switch to {{Mavibot}}, 
which requires some tuning in your configuration - ie, changing all the 
indexes, and reloading the database entirely-.

Note that {{Mavibot}} is going to be the future backend as a replacement of 
{{JDBM}}, but the current version is limited (typically, it does not support 
transaction, which means if you have a server crash while processing an update, 
you might also face a corruption issue. Hopefully, this is not a frequent 
scenario though. {{Mavibot}} is also expected to be faster than {{JDBM}}.

We are currently working on a new version of {{Mavibot}} that support 
transactions, and will be bullet proof, and faster too. The status is that we 
have implemented transactions, but we still need to deal with dead entries 
reclaiming. That will take some time.

> LDAP: Error 50 - Insufficient Access Rights
> -------------------------------------------
>
>                 Key: DIRSERVER-2215
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2215
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 2.0.0-M23
>         Environment: windows server 2012
>            Reporter: taher fares
>            Priority: Critical
>         Attachments: apacheds.log
>
>
> hello all,
> I have apache Directory studio(LDAP) connected with our mobile application by 
> IBM mobile first (MFP), I have a problem that repeated more than once, LDAP 
> suddenly does not respond to any command from MFP such like Delete and Modify 
> of structure or person/group objects - ALL functions are causing an error and 
> whene i trying to apply any LDIF files the following error appears in the LOG 
> file "apache ldap error code 50 insufficient access rights",
> Because of this we have lost many users so I hope you will cooperate to solve 
> this issue as soon as possible
> thank you  in advance



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to