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

RE: SLAPD stop working.



Thanks for all help,
now I'll try with an unstripped slapd.

But for now i've a new crash and have the last block of log file of slapd.
(debug level 1023)
I hope this can be useful to understand what happens.


    attrs:
conn=1014 op=48 SRCH
base="scalarIdentifier=12208,x2xTenant=All,ou=Satellites,ou=All,ou=x2x,dc=re
itek,dc=com" scope=0 filter="(objectClass=x2xScalar)"
=> bdb_back_search
bdb_dn2entry_rw("scalarIdentifier=12208,x2xTenant=All,ou=satellites,ou=all,o
u=x2x,dc=reitek,dc=com")
=> bdb_dn2id_matched(
"scalarIdentifier=12208,x2xTenant=All,ou=satellites,ou=all,ou=x2x,dc=reitek,
dc=com" )
<= bdb_dn2id_matched: id=0x000008dd: entry
scalarIdentifier=12208,x2xTenant=All,ou=satellites,ou=all,ou=x2x,dc=reitek,d
c=com
entry_decode:
"scalarIdentifier=12208,x2xTenant=All,ou=Satellites,ou=All,ou=x2x,dc=reitek,
dc=com"
daemon: select: listen=6 active_threads=3 tvp=NULL
<=
entry_decode(scalarIdentifier=12208,x2xTenant=All,ou=Satellites,ou=All,ou=x2
x,dc=reitek,dc=com)
ldap_write: want=419, written=419
  0000:  30 82 01 9f 02 02 05 df  64 82 01 97 04 41 63 6e   0.......d....Acn
  0010:  3d 61 67 32 5f 37 30 33  35 40 43 54 49 53 65 72   =ag2_7035@CTISer
  0020:  76 65 72 2c 6f 75 3d 52  65 73 6f 75 72 63 65 73   ver,ou=Resources
  0030:  2c 6f 75 3d 41 6c 6c 2c  6f 75 3d 78 32 78 2c 64   ,ou=All,ou=x2x,d
  0040:  63 3d 72 65 69 74 65 6b  2c 64 63 3d 63 6f 6d 30   c=reitek,dc=com0
base_candidates: base:
"scalarIdentifier=12208,x2xTenant=All,ou=Satellites,ou=All,ou=x2x,dc=reitek,
dc=com" (0x000008dd)
====> bdb_cache_return_entry_r( 2269 ): created (0)
====> bdb_cache_find_entry_id( 2269 )
"scalarIdentifier=12208,x2xTenant=All,ou=Satellites,ou=All,ou=x2x,dc=reitek,
dc=com" (found) (1 tries)
=> test_filter
    EQUALITY
=> access_allowed: search access to
"scalarIdentifier=12208,x2xTenant=All,ou=Satellites,ou=All,ou=x2x,dc=reitek,
dc=com" "objectClass" requested
=> dn: [1]
=> dnpat: [2] cn=default,dc=intesa,dc=it nsub: 0
daemon: activity on 1 descriptors
daemon: activity on: 19r
daemon: read activity on 19
=> acl_get: [3] check attr objectClass
=> acl_get: [4] check attr objectClass
=> dn: [5] ou=people,ou=all,ou=x2x,dc=intesa,dc=it
=> dn: [6] ou=people,ou=all,ou=x2x,dc=intesa,dc=it
connection_get(19)
connection_get(19): got connid=1008
  0010:  38 31 36 38 40 47 4b 2c  6f 75 3d 52 65 73 6f 75   8168@GK,ou=Resou
  0020:  72 63 65 73 2c 6f 75 3d  41 6c 6c 2c 6f 75 3d 78   rces,ou=All,ou=x
  0050:  82 01 50 30 1a 04 02 63  6e 31 14 04 12 61 67 32   ..P0...cn1...ag2
connection_read(19): checking for input on id=1008
ber_get_next
=> dn: [7] ou=people,ou=all,ou=x2x,dc=intesa,dc=it
=> dn: [8] ou=resources,ou=all,ou=x2x,dc=intesa,dc=it
=> dn: [9] ou=resources,ou=all,ou=x2x,dc=intesa,dc=it
=> dn: [10] ou=resources,ou=all,ou=x2x,dc=intesa,dc=it
=> dn: [11] ou=applications,ou=all,ou=x2x,dc=intesa,dc=it
=> dn: [12] ou=applications,ou=all,ou=x2x,dc=intesa,dc=it
=> dn: [13] ou=applications,ou=all,ou=x2x,dc=intesa,dc=it
  0060:  5f 37 30 33 35 40 43 54  49 53 65 72 76 65 72 30   _7035@CTIServer0
ldap_read: want=8, got=8
  0070:  12 04 09 78 32 78 54 65  6e 61 6e 74 31 05 04 03   ...x2xTenant1...
  0080:  41 6c 6c 30 15 04 0b 6f  77 6e 65 72 44 65 76 69   All0...ownerDevi
  0000:  30 84 00 00 00 7b 02 01                            0....{..
=> acl_get: [14] check attr objectClass
<= acl_get: [14] acl
scalarIdentifier=12208,x2xTenant=All,ou=Satellites,ou=All,ou=x2x,dc=reitek,d
c=com attr: objectClass
=> acl_mask: access to entry
"scalarIdentifier=12208,x2xTenant=All,ou=Satellites,ou=All,ou=x2x,dc=reitek,
dc=com", attr "objectClass" requested
=> acl_mask: to value by
"cn=0@fard,ou=applications,ou=all,ou=x2x,dc=reitek,dc=com", (=n)
<= check a_dn_pat: cn=Superuser,ou=People,ou=All,ou=x2x,dc=intesa,dc=it
  0090:  63 65 31 06 04 04 37 30  33 35 30 18 04 09 78 32   ce1...70350...x2
  00a0:  78 44 6f 6d 61 69 6e 31  0b 04 09 43 54 49 53 65   xDomain1...CTISe
=> string_expand: pattern:
cn=Superuser,ou=People,ou=All,ou=x2x,dc=intesa,dc=it
=> string_expand: expanded:
cn=Superuser,ou=People,ou=All,ou=x2x,dc=intesa,dc=it
  00b0:  72 76 65 72 30 17 04 09  78 32 78 44 65 76 69 63   rver0...x2xDevic
  00c0:  65 31 0a 04 08 61 67 32  5f 37 30 33 35 30 19 04   e1...ag2_70350..
  00d0:  0b 6f 62 6a 65 63 74 43  6c 61 73 73 31 0a 04 08   .objectClass1...
  00e0:  78 32 78 54 72 75 6e 6b  30 38 04 0e 75 73 65 72   x2xTrunk08..user
  00f0:  50 65 72 6d 69 73 73 69  6f 6e 31 26 04 24 38 38   Permission1&.$88
  0100:  35 31 33 32 63 65 2d 37  33 64 36 2d 34 31 37 30   5132ce-73d6-4170
  0110:  2d 38 33 64 31 2d 31 62  37 34 39 38 65 65 64 37   -83d1-1b7498eed7
  0120:  66 61 30 1a 04 0b 6f 77  6e 65 72 44 6f 6d 61 69   fa0...ownerDomai
  0130:  6e 31 0b 04 09 43 54 49  41 67 65 6e 74 32 30 1e   n1...CTIAgent20.
  0140:  04 10 67 72 6f 75 70 41  66 66 69 6c 69 61 74 69   ..groupAffiliati
  0150:  6f 6e 31 0a 04 08 50 65  6e 6e 65 74 74 65 30 43   on1...Pennette0C
  0160:  04 0f 72 65 61 64 41 63  63 65 73 73 4c 65 76 65   ..readAccessLeve
  0170:  6c 31 30 04 24 38 38 35  31 33 32 63 65 2d 37 33   l10.$885132ce-73
  0180:  64 36 2d 34 31 37 30 2d  38 33 64 31 2d 31 62 37   d6-4170-83d1-1b7
  0190:  34 39 38 65 65 64 37 66  61 04 08 50 65 6e 6e 65   498eed7fa..Penne
  01a0:  74 74 65                                           tte
conn=1010 op=1502 ENTRY
dn="cn=ag2_7035@CTIServer,ou=Resources,ou=All,ou=x2x,dc=reitek,dc=com"
<= send_search_entry
====> bdb_cache_return_entry_r( 1047 ): created (0)
=> regex_matches: string:
cn=0@fard,ou=applications,ou=all,ou=x2x,dc=reitek,dc=com
=> regex_matches: rc: 1 no matches
<= check a_dn_pat: *
<= acl_mask: [2] applying read(=rscx) (stop)
<= acl_mask: [2] mask: read(=rscx)
=> access_allowed: search access granted by read(=rscx)
is_object_subclass(1.3.6.1.4.1.16019.1.2.0.34,1.3.6.1.4.1.16019.1.2.0.34) 1
entry_decode:
"cn=ag2_7036@CTIServer,ou=Resources,ou=All,ou=x2x,dc=reitek,dc=com"
<= test_filter 6
=> send_search_entry:
dn="scalarIdentifier=12208,x2xTenant=All,ou=Satellites,ou=All,ou=x2x,dc=reit
ek,dc=com"
=> access_allowed: read access to
"scalarIdentifier=12208,x2xTenant=All,ou=Satellites,ou=All,ou=x2x,dc=reitek,
dc=com" "entry" requested
=> dn: [1]
=> dnpat: [2] cn=default,dc=intesa,dc=it nsub: 0
<=
entry_decode(cn=ag2_7036@CTIServer,ou=Resources,ou=All,ou=x2x,dc=reitek,dc=c
om)
=> acl_get: [3] check attr entry
=> acl_get: [4] check attr entry
=> dn: [5] ou=people,ou=all,ou=x2x,dc=intesa,dc=it
=> dn: [6] ou=people,ou=all,ou=x2x,dc=intesa,dc=it
=> dn: [7] ou=people,ou=all,ou=x2x,dc=intesa,dc=it
=> dn: [8] ou=resources,ou=all,ou=x2x,dc=intesa,dc=it
=> test_filter
ldap_read: want=121, got=121
=> dn: [9] ou=resources,ou=all,ou=x2x,dc=intesa,dc=it
  0000:  34 63 84 00 00 00 72 04  3b 63 6e 3d 30 40 43 54   4c....r.;cn=0@CT
    EQUALITY
=> access_allowed: search access to
"cn=ag2_7036@CTIServer,ou=Resources,ou=All,ou=x2x,dc=reitek,dc=com"
"objectClass" requested
<= root access granted
  0030:  32 78 2c 64 63 3d 72 65  69 74 65 6b 2c 64 63 3d   2x,dc=reitek,dc=
=> dn: [10] ou=resources,ou=all,ou=x2x,dc=intesa,dc=it
=> dn: [11] ou=applications,ou=all,ou=x2x,dc=intesa,dc=it
=> dn: [12] ou=applications,ou=all,ou=x2x,dc=intesa,dc=it
=> dn: [13] ou=applications,ou=all,ou=x2x,dc=intesa,dc=it
=> acl_get: [14] check attr entry
<= acl_get: [14] acl
scalarIdentifier=12208,x2xTenant=All,ou=Satellites,ou=All,ou=x2x,dc=reitek,d
c=com attr: entry
  0010:  49 48 75 62 32 2c 6f 75  3d 41 70 70 6c 69 63 61   IHub2,ou=Applica
  0020:  74 69 6f 6e 73 2c 6f 75  3d 41 6c 6c 2c 6f 75 3d   tions,ou=All,ou=
  0040:  63 6f 6d 30 82 01 45 30  0f 04 02 63 6e 31 09 04   com0..E0...cn1..
  0050:  07 38 31 36 38 40 47 4b  30 1a 04 0b 6f 62 6a 65   .8168@GK0...obje
  0060:  63 74 43 6c 61 73 73 31  0b 04 09 78 32 78 47 6b   ctClass1...x2xGk
  0030:  78 32 78 2c 64 63 3d 72  65 69 74 65 6b 2c 64 63   x2x,dc=reitek,dc
=> acl_mask: access to entry
"scalarIdentifier=12208,x2xTenant=All,ou=Satellites,ou=All,ou=x2x,dc=reitek,
dc=com", attr "entry" requested
=> acl_mask: to all values by
"cn=0@fard,ou=applications,ou=all,ou=x2x,dc=reitek,dc=com", (=n)
<= check a_dn_pat: cn=Superuser,ou=People,ou=All,ou=x2x,dc=intesa,dc=it
=> string_expand: pattern:
cn=Superuser,ou=People,ou=All,ou=x2x,dc=intesa,dc=it
=> string_expand: expanded:
cn=Superuser,ou=People,ou=All,ou=x2x,dc=intesa,dc=it
  0040:  3d 63 6f 6d 0a 01 00 0a  01 00 02 02 27 10 02 01   =com........'...
  0050:  1e 01 01 00 87 0b 4f 62  6a 65 63 74 43 6c 61 73   ......ObjectClas
  0060:  73 30 84 00 00 00 12 04  10 77 72 69 74 65 41 63   s0.......writeAc
  0070:  63 65 73 73 4c 65 76 65  6c                        cessLevel
ber_get_next: tag 0x30 len 123 contents:
ber_dump: buf=0x4404d958 ptr=0x4404d958 end=0x4404d9d3 len=123
  0000:  02 01 34 63 84 00 00 00  72 04 3b 63 6e 3d 30 40   ..4c....r.;cn=0@
  0010:  43 54 49 48 75 62 32 2c  6f 75 3d 41 70 70 6c 69   CTIHub2,ou=Appli
  0020:  63 61 74 69 6f 6e 73 2c  6f 75 3d 41 6c 6c 2c 6f   cations,ou=All,o
  0030:  75 3d 78 32 78 2c 64 63  3d 72 65 69 74 65 6b 2c   u=x2x,dc=reitek,
  0040:  64 63 3d 63 6f 6d 0a 01  00 0a 01 00 02 02 27 10   dc=com........'.
  0050:  02 01 1e 01 01 00 87 0b  4f 62 6a 65 63 74 43 6c   ........ObjectCl
  0060:  61 73 73 30 84 00 00 00  12 04 10 77 72 69 74 65   ass0.......write
  0070:  41 63 63 65 73 73 4c 65  76 65 6c                  AccessLevel
do_search
ber_scanf fmt ({miiiib) ber:
ber_dump: buf=0x4404d958 ptr=0x4404d95b end=0x4404d9d3 len=120
  0000:  63 84 00 00 00 72 04 3b  63 6e 3d 30 40 43 54 49   c....r.;cn=0@CTI
  0010:  48 75 62 32 2c 6f 75 3d  41 70 70 6c 69 63 61 74   Hub2,ou=Applicat
  0020:  69 6f 6e 73 2c 6f 75 3d  41 6c 6c 2c 6f 75 3d 78   ions,ou=All,ou=x
  0030:  32 78 2c 64 63 3d 72 65  69 74 65 6b 2c 64 63 3d   2x,dc=reitek,dc=
is_object_subclass(1.3.6.1.4.1.16019.1.2.0.14,1.3.6.1.4.1.16019.1.2.0.14) 1
ber_get_next
  0070:  4c 69 6e 65 30 13 04 09  78 32 78 44 65 76 69 63   Line0...x2xDevic
  0040:  63 6f 6d 0a 01 00 0a 01  00 02 02 27 10 02 01 1e   com........'....
  0050:  01 01 00 87 0b 4f 62 6a  65 63 74 43 6c 61 73 73   .....ObjectClass
  0060:  30 84 00 00 00 12 04 10  77 72 69 74 65 41 63 63   0.......writeAcc
  0070:  65 73 73 4c 65 76 65 6c                            essLevel
>>> dnPrettyNormal:
<cn=0@CTIHub2,ou=Applications,ou=All,ou=x2x,dc=reitek,dc=com>
<= test_filter 6
=> regex_matches: string:
cn=0@fard,ou=applications,ou=all,ou=x2x,dc=reitek,dc=com
=> regex_matches: rc: 1 no matches
=> ldap_bv2dn(cn=0@CTIHub2,ou=Applications,ou=All,ou=x2x,dc=reitek,dc=com,0)
<=
ldap_bv2dn(cn=0@CTIHub2,ou=Applications,ou=All,ou=x2x,dc=reitek,dc=com,0)=0
=> ldap_dn2bv(272)
<=
ldap_dn2bv(cn=0@CTIHub2,ou=Applications,ou=All,ou=x2x,dc=reitek,dc=com,272)=
0
=> send_search_entry:
dn="cn=ag2_7036@CTIServer,ou=Resources,ou=All,ou=x2x,dc=reitek,dc=com"
=> ldap_dn2bv(272)
ldap_read: want=8 error=Resource temporarily unavailable
<=
ldap_dn2bv(cn=0@ctihub2,ou=applications,ou=all,ou=x2x,dc=reitek,dc=com,272)=
0
ber_get_next on fd 19 failed errno=11 (Resource temporarily unavailable)
  0080:  65 31 06 04 04 38 31 36  38 30 11 04 09 78 32 78   e1...81680...x2x
<= check a_dn_pat: *
daemon: select: listen=6 active_threads=4 tvp=NULL
<<< dnPrettyNormal:
<cn=0@CTIHub2,ou=Applications,ou=All,ou=x2x,dc=reitek,dc=com>,
<cn=0@ctihub2,ou=applications,ou=all,ou=x2x,dc=reitek,dc=com>
SRCH "cn=0@CTIHub2,ou=Applications,ou=All,ou=x2x,dc=reitek,dc=com" 0 0
10000 30 0
begin get_filter
PRESENT
ber_scanf fmt (m) ber:
ber_dump: buf=0x4404d958 ptr=0x4404d9ae end=0x4404d9d3 len=37
  0000:  87 0b 4f 62 6a 65 63 74  43 6c 61 73 73 30 84 00   ..ObjectClass0..
  0010:  00 00 12 04 10 77 72 69  74 65 41 63 63 65 73 73   .....writeAccess
  0020:  4c 65 76 65 6c                                     Level
<= acl_mask: [2] applying read(=rscx) (stop)
<= acl_mask: [2] mask: read(=rscx)
=> access_allowed: read access to
"cn=ag2_7036@CTIServer,ou=Resources,ou=All,ou=x2x,dc=reitek,dc=com" "entry"
requested
end get_filter 0
    filter: (objectClass=*)
ber_scanf fmt ({M}}) ber:
=> access_allowed: read access granted by read(=rscx)
ber_dump: buf=0x4404d958 ptr=0x4404d9bb end=0x4404d9d3 len=24
  0000:  00 84 00 00 00 12 04 10  77 72 69 74 65 41 63 63   ........writeAcc
  0010:  65 73 73 4c 65 76 65 6c                            essLevel
    attrs: writeAccessLevel
conn=1008 op=51 SRCH
base="cn=0@CTIHub2,ou=Applications,ou=All,ou=x2x,dc=reitek,dc=com" scope=0
filter="(objectClass=*)"
=> access_allowed: read access to
"scalarIdentifier=12208,x2xTenant=All,ou=Satellites,ou=All,ou=x2x,dc=reitek,
dc=com" "objectClass" requested
=> dn: [1]
=> dnpat: [2] cn=default,dc=intesa,dc=it nsub: 0
conn=1008 op=51 SRCH attr=writeAccessLevel
Segmentation fault





Thanks.
Giuseppe.

> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Howard Chu
> Sent: Tuesday, December 09, 2003 6:45 PM
> To: 'Quanah Gibson-Mount'; 'Giuseppe Milano'; 'Mailinglist
> openldap-software'
> Subject: RE: SLAPD stop working.
>
>
> > -----Original Message-----
> > From: owner-openldap-software@OpenLDAP.org
> > [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Quanah
> Gibson-Mount
>
> > --On Tuesday, December 09, 2003 8:53 AM -0800 Quanah Gibson-Mount
> > <quanah@stanford.edu> wrote:
>
> > > With BDB-4.2.52, you need to use OpenLDAP 4.1.24 or later.
> >
> > Make that OpenLDAP 2.1.24 or later. :)
>
> The bug in BDB 4.2.50 that caused it to fail with OpenLDAP was
> fixed in BDB
> 4.2.52. This BDB release should work correctly with all OpenLDAP releases
> since 2.1.5. (Not that it would be a good idea to use OpenLDAP 2.1.5...)
>
> Since Giuseppe's stack trace shows a crash in a regex routine, I
> doubt that
> the BDB version has anything to do with it. However, as most of
> the symbols
> were missing from the stack trace, it's impossible to tell
> exactly what the
> crash is related to. A better stack trace (i.e., using an executable with
> debug symbols intact) would be a good start.
>
>   -- Howard Chu
>   Chief Architect, Symas Corp.       Director, Highland Sun
>   http://www.symas.com               http://highlandsun.com/hyc
>   Symas: Premier OpenSource Development and Support
>