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

Re: (ITS#6652) accesslog anomaly in db drop/re-import



--000e0cd29c8c87a456049b38f23c
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,
I downloaded the HEAD repository, compiled and tried the import. Same
problem on the same line.

I went to see the version of the source accesslog.c and saw this line on to=
p
of it:
/* accesslog.c - log operations for audit/history purposes */
/* $OpenLDAP: pkg/ldap/servers/slapd/overlays/accesslog.c,v 1.37.2.34 *
2011/01/26* 23:23:34 quanah Exp $ */

Had I downloaded the wrong repository?

Thanks
      Marco Pizzoli


On Tue, Feb 1, 2011 at 1:10 PM, Pierangelo Masarati <masarati@aero.polimi.i=
t
> wrote:

> Marco Pizzoli wrote:
>
>> Hi,
>> the (same?) problem arises again.
>>
>> I downloaded the upgraded source, created a new accesslog and today trie=
d
>> to
>> slapcat/drop/slapadd.
>> This is the error that I'm encountering:
>>
>> [ldap@ldap03 db_log]$ time /usr/local/openldap/sbin/slapadd -b
>> "cn=3Dlog03,dc=3D
>> mycorp.it" -l dump_ldap_dblog_20110201.ldif
>> .###                   17.14% eta 01h17m elapsed          15m56s spd 443=
.0
>> k/s str2entry: invalid value for attributeType reqAttr #1 (syntax
>> 1.3.6.1.4.1.1466.115.121.1.15)
>> slapadd: could not parse entry (line=3D13502606)
>> _###                   17.14% eta 01h17m elapsed          15m56s spd 330=
.0
>> k/s
>> Closing DB...
>>
>> The corrupted entry is:
>>
>> dn: reqStart=3D20110128141509.000004Z,cn=3Dlog03,dc=3Dmycorp.it
>> objectClass: auditSearch
>> structuralObjectClass: auditSearch
>> reqStart: 20110128141509.000004Z
>> reqEnd: 20110128141510.000000Z
>> reqType: search
>> reqSession: 6521
>> reqAuthzID: cn=3DManager,dc=3Dmyregion,dc=3Dmycorp.it
>> reqDN: uid=3Dpe1748,ou=3DPeople,dc=3Dmyregion,dc=3Dmycorp.it
>> reqResult: 0
>> reqScope: base
>> reqDerefAliases: never
>> reqAttrsOnly: FALSE
>> reqFilter: (&(objectClass=3D*))
>> reqAttr: *
>> reqAttr:
>> reqEntries: 1
>> reqTimeLimit: -1
>> reqSizeLimit: 500
>> entryUUID: c18cf535-bbbd-4a0c-b5bb-848da7e39dbf
>> creatorsName: cn=3DManager,cn=3Dlog03,dc=3Dmycorp.it
>> createTimestamp: 20110128141510Z
>> entryCSN: 20110128141510.000116Z#000000#003#000000
>> modifiersName: cn=3DManager,cn=3Dlog03,dc=3Dmycorp.it
>> modifyTimestamp: 20110128141510Z
>>
>
> A fix is in HEAD (ITS#6819); more is coming.  Please test.  Thanks, p.
>



--=20
_________________________________________
Non =E8 forte chi non cade, ma chi cadendo ha la forza di rialzarsi.
                    Jim Morrison

--000e0cd29c8c87a456049b38f23c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,<br>I downloaded the HEAD repository, compiled and tried the import. Sam=
e problem on the same line.<br><br>I went to see the version of the source =
accesslog.c and saw this line on top of it:<br>/* accesslog.c - log operati=
ons for audit/history purposes */<br>

/* $OpenLDAP: pkg/ldap/servers/slapd/overlays/accesslog.c,v 1.37.2.34 <b>20=
11/01/26</b> 23:23:34 quanah Exp $ */<br><br>Had I downloaded the wrong rep=
ository?<br><br>Thanks<br>=A0=A0=A0=A0=A0 Marco Pizzoli<br><br><br><div cla=
ss=3D"gmail_quote">

On Tue, Feb 1, 2011 at 1:10 PM, Pierangelo Masarati <span dir=3D"ltr">&lt;<=
a href=3D"mailto:masarati@aero.polimi.it";>masarati@aero.polimi.it</a>&gt;</=
span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt =
0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div><div></div><div class=3D"h5">Marco Pizzoli wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
the (same?) problem arises again.<br>
<br>
I downloaded the upgraded source, created a new accesslog and today tried t=
o<br>
slapcat/drop/slapadd.<br>
This is the error that I&#39;m encountering:<br>
<br>
[ldap@ldap03 db_log]$ time /usr/local/openldap/sbin/slapadd -b &quot;cn=3Dl=
og03,dc=3D<br>
<a href=3D"http://mycorp.it"; target=3D"_blank">mycorp.it</a>&quot; -l dump_=
ldap_dblog_20110201.ldif<br>
.### =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 17.14% eta 01h17m elapsed =A0 =A0 =
=A0 =A0 =A015m56s spd 443.0<br>
k/s str2entry: invalid value for attributeType reqAttr #1 (syntax<br>
1.3.6.1.4.1.1466.115.121.1.15)<br>
slapadd: could not parse entry (line=3D13502606)<br>
_### =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 17.14% eta 01h17m elapsed =A0 =A0 =
=A0 =A0 =A015m56s spd 330.0<br>
k/s<br>
Closing DB...<br>
<br>
The corrupted entry is:<br>
<br>
dn: reqStart=3D20110128141509.000004Z,cn=3Dlog03,dc=3D<a href=3D"http://myc=
orp.it" target=3D"_blank">mycorp.it</a><br>
objectClass: auditSearch<br>
structuralObjectClass: auditSearch<br>
reqStart: 20110128141509.000004Z<br>
reqEnd: 20110128141510.000000Z<br>
reqType: search<br>
reqSession: 6521<br>
reqAuthzID: cn=3DManager,dc=3Dmyregion,dc=3D<a href=3D"http://mycorp.it"; ta=
rget=3D"_blank">mycorp.it</a><br>
reqDN: uid=3Dpe1748,ou=3DPeople,dc=3Dmyregion,dc=3D<a href=3D"http://mycorp=
.it" target=3D"_blank">mycorp.it</a><br>
reqResult: 0<br>
reqScope: base<br>
reqDerefAliases: never<br>
reqAttrsOnly: FALSE<br>
reqFilter: (&amp;(objectClass=3D*))<br>
reqAttr: *<br>
reqAttr:<br>
reqEntries: 1<br>
reqTimeLimit: -1<br>
reqSizeLimit: 500<br>
entryUUID: c18cf535-bbbd-4a0c-b5bb-848da7e39dbf<br>
creatorsName: cn=3DManager,cn=3Dlog03,dc=3D<a href=3D"http://mycorp.it"; tar=
get=3D"_blank">mycorp.it</a><br>
createTimestamp: 20110128141510Z<br>
entryCSN: 20110128141510.000116Z#000000#003#000000<br>
modifiersName: cn=3DManager,cn=3Dlog03,dc=3D<a href=3D"http://mycorp.it"; ta=
rget=3D"_blank">mycorp.it</a><br>
modifyTimestamp: 20110128141510Z<br>
</blockquote>
<br></div></div>
A fix is in HEAD (ITS#6819); more is coming. =A0Please test. =A0Thanks, p.<=
br>
</blockquote></div><br><br clear=3D"all"><br>-- <br>_______________________=
__________________<br>Non =E8 forte chi non cade, ma chi cadendo ha la forz=
a di rialzarsi.<br>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Jim Morrison<br>
<div style=3D"visibility: hidden; left: -5000px; position: absolute; z-inde=
x: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden;=
 word-wrap: break-word; color: black; font-size: 10px; text-align: left; li=
ne-height: 130%;" id=3D"avg_ls_inline_popup">

</div>

--000e0cd29c8c87a456049b38f23c--