Ok.
Here is the command line to do the research with the client ldapsearch :
/opt/openldap/bin/ldapsearch -xLLL -h ldapp02 -p 389 -D cn=3Dadmin,ou=3Dsys=
tem,dc=3Dent,dc=3Dfr -b ou=3Dsupp,ou=3Dpersonnes,ou=3DCRRA,dc=3Dent,dc=3Dfr=
-w jungle dn | wc -l
After 1 or 2 search the slapd server goes.
Thx.
-----Message d'origine-----
De=A0: Michael Str=F6der [mailto:michael@stroeder.com]=20
Envoy=E9=A0: vendredi 10 juillet 2015 12:35
=C0=A0: LARRIEU-MANAN, Richard; openldap-its(a)OpenLDAP.org
…
[View More]Objet=A0: Re: (ITS#8194) Service slapd falldown in a search with client lda=
psearch
Maybe I missed something but I can't which search requests are causing this=
.
Could you please also add some information about your ldapsearch commands?
Ciao, Michael.
[View Less]
Maybe I missed something but I can't which search requests are causing this.
Could you please also add some information about your ldapsearch commands?
Ciao, Michael.
Hello,
Below the core dump logs :
Core was generated by `/opt/openldap/libexec/slapd -h ldap://0.0.0.0:389 ld=
api://%2fvar%2frun%2fslapd%'.
Program terminated with signal 11, Segmentation fault.
#0 0x000000000049e251 in mdb_hasSubordinates (op=3D0x7f61a140d460, e=3D<va=
lue optimized out>, hasSubordinates=3D0x7f61a090e010) at operational.c:78
78 LDAP_SLIST_REMOVE( &op->o_extr=
a, &moi->moi_oe, OpExtra, oe_next );
(gdb) bt
#0 …
[View More]0x000000000049e251 in mdb_hasSubordinates (op=3D0x7f61a140d460, e=3D<va=
lue optimized out>, hasSubordinates=3D0x7f61a090e010) at operational.c:78
#1 0x00000000004a08ac in mdb_search (op=3D0x7f61a140ea30, rs=3D<value opti=
mized out>) at search.c:950
#2 0x0000000000000000 in ?? ()
Below slapd.conf file :
###########################################################################=
########
###########################################################################=
########
# Configuration commune
# Schema and objectClass definitions
include /appli/ldap/conf/schema/core.schema
include /appli/ldap/conf/schema/cosine.schema
include /appli/ldap/conf/schema/nis.schema
include /appli/ldap/conf/schema/inetorgperson.schema
# Schema de l annuaire defini dans le SDET des ENT
include /appli/ldap/conf/schema/sdet.schema
include /appli/ldap/conf/schema/ent.schema
# Where the pid file is put. The init.d script
# will not stop the server if you change this.
pidfile /appli/ldap/tmp/slapd.pid
# List of arguments that were passed to the server
argsfile /appli/ldap/tmp/slapd.args
# Read slapd.conf(5) for possible values
loglevel stats sync
logfile /appli/ldap/logs/sldap.log
# Where the dynamically loaded modules are stored
# No module is needed : there are statically loaded
ServerID 001
# The tool-threads parameter sets the actual amount of cpu's that is used f=
or indexing.
tool-threads 3
threads 16
concurrency 16
#conn_max_pending 1000
#conn_max_pending_auth 10000
backend mdb
###########################################################################=
########
# Configuration du back-end=20
###########################################################################=
########
# Database ENT=20
database mdb
# The base of your directory in database #1
suffix "dc=3Dent,dc=3Dfr"
directory /appli/ldap/data/slapd
rootdn "cn=3Dadmin,ou=3Dsystem,dc=3Dent,dc=3Dfr"
rootpw {MD5}XZkSIKB+Zet6uFQ0FpHKfQ=3D=3D
password-hash {MD5}
# Parametres MDB
maxreaders 126
mode 0600
# Should be more than enough...
searchstack 16
#32 Gb should be enough...
# Set to 32 Go
maxsize 161061273600
# default values
lastmod TRUE
maxderefdepth 15
readonly FALSE
sync_use_subentry FALSE
# At some point, to get some stats, it could be interested to turn this on
monitoring FALSE
# ecriture diff=E9r=E9e
dbnosync TRUE
# ecriture tous les 15 minutes
checkpoint 0 15
###########################################################################=
#####
# Configuration INDEX
###########################################################################=
#####
#Globaux
index objectClass eq
index active eq
index ou eq
index cn,uid eq
index sn pres,sub,eq
index entryCSN,entryUUID eq
#Personnes
index ENTPersonJointure sub,eq
index ENTPersonLogin eq
index mail eq
index snNormalise pres,sub,eq
index ENTPersonneDN eq,pres
index ENTPersonProfils eq
index ENTPersonAlias eq
index givenNameNormalise sub,eq
index ENTCodeActivationParent eq
index cnNormalise pres,sub,eq
index ENTAuxPersonInit eq
index ENTEleveStructRattachId eq
index ENTAuxPersonCompteAAF eq
index ENTAuxPersRelEleveEleve eq
index ENTPersonStructRattach eq
index ENTAuxOtherEtab eq
index ENTPersonCodePostal eq
index ENTCodeActivationEleve eq
index ENTAuxPersonDeleteDate pres,eq
index ENTEleveClasses eq
index ENTEleveMEF eq
index ENTGroupeAnnuaireFiliere eq
index userPassword eq
#index ENTPersonNomPatro eq
index givenName pres,sub,eq
index ENTEleveRelationValidee eq=20
#Structures
index ENTStructureJointure eq
index ENTPorteurCode eq
index ENTEtablissementStructRattachFctl eq
index ENTStructureNomCourant pres,sub,eq
index ENTStructureUAI eq=20
#Groupes
index description pres,sub,eq
index descriptionNormalise pres,sub,eq
index ENTGroupeAnnuaireTitreNormalise pres,sub,eq
index member pres,eq
index owner eq
index ENTGroupeAdminLocal eq
index ENTProfilDN pres,eq
index ENTReferentielCode eq
index ENTGroupeAnnuaireFonction pres,eq
index ENTGroupeAnnuaireClasseId eq
index ENTGroupeAnnuaireType eq
index ENTGroupeAnnuaireMefId eq
index ENTGroupeAnnuaireFiliereId eq
index ENTDisciplineDN eq
index ENTGroupeAdminPere eq
index ENTFonctionDN eq
index ENTClasseDN eq
index ENTGroupeAnnuaireClasse pres,eq
index ENTAdminLocalEtab eq
#Synchro portail
index ENTSuiviSynchroEffectuee eq=20
# New AMEU 20130827
index ENTGroupeAdminLienGroupeAnnuairePartenariat eq
index ENTPersonFonctions eq
index ENTGroupeAnnuaireGroupeEnseignement eq
index ENTPersonNomPatro pres,sub,eq
index ENTStructureAcademie eq
index ENTStructureCommune eq
index ENTGroupeAdminLienGroupeAnnuaire eq
# New RLAR 20130904
index ENTGroupeAnnuaireFonctionId eq
# New 20130914 =E0 20h00
index ENTAuxPersonEtabAcces eq
# New 20130917 =E0 17h38 confcall Serges Barbosa / Proc=E8dure export de je=
u de donn=E9es
index modifyTimestamp eq
# TMA-8585 04/11/2013
index ENTGroupeAnnuaireMef eq
index ENTCodeActivationCode eq
index ENTEleveParents eq
#2.1.1RC4
index ENTAdminLocalCreateur eq
# Save the time that the entry gets modified, for database #1
lastmod on
# The admin dn has full write access, everyone else
# can read everything.
access to *
by * read
###########################################################################=
####
# Configuration SYNCHRO
###########################################################################=
#####
# MULTI MASTER EN SE SYNCHRONISANT AVEC LE LDAP02 TP #
syncrepl rid=3D201
provider=3Dldap://ldapp02:389
type=3DrefreshAndPersist
retry=3D"5 5 300 +"
searchbase=3D"dc=3Dent,dc=3Dfr"
attrs=3D"*,+"
bindmethod=3Dsimple
binddn=3D"cn=3Dadmin,ou=3Dsystem,dc=3Dent,dc=3Dfr"
credentials=3Djungle
logbase=3D"cn=3Ddelta-sync"
logfilter=3D"(&(objectClass=3DauditWriteObject)(reqResult=3D0))"
syncdata=3Daccesslog
mirrormode on
# Overlay configuration should be added after the database configuration
# D=E9finition de l'overlay li=E9 =E0 la r=E9plication maitre
overlay syncprov
syncprov-checkpoint 100 10
# D=E9finition de l'overlay li=E9 =E0 la r=E9plication maitre en delta-sync
overlay accesslog
logdb "cn=3Ddelta-sync"
logops writes
logsuccess TRUE
logpurge 3+00:00 1+00:00
###########################################################################=
#####
# Configuration de l'accesslog
###########################################################################=
#####
# Database delta-sync :
database mdb
suffix "cn=3Ddelta-sync"
directory /appli/ldap/data/cn=3Ddelta-sync
rootdn "cn=3Dadmin,ou=3Dsystem,dc=3Dent,dc=3Dfr"
#Some options to optimize acceslog :
index default,reqDN eq
index entryCSN,objectClass,reqEnd,reqResult,reqStart eq
#Parametres MDB
maxreaders 126
mode 0600
searchstack 16
# set to 10 Go
maxsize 21474836480
lastmod TRUE
maxderefdepth 15
readonly FALSE
dbnosync TRUE
checkpoint 0 15
overlay syncprov
syncprov-nopresent TRUE
syncprov-reloadhint TRUE
-----Message d'origine-----
De=A0: Howard Chu [mailto:hyc@symas.com]=20
Envoy=E9=A0: jeudi 9 juillet 2015 17:13
=C0=A0: LARRIEU-MANAN, Richard; openldap-its(a)OpenLDAP.org
Objet=A0: Re: (ITS#8194) Service slapd falldown in a search with client lda=
psearch
richard.larrieu-manan(a)cgi.com wrote:
> Full_Name: CGI - Richard Larrieu-Manan
> Version: 2.4.41
> OS: Red Hat 4.4.7-4
> URL: ftp://ftp.openldap.org/incoming/CGI_20150709.core.33604.tgz
> Submission from: (NULL) (195.6.127.108)
>
>
> Hello,
>
> When searching in the directory ldap 2.4.41 with ldapsearch client, 1=20
> out of 4 ldap service falldown. So I have provided you a core dump
> (ftp://ftp.openldap.org/incoming/CGI_20150709.core.33604.tgz) during=20
> the bug. In
> 2.4.38 version of the problem does not arise.
Thanks for the report but we cannot use your core file. Please send your sl=
apd configuration and the stack trace from the core.
http://www.openldap.org/faq/data/cache/59.html
--=20
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
[View Less]
1
0
(ITS#8173)
by Adrian.Raemy@vtg.admin.ch
10 Jul '15
10 Jul '15
--_000_BE8E19527611BA409D68FF6EA186AF9002A27F6FBEREXMBX19ifc1i_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Here the full backtrace
#0 0x00007f756ab792c6 in ldap_back_bind ()
(gdb) bt full
#0 0x00007f756ab792c6 in ldap_back_bind ()
No symbol table info available.
#1 0x00007f756aa69fcb in fe_op_bind ()
No symbol table info available.
#2 0x00007f756aad86fd in overlay_op_walk ()
No symbol table info available.
#3 0x00007f756aad8956 in …
[View More]over_op_func ()
No symbol table info available.
#4 0x00007f756aad89de in over_op_bind ()
No symbol table info available.
#5 0x00007f756aa69697 in do_bind ()
No symbol table info available.
#6 0x00007f756aa3ff19 in connection_operation ()
No symbol table info available.
#7 0x00007f756aa404e1 in connection_read_thread ()
No symbol table info available.
#8 0x00007f756a575c3c in ldap_int_thread_pool_wrapper () from /usr/lib64/l=
ibldap_r-2.4.so.2
No symbol table info available.
#9 0x00007f756998e806 in start_thread (arg=3D<optimized out>) at pthread_c=
reate.c:301
__res =3D <optimized out>
pd =3D 0x7f75527fc700
unwind_buf =3D {cancel_jmp_buf =3D {{jmp_buf =3D {140141872006912, =
3828700323369096852, 140142144269328, 140141872005120, 0, 8388608, -3762508=
621752658284, -3762593002521979244},
mask_was_saved =3D 0}}, priv =3D {pad =3D {0x0, 0x0, 0x0, 0x0=
}, data =3D {prev =3D 0x0, cleanup =3D 0x0, canceltype =3D 0}}}
not_first_call =3D <optimized out>
robust =3D <optimized out>
freesize =3D <optimized out>
__PRETTY_FUNCTION__ =3D "start_thread"
#10 0x00007f75681d902d in gnu_dev_makedev (major=3D1803453360, minor=3D<opt=
imized out>) at ../sysdeps/unix/sysv/linux/makedev.c:37
No locals.
#11 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb)
--_000_BE8E19527611BA409D68FF6EA186AF9002A27F6FBEREXMBX19ifc1i_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"DE-CH" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Here the full backtrace<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">#0 0x00007f756ab792c6 in ldap_back_bind ()<o:p=
></o:p></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">(gdb) bt full<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">#0 0x00007f756ab792c6 in =
ldap_back_bind ()<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">No symbol table info available.=
<o:p></o:p></span></p>
<p class=3D"MsoNormal">#1 0x00007f756aa69fcb in fe_op_bind ()<o:p></o=
:p></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">No symbol table info available.=
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">#2 0x00007f756aad86fd in =
overlay_op_walk ()<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">No symbol table info available.=
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">#3 0x00007f756aad8956 in =
over_op_func ()<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">No symbol table info available.=
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">#4 0x00007f756aad89de in =
over_op_bind ()<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">No symbol table info available.=
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">#5 0x00007f756aa69697 in =
do_bind ()<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">No symbol table info available.=
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">#6 0x00007f756aa3ff19 in =
connection_operation ()<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">No symbol table info available.=
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">#7 0x00007f756aa404e1 in =
connection_read_thread ()<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">No symbol table info available.=
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">#8 0x00007f756a575c3c in =
ldap_int_thread_pool_wrapper () from /usr/lib64/libldap_r-2.4.so.2<o:p></o:=
p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">No symbol table info available.=
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">#9 0x00007f756998e806 in =
start_thread (arg=3D<optimized out>) at pthread_create.c:301<o:p></o:=
p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"> =
__res =3D <optimized out><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"> &=
nbsp; pd =3D 0x7f75527fc700<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"> &=
nbsp; unwind_buf =3D {cancel_jmp_buf =3D {{jmp_buf =3D {1401418720069=
12, 3828700323369096852, 140142144269328, 140141872005120, 0, 8388608, -376=
2508621752658284, -3762593002521979244},<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"> &=
nbsp; mask_was_saved =3D 0}}, pri=
v =3D {pad =3D {0x0, 0x0, 0x0, 0x0}, data =3D {prev =3D 0x0, cleanup =3D 0x=
0, canceltype =3D 0}}}<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"> &=
nbsp; not_first_call =3D <optimized out><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"> &=
nbsp; robust =3D <optimized out><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"> &=
nbsp; freesize =3D <optimized out><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"> &=
nbsp; __PRETTY_FUNCTION__ =3D "start_thread"<o:p></o:p></sp=
an></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">#10 0x00007f75681d902d in gnu_d=
ev_makedev (major=3D1803453360, minor=3D<optimized out>) at ../sysdep=
s/unix/sysv/linux/makedev.c:37<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">No locals.<o:p></o:p></span></p=
>
<p class=3D"MsoNormal"><span lang=3D"EN-US">#11 0x0000000000000000 in ?? ()=
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">No symbol table info available.=
<o:p></o:p></span></p>
<p class=3D"MsoNormal">(gdb)<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>
--_000_BE8E19527611BA409D68FF6EA186AF9002A27F6FBEREXMBX19ifc1i_--
[View Less]
Since the last follow-up, this seems to have been resolved. Today the
http and git URLs are returning the same repository content as far as I
can tell.
--On Thursday, July 09, 2015 9:51 AM +0000 JB0035697(a)techmahindra.com wrote:
> Full_Name: Bourguignon J-L
> Version: 2.4.35
> OS: Sun OS 5.10
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (195.89.32.88)
>
>
> Hi all,
>
> I've searched on the web for this kind of error but I've not find any
> relevant answer.
>
> Is someone can explain what does means this following error :
>
> slapd(58): setsockopt(SO_KEEPALIVE) failed errno=22 …
[View More](Invalid argument)
>
> It seems that when it appears, the process is still running but slapd
> process doesn't answer to queries anymore.
>
> The only way to solve it, it's to restart the process.
It would appear you have keepalive settings in your configuration, which
are only valid for Linux, as noted in the man page. I will make a SWAG
that they were added because you have a firewall breaking connections
between clients and the server. As per the ldap_get_option(3) man page:
Mainly intended for use with Linux, they may not be portable.
--Quanah
--
Quanah Gibson-Mount
Platform Architect
Zimbra, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
[View Less]
Full_Name: CGI - Richard Larrieu-Manan
Version: 2.4.41
OS: Red Hat 4.4.7-4
URL: ftp://ftp.openldap.org/incoming/CGI_20150709.core.33604.tgz
Submission from: (NULL) (195.6.127.108)
Hello,
When searching in the directory ldap 2.4.41 with ldapsearch client, 1 out of 4
ldap service falldown. So I have provided you a core dump
(ftp://ftp.openldap.org/incoming/CGI_20150709.core.33604.tgz) during the bug. In
2.4.38 version of the problem does not arise.
Thank you to consider this anomaly.
1
0
(ITS#8173)
by Adrian.Raemy@vtg.admin.ch
09 Jul '15
09 Jul '15
--_000_BE8E19527611BA409D68FF6EA186AF9002A27CB3BEREXMBX19ifc1i_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Dear Howard,
I could now install the missing debug pakages and below you find the output=
of gdb.
I did check 6 Dumps where the slapd crashed and always I had the same outpu=
t.
Now you can see where it crashes.
Let me know if you need more...hope you can localize the problem and give a=
s a fix.
Regards
Adrian
Reading symbols from /usr/…
[View More]lib/openldap/slapd...Reading symbols from /usr/li=
b/debug/usr/lib/slapd.debug...done.
done.
[New LWP 11777]
[New LWP 11778]
[New LWP 11823]
[New LWP 11821]
[New LWP 11970]
[New LWP 11826]
[New LWP 11824]
[New LWP 11775]
[New LWP 11971]
[New LWP 11776]
[New LWP 11785]
[New LWP 11820]
[New LWP 11825]
[New LWP 11822]
[New LWP 11827]
[New LWP 11828]
[New LWP 11972]
[New LWP 11788]
warning: Could not load shared library symbols for stics.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/lib/openldap/slapd -h ldap://0.0.0.0:389 ldap=
s://0.0.0.0:636 -f /etc/op'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007fcbb60572c6 in ldap_back_bind ()
(gdb) where
#0 0x00007fcbb60572c6 in ldap_back_bind ()
#1 0x00007fcbb5f47fcb in fe_op_bind ()
#2 0x00007fcbb5fb66fd in overlay_op_walk ()
#3 0x00007fcbb5fb6956 in over_op_func ()
#4 0x00007fcbb5fb69de in over_op_bind ()
#5 0x00007fcbb5f47697 in do_bind ()
#6 0x00007fcbb5f1df19 in connection_operation ()
#7 0x00007fcbb5f1e4e1 in connection_read_thread ()
#8 0x00007fcbb5a53c3c in ldap_int_thread_pool_wrapper () from /usr/lib64/l=
ibldap_r-2.4.so.2
#9 0x00007fcbb4e6c806 in start_thread (arg=3D<optimized out>) at pthread_c=
reate.c:301
#10 0x00007fcbb36b702d in gnu_dev_makedev (major=3D3066092544, minor=3D<opt=
imized out>) at ../sysdeps/unix/sysv/linux/makedev.c:37
#11 0x0000000000000000 in ?? ()
(gdb)
--_000_BE8E19527611BA409D68FF6EA186AF9002A27CB3BEREXMBX19ifc1i_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"DE-CH" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span lang=3D"EN-US">Dear Howard,<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">I could now install the missing=
debug pakages and below you find the output of gdb.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">I did check 6 Dumps where the s=
lapd crashed and always I had the same output.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Now you can see where it crashe=
s.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Let me know if you need more=
230;hope you can localize the problem and give as a fix.<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Regards<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Adrian<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Reading symbols from /usr/lib/o=
penldap/slapd...Reading symbols from /usr/lib/debug/usr/lib/slapd.debug...d=
one.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">done.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">[New LWP 11777]<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">[New LWP 11778]<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">[New LWP 11823]<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">[New LWP 11821]<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">[New LWP 11970]<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">[New LWP 11826]<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">[New LWP 11824]<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">[New LWP 11775]<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">[New LWP 11971]<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">[New LWP 11776]<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">[New LWP 11785]<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">[New LWP 11820]<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">[New LWP 11825]<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">[New LWP 11822]<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal">[New LWP 11827]<o:p></o:p></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">[New LWP 11828]<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">[New LWP 11972]<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">[New LWP 11788]<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">warning: Could not load shared =
library symbols for stics.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Do you need "set solib-sea=
rch-path" or "set sysroot"?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">[Thread debugging using libthre=
ad_db enabled]<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Using host libthread_db library=
"/lib64/libthread_db.so.1".<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Core was generated by `/usr/lib=
/openldap/slapd -h ldap://0.0.0.0:389 ldaps://0.0.0.0:636 =
-f /etc/op'.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Program terminated with signal =
11, Segmentation fault.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">#0 0x00007fcbb60572c6 in =
ldap_back_bind ()<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">(gdb) where<o:p></o:p></span></=
p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">#0 0x00007fcbb60572c6 in =
ldap_back_bind ()<o:p></o:p></span></p>
<p class=3D"MsoNormal">#1 0x00007fcbb5f47fcb in fe_op_bind ()<o:p></o=
:p></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">#2 0x00007fcbb5fb66fd in =
overlay_op_walk ()<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">#3 0x00007fcbb5fb6956 in =
over_op_func ()<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">#4 0x00007fcbb5fb69de in =
over_op_bind ()<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">#5 0x00007fcbb5f47697 in =
do_bind ()<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">#6 0x00007fcbb5f1df19 in =
connection_operation ()<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">#7 0x00007fcbb5f1e4e1 in =
connection_read_thread ()<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">#8 0x00007fcbb5a53c3c in =
ldap_int_thread_pool_wrapper () from /usr/lib64/libldap_r-2.4.so.2<o:p></o:=
p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">#9 0x00007fcbb4e6c806 in =
start_thread (arg=3D<optimized out>) at pthread_create.c:301<o:p></o:=
p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">#10 0x00007fcbb36b702d in gnu_d=
ev_makedev (major=3D3066092544, minor=3D<optimized out>) at ../sysdep=
s/unix/sysv/linux/makedev.c:37<o:p></o:p></span></p>
<p class=3D"MsoNormal">#11 0x0000000000000000 in ?? ()<o:p></o:p></p>
<p class=3D"MsoNormal">(gdb)<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>
--_000_BE8E19527611BA409D68FF6EA186AF9002A27CB3BEREXMBX19ifc1i_--
[View Less]
Full_Name: Bourguignon J-L
Version: 2.4.35
OS: Sun OS 5.10
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (195.89.32.88)
Hi all,
I've searched on the web for this kind of error but I've not find any relevant
answer.
Is someone can explain what does means this following error :
slapd(58): setsockopt(SO_KEEPALIVE) failed errno=22 (Invalid argument)
It seems that when it appears, the process is still running but slapd process
doesn't answer to queries anymore.
The only way to …
[View More]solve it, it's to restart the process.
Thx in advance for help.
Brgds,
Jean-Luc.
[View Less]