You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Felix Christl (JIRA)" <ji...@apache.org> on 2019/03/31 12:56:00 UTC

[jira] [Comment Edited] (DIRSERVER-2269) ApacheDS w/Mavibot dropped contents of entire partition, repair does not work, no obvious errors thrown

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

Felix Christl edited comment on DIRSERVER-2269 at 3/31/19 12:55 PM:
--------------------------------------------------------------------

Same thing happened today, three days after the fresh install. Same behavior, same type of log message, no explicit errors in log. I'll send over the entire instance's folder via email once I restored everything.

Do you have any idea what I can do to avoid this type of behavior? Unfortunately, I am using DS in a production environment (is this discouraged generally?).


was (Author: fchristl):
Same thing happened today after the fresh install. Same behavior, same type of log message, no explicit errors in log. I'll send over the entire instance's folder via email once I restored everything.

Do you have any idea what I can do to avoid this type of behavior? Unfortunately, I am using DS in a production environment (is this discouraged generally?).

> ApacheDS w/Mavibot dropped contents of entire partition, repair does not work, no obvious errors thrown
> -------------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-2269
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2269
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 2.0.0.AM25
>         Environment: Ubuntu 18.04.1 LTS (bionic)
>            Reporter: Felix Christl
>            Priority: Major
>
> I am running ApacheDS 2.0.0.AM25. It has two partitions:
>  * the default dc=example,dc=com partition, which is not used,
>  * and a custom Mavibot partition, which contains all our production entries.
> Over night, the context entry and all its contents in the Mavibot partition have disappeared. When I open the server configuration in Studio, the partition still shows up. However, when browsing (or ldapsearching), none of the entries is there anymore.
> The logs show no particular error message, however, it gives me hundres of entries like this:
> {code:java}
> 2019-03-26T11:09:07.730537470Z     | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
> 2019-03-26T11:09:07.730556934Z     | PageIO[5ac00], size = 1647588149, NEXT PageIO:5b800
> 2019-03-26T11:09:07.730610932Z     |  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F 
> 2019-03-26T11:09:07.730616738Z     | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
> 2019-03-26T11:09:07.730619602Z     | |00 00 00 00 00 05 B8 00 62 34 33 35 2D 34 35 62|
> 2019-03-26T11:09:07.730688870Z     | |62 2D 62 34 32 64 2D 36 33 35 61 30 35 64 35 61|
> 2019-03-26T11:09:07.730715840Z     | |30 61 35 00 00 00 01 00 00 00 10 00 00 00 0C 00|
> 2019-03-26T11:09:07.730782158Z     | |00 00 01 00 00 00 00 00 01 68 00 00 00 00 1B 00|
> 2019-03-26T11:09:07.730838771Z     | |00 00 00 00 00 00 01 00 00 00 0F 32 2E 35 2E 34|
> 2019-03-26T11:09:07.730891337Z     | |2E 30 5F 66 6F 72 77 61 72 64 00 00 00 01 00 00|
> 2019-03-26T11:09:07.730954424Z     | |00 10 00 00 00 0C 00 00 00 01 00 00 00 00 00 01|
> 2019-03-26T11:09:07.730996135Z     | |24 00 00 00 00 30 00 00 00 00 00 00 00 01 00 00|
> 2019-03-26T11:09:07.731065067Z     | |00 24 32 64 31 31 33 36 38 30 2D 37 31 30 65 2D|
> 2019-03-26T11:09:07.731105656Z     | |34 38 35 65 2D 61 35 30 30 2D 35 31 32 30 32 66|
> 2019-03-26T11:09:07.731159164Z     | |31 31 30 33 36 63 00 00 00 01 00 00 00 10 00 00|
> 2019-03-26T11:09:07.731240572Z     | |00 0C 00 00 00 01 00 00 00 00 00 00 AA 00 00 00|
> 2019-03-26T11:09:07.731281957Z     | |00 30 00 00 00 00 00 00 00 01 00 00 00 24 39 63|
> 2019-03-26T11:09:07.731331301Z     | |38 65 66 63 61 34 2D 32 38 35 32 2D 34 39 38 37|
> 2019-03-26T11:09:07.731371507Z     | |2D 62 38 36 33 2D 66 64 33 35 65 30 32 63 38 32|
> 2019-03-26T11:09:07.731443660Z     | |36 39 00 00 00 01 00 00 00 10 00 00 00 0C 00 00|
> 2019-03-26T11:09:07.731481330Z     | |00 01 00 00 00 00 00 02 DC 00 00 00 00 30 00 00|
> 2019-03-26T11:09:07.731542628Z     | |00 00 00 00 00 01 00 00 00 24 61 63 36 35 65 62|
> 2019-03-26T11:09:07.731596460Z     | |33 66 2D 34 64 31 65 2D 34 33 65 61 2D 62 37 35|
> 2019-03-26T11:09:07.731680442Z     | |39 2D 64 36 61 31 35 30 36 62 63 34 35 65 00 00|
> 2019-03-26T11:09:07.731718719Z     | |00 01 00 00 00 10 00 00 00 0C 00 00 00 01 00 00|
> 2019-03-26T11:09:07.731760058Z     | |00 00 00 02 AA 00 00 00 00 30 00 00 00 00 00 00|
> 2019-03-26T11:09:07.731803944Z     | |00 01 00 00 00 24 66 61 64 61 30 37 32 65 2D 36|
> 2019-03-26T11:09:07.731861824Z     | |33 37 39 2D 34 64 36 66 2D 61 32 62 39 2D 36 64|
> 2019-03-26T11:09:07.731901761Z     | |32 66 30 64 37 33 62 36 63 66 00 00 00 01 00 00|
> 2019-03-26T11:09:07.731948146Z     | |00 10 00 00 00 0C 00 00 00 01 00 00 00 00 00 05|
> 2019-03-26T11:09:07.731986484Z     | |8A 00 00 00 00 2F 00 00 00 00 00 00 00 02 00 00|
> 2019-03-26T11:09:07.732049434Z     | |00 23 31 2E 33 2E 36 2E 31 2E 34 2E 31 2E 31 38|
> 2019-03-26T11:09:07.732125553Z     | |30 36 30 2E 30 2E 34 2E 31 2E 32 2E 33 5F 66 6F|
> 2019-03-26T11:09:07.732163079Z     | |72 77 61 72 64 00 00 00 01 00 00 00 10 00 00 00|
> 2019-03-26T11:09:07.732209904Z     | |0C 00 00 00 01 00 00 00 00 00 00 72 00 00 00 00|
> 2019-03-26T11:09:07.732297253Z     | |30 00 00 00 00 00 00 00 02 00 00 00 24 31 32 63|
> 2019-03-26T11:09:07.732306641Z     | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
> {code}
> I have tried a couple of things, none of which worked:
>  # Run the repair command,
>  # restore a nightly backup of my /var/lib/apacheds directory from a point in time where everything still worked,
>  # combine 2 and then 3.
> The ultimately working strategy was then to set up a brand new instance of ApacheDS and import an LDIF backup.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)