Le 29/12/2015 09:34, Jephte Clain a écrit :
Le 28/12/2015 13:28, Dieter Klünter a écrit :
Am Mon, 28 Dec 2015 10:31:35 +0400
schrieb Jephte Clain <[email protected]>:
hello all,
I upgraded to OpenLDAP 2.4.43 three weeks ago. It runs on debian
squeeze 64bits lts
it is built from sources with the fix from ITS#8330
Since the upgrade, it keeps crashing regularly (I would say once
every 2 to 5 days)
However, there isn't anything in the logs: no message, no error, no
nothing
slapd no longer runs, I restart it, and it runs ok until the next
crash
now I don't know how to debug that.
(...)
What are your advice to track down the cause for the crash?
Check whether openldap has been built with --enable-debug=yes.
If so set ulimit -c unlimited, which hopefully will create a core dump
on a crash.
-Dieter
very interesting. Yes it is compiled with enable-debug
I have just enabled core dumps
according to the internet (tm) [grin], this is how I get a
stracktrace, right?
gdb --core /path/to/THECOREDUMP <<<"thread apply all bt full"
re-
it seems that this command is better:
gdb /usr/sbin/slapd -c /path/to/core <<<"thread apply all bt full"
to associate the core with the program that generated it
can someone experienced confirm this?
also, in your experience, in case of a crash, can the debugging packages
(i.e. slapd-dbg and libldap-dbg on debian) be installed a posteriori to
enable better traceback informations?
thanks again for any help. regards,
Jephté CLAIN
thanks! regards,
Jephté
--
*Jephté CLAIN | Développeur, Intégrateur d'applications*
Service Systèmes d'Information
Direction des Systèmes d'Information <http://dsi.univ-reunion.fr>
Tél: +262 262 93 86 31 <tel:+262262938631> || Gsm: +262 692 29 58 24
<tel:+262692295824>
www.univ-reunion.fr <http://www.univ-reunion.fr> || Facebook
<http://www.facebook.com/pages/Universit%C3%A9-de-La-R%C3%A9union-OFFICIEL/197176816990430>
|| Twitter <http://twitter.com/univ_reunion>