On 10/20/2015 11:58 AM, ghiureai wrote:



Mark , thank you for reply, the main reason I was asking is:
 I seen several times when I removed  user indexes using admin  console and  after 2-3 days they re-appeared back  ? This is something strange, I am running backups and exports on daily bases on on this database but can explain how the indexes are getting re-create  back ??
I've never heard of that happening on its own.

Next time you remove an index, check the FS to see if the file is removed:

example, delete "cn" index and make sure this file is removed:

/var/lib/dirsr5v/slapd-INSTANCE/db/useroot/cn.db

Also make sure that the index entry is removed from cn=config:

# ldapsearch -D "cn=directory manager" -W -b cn=config cn=cn


Now a "restore" can add this file back and update the config.  Are you sure you haven't done a restore?

So if the index reappears check cn=config and FS.  Also check if it happens after doing a backup - you need find out what is triggering the resurrection of the index.

Mark

Thank you

Isabella
On 10/20/2015 08:42 AM, ghiureai wrote:
Hi List,
I would like to know if after removing user indexes using the admin console there is need to run the
db2index.pl script  while the ldap is shutdown  or should be fine to run with DS online?
Thank you
Isabella




--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users