Re: updating/removing user indexes Q

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users

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

[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux