Re: Question about re-indexing with db2index.pl

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

 



Just to add closure to this issue.. It seems that exporting the database to an LDIF file and then re-importing it into the main master resolved the issue. Here are the steps that I used (YMMV):

Break all replication in your environment. Then basically run these commands, but tailor them to your environment:
# cd /usr/lib64/dirsrv/slapd-[TAB]
# ./db2ldif -n userRoot -a /var/tmp/`date +%Y.%m.%d`.ldif
# ./ldif2db.pl -v -D "cn=directory manager" -w PASSWORD -i /var/tmp/`date +%Y.%m.%d`.ldif -s dc=[YOURDOMAIN],dc=[COM]

Next you will need to re-initialize your Masters, Consumers and your winsync server (AD). Watch your dirsrv logs (access and error) as your re-initialize your servers. Then you will need to set up all of your replication agreements again.

--Derek
--
389 users mailing list
389-users@%(host_name)s
http://lists.fedoraproject.org/admin/lists/389-users@xxxxxxxxxxxxxxxxxxxxxxx




[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