Re: import bulk

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

 



Alberto,

Not sure what's going on..., but you may want to try recreating an entryrdn index file on the source server.
# /usr/lib64/dirsrv/slapd-YOURID/db2index -n YOURBACKEND -t entryrdn

Thanks,
--noriko

Alberto Viana wrote:
Noriko,

The ldapsearch returns all my entries id on this OU. The entry id for that user is: 1294

On dbscan for this user shows me this:
rdn: uid=derlinea.miranda
        entryid: 1294
        parentid: 787

The parentid points to the OU=IT

id 787
rdn: OU=IT
parentid: 691
entryid: 787

Do you need any specific info from dbscan? Just to let you know that I imported manually this user to my another 389DS, but I want to make sure that everything is OK in my database. I intend to add more 389DS servers soon on my enviroment.


The strange thing about this error is the fact that the error points to an ID tha was normally imported:

============================================================================================================
[12/Aug/2014:16:37:28 -0300] - import userRoot: WARNING: Skipping entry "uid=myuser,OU=IT,dc=my,dc=domain" which has no parent, ending at line 0 of file "(bulk import)"
[12/Aug/2014:16:37:28 -0300] - import userRoot: WARNING: bad entry: ID 720
============================================================================================================

But the entry ID 720 is another user:
id 720
rdn: uid=luciana.batista
parentid: 677
entryid: 720



On Tue, Aug 12, 2014 at 5:16 PM, Noriko Hosoi <nhosoi@xxxxxxxxxx> wrote:
Alberto,

Could you run ldapsearch on the source server (you imported from)?
ldapsearch ... -D 'cn=directory manager' -w - -b "OU=IT,dc=my,dc=domain" entryid

Also, run dbscan as follows?
dbscan -f /var/lib/dirsrv/slapd-YOURID/db/YOURBACKEND/id2entry.db#

Thanks,
--noriko

Alberto Viana wrote:
Rich,

I have 9 users on this DN/OU, just this one gave me this error, I'm not sure that I understand what you're saying to me.


On Tue, Aug 12, 2014 at 4:57 PM, Rich Megginson <rmeggins@xxxxxxxxxx> wrote:
On 08/12/2014 01:50 PM, Alberto Viana wrote:
I setup a new 389 on my enviroment, and when I configured the replication, just one user was not imported:

[12/Aug/2014:16:37:28 -0300] - import userRoot: WARNING: Skipping entry "uid=myuser,OU=IT,dc=my,dc=domain" which has no parent, ending at line 0 of file "(bulk import)"
[12/Aug/2014:16:37:28 -0300] - import userRoot: WARNING: bad entry: ID 720

What exactly that means?

It usually means the entry dn: OU=IT,dc=my,dc=domain does not exist in the data to be imported.


Thanks

Alberto Viana


--
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



--
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



--
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