directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] [Commented] (DIRSERVER-2157) Ghost Users in the instance
Date Thu, 14 Jul 2016 06:27:20 GMT


Emmanuel Lecharny commented on DIRSERVER-2157:

Better check with M23 coming release, where the repair tool will work.

As the version is not yet release, we do have some testing installers here :

In order to run the repair tool, you can follow these instructions :

"## Repairing the indexes

Sometime, the database get corrupted. Hopefully, this is not frequent, but when it happens,
it left you in a position where there is nothing you can do but re-injecting a backup.

That is more than annoying, and the latest version (2.0.0-M23) as an added feature that allows
you to repair the indexes (this is a best effort, it might not work in all cases). Here is
the step to follow in order to run the tool :

    $ sudo /etc/init.d/apacheds-<version> repair /var/lib/apacheds-<version>/<instance>

All the indexes will be recreated, based on the content of the master table (which contains
all the entries). You can also remove all the database files but the master.db and master.lg
files from each user partitions in /var/lib/apacheds-<version>/<instance>/partitions,
before running the command.

The server should restart with a working database (it might take a bit of time, but not that
much : rebuilding indexes is orders of magnitude faster than injcting entries in the server).

> Ghost Users in the instance
> ---------------------------
>                 Key: DIRSERVER-2157
>                 URL:
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M19
>         Environment: PR
>            Reporter: Allan Selvan
>            Priority: Critical
> Hi,
> We have a list of users maintained in the root ou=users,o=sccm. Recently I added some
users to the list. The next day I an trying to search for the users I added but I am unable
to find them, also I am not able to add the users back as it tells me that the entry already
exists. Could you please help.
> Regards,
> Allan Selvan

This message was sent by Atlassian JIRA

View raw message