Question about re-indexing with db2index.pl

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

 



I recently added a new Muilt-Master and Consumer to my existing LDAP infrastructure and I am having issues when I go to initialize the new servers. On the new servers I am getting the following errors:

[02/Feb/2016:15:27:17 -0600] NSMMReplicationPlugin - multimaster_be_state_change: replica dc=alertlogic,dc=net is going offline; disabling replication
[02/Feb/2016:15:27:17 -0600] - WARNING: Import is running with nsslapd-db-private-import-mem on; No other process is allowed to access the database
[02/Feb/2016:15:27:17 -0600] - import userRoot: WARNING: Skipping entry "uid=user1,ou=Users,ou=Place1,ou=Place2,ou=Groups,dc=mydomain,dc=net" which has no parent, ending at line 0 of file "(bulk import)"
[02/Feb/2016:15:27:17 -0600] - import userRoot: WARNING: Skipping entry "uid=user2,ou=Users,ou=Place1,ou=Place2,ou=Groups,dc=mydomain,dc=net" which has no parent, ending at line 0 of file "(bulk import)"
[02/Feb/2016:15:27:17 -0600] - import userRoot: WARNING: bad entry: ID 29
[02/Feb/2016:15:27:17 -0600] - import userRoot: WARNING: Skipping entry "uid=user3,ou=Users,ou=Place1,ou=Place2,ou=Groups,dc=mydomain,dc=net" which has no parent, ending at line 0 of file "(bulk import)"
[02/Feb/2016:15:27:17 -0600] - import userRoot: WARNING: bad entry: ID 30
[02/Feb/2016:15:27:17 -0600] - import userRoot: WARNING: bad entry: ID 31


I could not find much on these errors and was thinking that I may need to re-index my source master LDAP server. I have verified that all of the OU's exist on the new servers. When I re-initalize these two new servers it does put the bulk of the users into the OU's but is failing on a few users (as shown above). I found the following post and have surmised my strategy from it:

http://www.spinics.net/linux/fedora/389-users/msg17329.html


I am planning on running the following command on my source server:

# /usr/lib64/dirsrv/slapd-YOURID/db2index -n MYBACKEND -t entryrdn

Questions:
1) Is this the right command and am I thinking about this issue in the correct manner?
2) If this is the corrent command to run, after running it, do I need to break all replications and re-initialize all of my Masters, then consumers, then setup all of the replication agreements again? Or do I just run the db2index.pl and then let the established replication agreements just do their thing?
3) Is there anything else that I should be aware of or do before I take this action?


All servers are running CentOS 6.xx

# rpm -qa 389*
389-ds-console-1.2.6-1.el6.noarch
389-ds-1.2.2-1.el6.noarch
389-ds-base-libs-1.2.11.15-48.el6_6.x86_64
389-dsgw-1.1.11-1.el6.x86_64
389-admin-console-1.1.8-1.el6.noarch
389-ds-console-doc-1.2.6-1.el6.noarch
389-console-1.1.7-1.el6.noarch
389-admin-1.1.35-1.el6.x86_64
389-admin-console-doc-1.1.8-1.el6.noarch
389-adminutil-1.1.19-1.el6.x86_64
389-ds-base-1.2.11.15-48.el6_6.x86_64


Thank you all for your time and I really appreciate all of your help!
--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