[Date Prev][Date Next]
Re: slapd keeps crashing
we have narrowed the problem to this: every time we add a value to a multivalued attribute for a particular dn, slapd dies. And the attribute value does not get added.
Below is the output from a wrapper we use for ldapmodify.
Could this be db corruption? The particular attribute is not indexed.
[root@aaaprod-master log]# do_ldapmod -cred=file:AUA -port=636 -v /var/tmp/dba.ldif
ldap_initialize( ldaps://localhost:636/??base )
modifying entry "uid=ncs-dba-alerts,ou=Aliases,dc=georgetown,dc=edu"
ldap_result: Can't contact LDAP server (-1)
On Fri, May 25, 2012 at 12:25 PM, Dan White <email@example.com>
I think that would depend on how the section of code which generates the
On 05/25/12 11:20 -0400, David Massie wrote:
Here are the versions:
Will setting the logging to DEBUG provide anything?
abort is coded. If it produces debug output just prior to calling abort,
then you should see that.
I don't know the answer to that.
Also, I have a question about debugging a corefile. Our production version
fo slapd does not have debug symbols compiled in. If, on a non-production
machine, we were to compile another instance, when the same libraries,
etc., but, with debugging turned on could we run gdb against the corefile
we dropped in production against this executable?
Which versions of slapd, libssl, berkeleydb, and libsasl are you running?
SIGABRT implies that the process ended due to an unexpected condition
occurring within either a library or slapd itself. Were any core dumps
generated? If not, enable core dumps and get a backtrace from within gdb.
It should point you to the section of code which is triggering the abort.