Re: Problem unexpected failing slapd

2011-03-03 Thread Ruud Baart
I have followed slapd for several days now. The last few days slapd stopped a couple of time. Last day it worked for more than 24 hours without a problem. attaching gdb to slapd: Attaching to process 3845 Reading symbols from /usr/sbin/slapd...Reading symbols from

Re: Problem unexpected failing slapd

2011-02-28 Thread Ruud Baart
Op 28-2-2011 3:00, Howard Chu schreef: Ruud Baart wrote: Problem: For a customer we use LDAP for many years. Last year suddenly the slapd service just stopped without any traces in the logfiles. After a restart of slapd everything works fine again. But the problem was there: it was not an

Re: Problem unexpected failing slapd

2011-02-28 Thread harry . jede
Ruud Baart wrote: Op 28-2-2011 3:00, Howard Chu schreef: Ruud Baart wrote: Problem: For a customer we use LDAP for many years. Last year suddenly the slapd service just stopped without any traces in the logfiles. After a restart of slapd everything works fine again. But the problem

Re: Problem unexpected failing slapd

2011-02-28 Thread harry . jede
Ruud Baart wrote: Op 28-2-2011 3:00, Howard Chu schreef: Ruud Baart wrote: Problem: For a customer we use LDAP for many years. Last year suddenly the slapd service just stopped without any traces in the logfiles. After a restart of slapd everything works fine again. But the problem

Re: Problem unexpected failing slapd

2011-02-28 Thread Howard Chu
Ruud Baart wrote: Sorry, I think I found a way to start slapd with gdb. The main mistake I made was using uid openldap. It should be run as root. # gdb -q -x /root/gdb.init --args /usr/sbin/slapd -h ldap:/// ldapi:/// -g openldap -u openldap -f /etc/ldap/slapd.conf -l local5 gdb.init:

Re: Problem unexpected failing slapd

2011-02-28 Thread Ruud Baart
Thank you, I have installed the package: gdb -q -x /root/gdb.init --args /usr/sbin/slapd -h ldap:/// ldapi:/// -g openldap -u openldap -f /etc/ldap/slapd.conf -l local5 Reading symbols from /usr/sbin/slapd...Reading symbols from /usr/lib/debug/usr/sbin/slapd...done. (no debugging symbols

Re: Problem unexpected failing slapd

2011-02-28 Thread Buchan Milne
- Ruud Baart r.j.ba...@prompt.nl wrote: Sorry, I think I found a way to start slapd with gdb. The main mistake I made was using uid openldap. It should be run as root. # gdb -q -x /root/gdb.init --args /usr/sbin/slapd -h ldap:/// ldapi:/// -g openldap -u openldap -f

Re: Problem unexpected failing slapd

2011-02-28 Thread Ruud Baart
Thank you all for the fast answers. I now attached gdb to slapd and get some results: (gdb) handle all nostop (gdb) continue Continuing. Program received signal SIGPIPE, Broken pipe. Program received signal SIGPIPE, Broken pipe. [New Thread 0xb01f6b70 (LWP 1548)] Program received signal

Re: Problem unexpected failing slapd

2011-02-28 Thread Howard Chu
Ruud Baart wrote: Thank you all for the fast answers. I now attached gdb to slapd and get some results: (gdb) handle all nostop (gdb) continue Continuing. Program received signal SIGPIPE, Broken pipe. Program received signal SIGPIPE, Broken pipe. [New Thread 0xb01f6b70 (LWP 1548)] Program

Problem unexpected failing slapd

2011-02-27 Thread Ruud Baart
Problem: For a customer we use LDAP for many years. Last year suddenly the slapd service just stopped without any traces in the logfiles. After a restart of slapd everything works fine again. But the problem was there: it was not an incident, now and then slapd just stops and always without

Re: Problem unexpected failing slapd

2011-02-27 Thread je...@gmx.co.uk
? Regards, Kuba - Original Message - From: Ruud Baart Sent: 27/02/11 12:57 PM To: openldap-technical@openldap.org Subject: Problem unexpected failing slapd Problem: For a customer we use LDAP for many years. Last year suddenly the slapd service just stopped without any traces