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

database corruption



hello,

i've a openldap bdb database. when i do 'slapcat -c', i get following
errors (shown last few lines). any help is highly appreciated. thanks.

**********
dn: uid=jessicae,ou=Users,dc=emgbank,dc=com
userPassword:: e21kNX1lRU84Z1dvZmNOKzJnQmxCOWRucUVRPT0=
phpgwAccountType: u
phpgwAccountExpires: -1
homeDirectory: /home/jessicae
loginShell: /bin/bash
cn: Jessica Espinoza
sn: Espinoza
givenName: Jessica
uid: jessicae
uidNumber: 278
gidNumber: 100
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: shadowAccount
objectClass: phpgwAccount
phpgwAccountStatus: A
structuralObjectClass: inetOrgPerson
entryUUID: 5056337c-6007-1029-9114-95d35d5170f0
creatorsName: cn=Manager,dc=emgbank,dc=com
createTimestamp: 20050523185044Z
entryCSN: 20050523185044Z#00004e#00#000000
modifiersName: cn=Manager,dc=emgbank,dc=com
modifyTimestamp: 20050523185044Z

# no data for entry id=000000e8

*** buffer overflow detected ***: slapcat terminated
======= Backtrace: =========
/lib/libc.so.6(__chk_fail+0x41)[0x64fc45]
slapcat(bdb_tool_entry_next+0x96)[0x1d95d3]
slapcat(slapcat+0x228)[0x1cbdd2]
slapcat(main+0x257)[0x16e559]
/lib/libc.so.6(__libc_start_main+0xdf)[0x586d5f]
slapcat[0x16e1e1]
======= Memory map: ========
00111000-00118000 r-xp 00000000 fd:00 3188756    /usr/lib/libwrap.so.0.7.6
00118000-00119000 rwxp 00007000 fd:00 3188756    /usr/lib/libwrap.so.0.7.6
00119000-00130000 r-xp 00000000 fd:00 1996465    /usr/lib/libgssapi_krb5.so.2.2
00130000-00131000 rwxp 00017000 fd:00 1996465    /usr/lib/libgssapi_krb5.so.2.2
00131000-00143000 r-xp 00000000 fd:00 1995694    /usr/lib/libz.so.1.2.2.2
00143000-00144000 rwxp 00011000 fd:00 1995694    /usr/lib/libz.so.1.2.2.2
00144000-00146000 r-xp 00000000 fd:00 3200168    /usr/lib/libkrb5support.so.0.0
00146000-00147000 rwxp 00001000 fd:00 3200168    /usr/lib/libkrb5support.so.0.0
00147000-0014e000 r-xp 00000000 fd:00 3257600   
/usr/lib/sasl2/libntlm.so.2.0.20
0014e000-0014f000 rwxp 00006000 fd:00 3257600   
/usr/lib/sasl2/libntlm.so.2.0.20
00157000-002a9000 r-xp 00000000 fd:00 3193304    /usr/sbin/slapd
002a9000-002b0000 rwxp 00152000 fd:00 3193304    /usr/sbin/slapd
002b0000-002cd000 rwxp 002b0000 00:00 0
002cd000-002df000 r-xp 00000000 fd:00 66796      /lib/libnsl-2.3.5.so
002df000-002e0000 r-xp 00011000 fd:00 66796      /lib/libnsl-2.3.5.so
002e0000-002e1000 rwxp 00012000 fd:00 66796      /lib/libnsl-2.3.5.so
002e1000-002e3000 rwxp 002e1000 00:00 0
002e6000-002e9000 r-xp 00000000 fd:00 3254995   
/usr/lib/sasl2/libanonymous.so.2.0.20
002e9000-002ea000 rwxp 00003000 fd:00 3254995   
/usr/lib/sasl2/libanonymous.so.2.0.20
002ea000-0030d000 r-xp 00000000 fd:00 66262      /lib/libm-2.3.5.so
0030d000-0030e000 r-xp 00022000 fd:00 66262      /lib/libm-2.3.5.so
0030e000-0030f000 rwxp 00023000 fd:00 66262      /lib/libm-2.3.5.so
003Aborted