[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: problems with slapadd



The bad part is that the whole sub-tree is not available any more. Did it
happen too? Or only the error on importing entries?


-----Original Message-----
From: Gustavo Lozano [mailto:glozano@noldata.com]
Sent: 24 July 2003 17:38
To: Katja Sizova
Cc: openldap-software@OpenLDAP.org
Subject: Re: problems with slapadd


Kajta.
May be the slapadd process cant see the end of the record. It happened
here may times.


Be sure the last line in the record is "", for example:

echo "" >> record.ldif


the same goes for all records.

C ya

On Thu, 2003-07-24 at 10:00, Katja Sizova wrote:
> Hello,
>  
> I am using the slapadd utility to add a large number of
> entries (config: OpenLDAP 2.0.25, BkeleyDb3.3.11-02 on SunOS sun4u
> sparc SUNW,Ultra-5_10). Loading the same LDIF file gives different
> results on different systems. 
>  
> At times it goes fine, but at times I get the following error:
>  
> slapadd: could not add entry
>
dn="smsclaidentifier=07240313152303f1fdbebfff0,smscid=6,ou=smscenters,ou=iln
_a, o=sandbox.com" (line=46)
>  
> The error (line=46) is just on the last line, related to this
> particular entry. After that it is not possible to access the whole
> sub-tree (starting from the parent entry) the new one was supposed to
> be added to. So, for this entry the whole sub-tree
> "smscid=6,ou=smscenters,ou=iln_a, o=sandbox.com" is not accessible any
> more.
>  
> The error in the slapd.log file is:
>  
> conn=0 op=43 SEARCH RESULT tag=101 err=0 text=
> conn=0 op=44 SRCH base="smscid=6, ou=SmsCenters, ou=ILN_A,
> o=sandbox.com" scope=0 filter="(objectClass=*)"
> ber_flush: 104 bytes to sd 9
> ber_flush: 14 bytes to sd 9
> conn=0 op=44 SEARCH RESULT tag=101 err=0 text=
> conn=0 op=45 SRCH base="smscid=6, ou=SmsCenters, ou=ILN_A,
> o=sandbox.com" scope=1 filter="(objectClass=*)"
> ber_flush: 14 bytes to sd 9
> conn=0 op=45 SEARCH RESULT tag=101 err=0 text=
>  
>  
>  
> Any hint is highly appreciated as right now the DIT structure seems to
> be damaged!
>  
> Regards,
> Katja Sizova
-- 
Gustavo A. Lozano                                 Noldata Corporation
glozano@noldata.com                               Calle 46 No. 40-19
CTO                                               Bogota D.C. Colombia
Noldata Corporation                               http://noldata.com

            I know not with what weapons World War III will be fought,
               but World War IV will be fought with sticks and stones.
                                                       Albert Einstein



________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________