Of course, i use CentOs 5.3 with
[root@ldap]# slapd -V
@(#) $OpenLDAP: slapd 2.3.43 (Jan 21 2009 03:59:37) $
mockbuild(a)builder10.centos.org:
/builddir/build/BUILD/openldap-2.3.43/openldap-2.3.43/build-servers/servers/slapd
On Mon, Aug 31, 2009 at 2:30 PM, Tihomir Culjaga <tculjaga(a)gmail.com> wrote:
the same applies for line 10487774. I mean usually, this means the
issue is
above this line ... but :)
10487750 dn: uniqueID=38513897981,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr
10487751 nodeID: 76
10487752 userType: R
10487753 cpsPrefix: 0
10487754 qos: 100
10487755 objectClass: top
10487756 objectClass: uniqueID
10487757 lnpPrefix: 33B76
10487758 nodePrefix: B
10487759 netID: 33
10487760 uniqueID: 38513897981
10487761
10487762 dn: lbsID =100,uniqueID=385138
10487763 dn: uniqueID=38513899170,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr
10487764 nodeID: 76
10487765 userType: R
10487766 cpsPrefix: 0
10487767 qos: 100
10487768 objectClass: top
10487769 objectClass: uniqueID
10487770 lnpPrefix: 33B76
10487771 nodePrefix: B
10487772 netID: 33
10487773 uniqueID: 38513899170
*10487774 *
10487775 dn: lbsID
=100,uniqueID=38513899170,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr
10487776 publicNumber: 38513899170
10487777 lbsID: 100
10487778 objectClass: top
10487779 objectClass: lbsID
10487780
10487781 dn: lbsID
=101,uniqueID=38513899170,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr
10487782 publicNumber: 38513899170
10487783 lbsID: 101
10487784 objectClass: top
10487785 objectClass: lbsID
10487786
10487787 dn: uniqueID=38513899171,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr
10487788 nodeID: 76
10487789 userType: R
10487790 cpsPrefix: 0
10487791 qos: 100
10487792 objectClass: top
10487793 objectClass: uniqueID
10487794 lnpPrefix: 33B76
10487795 nodePrefix: B
10487796 netID: 33
10487797 uniqueID: 38513899171
10487798
10487799 dn: lbsID
=100,uniqueID=38513899171,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr
10487800 publicNumber: 38513899171
10487801 lbsID: 100
10487802 objectClass: top
10487803 objectClass: lbsID
10487804
10487805 dn: lbsID
=101,uniqueID=38513899171,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr
10487806 publicNumber: 38513899171
10487807 lbsID: 101
10487808 objectClass: top
10487809 objectClass: lbsID
10487810
On Mon, Aug 31, 2009 at 2:26 PM, Tihomir Culjaga <tculjaga(a)gmail.com>wrote:
> Here is the chunk, i marked the line (1727833) in red.
>
> 1727785 dn: uniqueID=38512331795,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr
> 1727786 nodeID: 10
> 1727787 userType: R
> 1727788 cpsPrefix: 0
> 1727789 qos: 100
> 1727790 objectClass: top
> 1727791 objectClass: uniqueID
> 1727792 lnpPrefix: 68A10
> 1727793 nodePrefix: A
> 1727794 netID: 68
> 1727795 uniqueID: 38512331795
> 1727796
> 1727797 dn: lbsID
> =100,uniqueID=38512331795,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr
> 1727798 publicNumber: 38512331795
> 1727799 lbsID: 100
> 1727800 objectClass: top
> 1727801 objectClass: lbsID
> 1727802
> 1727803 dn: lbsID
> =101,uniqueID=38512331795,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr
> 1727804 publicNumber: 38512331795
> 1727805 lbsID: 101
> 1727806 objectClass: top
> 1727807 objectClass: lbsID
> 1727808
> 1727809 dn: uniqueID=38512331810,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr
> 1727810 nodeID: 0
> 1727811 userType: R
> 1727812 cpsPrefix: 0
> 1727813 qos: 100
> 1727814 objectClass: top
> 1727815 objectClass: uniqueID
> 1727816 lnpPrefix: 44A00
> 1727817 nodePrefix: A
> 1727818 netID: 44
> 1727819 uniqueID: 38512331810
> 1727820
> 1727821 dn: lbsID =100,uniqueID=38512331810,ou=redirec
> 1727822 dn: uniqueID=38512322963,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr
> 1727823 nodeID: 75
> 1727824 userType: R
> 1727825 cpsPrefix: 0
> 1727826 qos: 100
> 1727827 objectClass: top
> 1727828 objectClass: uniqueID
> 1727829 lnpPrefix: 33B75
> 1727830 nodePrefix: B
> 1727831 netID: 33
> 1727832 uniqueID: 38512322963
> 1727833
> 1727834 dn: lbsID
> =100,uniqueID=38512322963,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr
> 1727835 publicNumber: 38512322963
> 1727836 lbsID: 100
> 1727837 objectClass: top
> 1727838 objectClass: lbsID
> 1727839
> 1727840 dn: lbsID
> =101,uniqueID=38512322963,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr
> 1727841 publicNumber: 38512322963
> 1727842 lbsID: 101
> 1727843 objectClass: top
> 1727844 objectClass: lbsID
> 1727845
> 1727846 dn: uniqueID=38512322964,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr
> 1727847 nodeID: 75
> 1727848 userType: R
> 1727849 cpsPrefix: 0
> 1727850 qos: 100
> 1727851 objectClass: top
> 1727852 objectClass: uniqueID
> 1727853 lnpPrefix: 33B75
> 1727854 nodePrefix: B
> 1727855 netID: 33
> 1727856 uniqueID: 38512322964
> 1727857
>
> On Mon, Aug 31, 2009 at 2:15 PM, Tihomir Culjaga <tculjaga(a)gmail.com>wrote:
>
>> hmm ... the file is 1.7 GB :)
>>
>>
>> i'l try to post a chunk...
>>
>> gimme a sec...
>>
>> T.
>>
>>
>> On Mon, Aug 31, 2009 at 2:06 PM, Jonathan Clarke <
>> jonathan(a)phillipoux.net> wrote:
>>
>>> On 31/08/2009 14:00, Tihomir Culjaga wrote:
>>>
>>>> Hello,
>>>>
>>>> I have an issue when adding entries to DB. for some reason im getting
>>>> this autput:
>>>>
>>>>
>>>> [root@ldap]# slapadd -f /etc/openldap/slapd.conf -l
>>>> /home/tculjaga/export.ldif -q -c
>>>>
>>>>
>>>>
>>>> str2entry: entry -1 has multiple DNs
>>>> "lbsID=100,uniqueID=38512331810,ou=redirec" and
>>>>
"uniqueID=38512322963,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr"
>>>> slapadd: could not parse entry (line=1727833)
>>>>
>>>>
>>>> str2entry: entry -1 has multiple DNs
"lbsID=100,uniqueID=385138" and
>>>>
"uniqueID=38513899170,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr"
>>>> slapadd: could not parse entry (line=10487774)
>>>> str2entry: entry -1 has multiple DNs
>>>>
>>>>
"lbsID=100,uniqueID=38514552151,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr"
>>>> and
"uniqueID=38514558227,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr"
>>>> slapadd: could not parse entry (line=10895623)
>>>>
>>>>
>>>>
>>>> Can someone please explain whats wrong ?
>>>>
>>>>
>>>> also, i went to lines listed above and found nothing strange at all ...
>>>>
>>>>
>>>> any help ?
>>>>
>>>
>>> Hi,
>>>
>>> It looks like your LDIF file is malformed around these lines. In
>>> particular, are there white lines between each entry (an entry begins with a
>>> line starting with "dn:")?
>>>
>>> If you post an extract (or point to a pastebin) of the problematic LDIF
>>> file here we may be able to provide more specific help.
>>>
>>> Regards,
>>> Jonathan
>>>
>>
>>
>