Bug#860947: marked as done (slapd: Slapd fails to stop sometimes)

2018-06-14 Thread Debian Bug Tracking System
Your message dated Thu, 14 Jun 2018 19:17:38 +
with message-id 
and subject line Bug#860947: fixed in openldap 2.4.40+dfsg-1+deb8u4
has caused the Debian Bug report #860947,
regarding slapd: Slapd fails to stop sometimes
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
860947: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860947
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: slapd
Version: 2.4.40+dfsg-1+deb8u2
Severity: normal
X-Debbugs-CC: hi...@iig.elte.hu

Slapd on Jessie sometimes unable to shutdown gracefully. Ldapsearch
fails to connect, but process doesn't exit.

ps faux | grep slapd

root  1869  0.0  0.0   4336  1604 ?S22:43   0:00  \_
/bin/sh /usr/sbin/invoke-rc.d slapd restart
root  1887  0.0  0.0  24464  2472 ?S22:43   0:00  \_
systemctl restart slapd.service
openldap 18909  108 16.6 6365556 1021012 ? Ssl  ápr17 6854:26
/usr/sbin/slapd -h ldaps:/// ldap:/// ldapi:/// -g openldap -u openldap
-F /etc/ldap/slapd.d
root  1888  0.0  0.0   4336  1652 ?Ss   22:43   0:00 /bin/sh
/etc/init.d/slapd stop
root  1894  0.0  0.0   4236  1452 ?S22:43   0:00  \_
start-stop-daemon --stop --quiet --oknodo --retry TERM/10 --pidfile
/var/run/slapd/slapd.pid --exec /usr/sbin/slapd

According to lsof, there is no listening socket, and from netstat
output, there is 3 established connection remaining to the other SLAPD
servers (normally there are more, as we have 3 servers, 4 DITs, two of
them are multimaster, 2 are master-slave. The problematic server is the
master)

I created a core file from the stuck process.
GDB backtrace attached as separate files.


Galambos Daniel/Dancsa


-- System Information:
Debian Release: 8.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages slapd depends on:
ii  adduser 3.113+nmu3
ii  coreutils   8.23-4
ii  debconf [debconf-2.0]   1.5.56
ii  libc6   2.19-18+deb8u7
ii  libdb5.35.3.28-9
ii  libgnutls-deb0-28   3.3.8-6+deb8u4
ii  libldap-2.4-2   2.4.40+dfsg-1+deb8u2
ii  libltdl72.4.2-1.11+b1
ii  libodbc12.3.1-3
ii  libperl5.20 5.20.2-3+deb8u6
ii  libsasl2-2  2.1.26.dfsg1-13+deb8u1
ii  libslp1 1.2.1-10+deb8u1
ii  libwrap07.6.q-25
ii  lsb-base4.1+Debian13+nmu1
ii  multiarch-support   2.19-18+deb8u7
ii  perl [libmime-base64-perl]  5.20.2-3+deb8u6
ii  psmisc  22.21-2

Versions of packages slapd recommends:
ii  libsasl2-modules  2.1.26.dfsg1-13+deb8u1

Versions of packages slapd suggests:
ii  ldap-utils   2.4.40+dfsg-1+deb8u2
ii  libsasl2-modules-gssapi-heimdal  2.1.26.dfsg1-13+deb8u1

ldap1:~/csattanas# gdb -c core.18909 /usr/sbin/slapd -ex 'thread apply all bt'
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/slapd...Reading symbols from 
/usr/lib/debug/.build-id/fd/742a65238b6728bf6fc730573ef5ed321930d0.debug...done.
done.
[New LWP 18910]
[New LWP 18913]
[New LWP 18909]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/sbin/slapd'.
#0  pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
185 ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: No such 
file or directory.

Thread 3 (Thread 0x7f3272f13700 (LWP 18909)):
#0  0x7f3270b6c49b in pthread_join (threadid=139849321264896, 
thread_return=0

Bug#860947: marked as done (slapd: Slapd fails to stop sometimes)

2017-08-12 Thread Debian Bug Tracking System
Your message dated Sat, 12 Aug 2017 16:17:11 +
with message-id 
and subject line Bug#860947: fixed in openldap 2.4.44+dfsg-5+deb9u1
has caused the Debian Bug report #860947,
regarding slapd: Slapd fails to stop sometimes
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
860947: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860947
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: slapd
Version: 2.4.40+dfsg-1+deb8u2
Severity: normal
X-Debbugs-CC: hi...@iig.elte.hu

Slapd on Jessie sometimes unable to shutdown gracefully. Ldapsearch
fails to connect, but process doesn't exit.

ps faux | grep slapd

root  1869  0.0  0.0   4336  1604 ?S22:43   0:00  \_
/bin/sh /usr/sbin/invoke-rc.d slapd restart
root  1887  0.0  0.0  24464  2472 ?S22:43   0:00  \_
systemctl restart slapd.service
openldap 18909  108 16.6 6365556 1021012 ? Ssl  ápr17 6854:26
/usr/sbin/slapd -h ldaps:/// ldap:/// ldapi:/// -g openldap -u openldap
-F /etc/ldap/slapd.d
root  1888  0.0  0.0   4336  1652 ?Ss   22:43   0:00 /bin/sh
/etc/init.d/slapd stop
root  1894  0.0  0.0   4236  1452 ?S22:43   0:00  \_
start-stop-daemon --stop --quiet --oknodo --retry TERM/10 --pidfile
/var/run/slapd/slapd.pid --exec /usr/sbin/slapd

According to lsof, there is no listening socket, and from netstat
output, there is 3 established connection remaining to the other SLAPD
servers (normally there are more, as we have 3 servers, 4 DITs, two of
them are multimaster, 2 are master-slave. The problematic server is the
master)

I created a core file from the stuck process.
GDB backtrace attached as separate files.


Galambos Daniel/Dancsa


-- System Information:
Debian Release: 8.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages slapd depends on:
ii  adduser 3.113+nmu3
ii  coreutils   8.23-4
ii  debconf [debconf-2.0]   1.5.56
ii  libc6   2.19-18+deb8u7
ii  libdb5.35.3.28-9
ii  libgnutls-deb0-28   3.3.8-6+deb8u4
ii  libldap-2.4-2   2.4.40+dfsg-1+deb8u2
ii  libltdl72.4.2-1.11+b1
ii  libodbc12.3.1-3
ii  libperl5.20 5.20.2-3+deb8u6
ii  libsasl2-2  2.1.26.dfsg1-13+deb8u1
ii  libslp1 1.2.1-10+deb8u1
ii  libwrap07.6.q-25
ii  lsb-base4.1+Debian13+nmu1
ii  multiarch-support   2.19-18+deb8u7
ii  perl [libmime-base64-perl]  5.20.2-3+deb8u6
ii  psmisc  22.21-2

Versions of packages slapd recommends:
ii  libsasl2-modules  2.1.26.dfsg1-13+deb8u1

Versions of packages slapd suggests:
ii  ldap-utils   2.4.40+dfsg-1+deb8u2
ii  libsasl2-modules-gssapi-heimdal  2.1.26.dfsg1-13+deb8u1

ldap1:~/csattanas# gdb -c core.18909 /usr/sbin/slapd -ex 'thread apply all bt'
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/slapd...Reading symbols from 
/usr/lib/debug/.build-id/fd/742a65238b6728bf6fc730573ef5ed321930d0.debug...done.
done.
[New LWP 18910]
[New LWP 18913]
[New LWP 18909]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/sbin/slapd'.
#0  pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
185 ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: No such 
file or directory.

Thread 3 (Thread 0x7f3272f13700 (LWP 18909)):
#0  0x7f3270b6c49b in pthread_join (threadid=139849321264896, 
thread_return=0

Bug#860947: marked as done (slapd: Slapd fails to stop sometimes)

2017-07-27 Thread Debian Bug Tracking System
Your message dated Fri, 28 Jul 2017 03:34:25 +
with message-id 
and subject line Bug#860947: fixed in openldap 2.4.45+dfsg-1
has caused the Debian Bug report #860947,
regarding slapd: Slapd fails to stop sometimes
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
860947: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860947
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: slapd
Version: 2.4.40+dfsg-1+deb8u2
Severity: normal
X-Debbugs-CC: hi...@iig.elte.hu

Slapd on Jessie sometimes unable to shutdown gracefully. Ldapsearch
fails to connect, but process doesn't exit.

ps faux | grep slapd

root  1869  0.0  0.0   4336  1604 ?S22:43   0:00  \_
/bin/sh /usr/sbin/invoke-rc.d slapd restart
root  1887  0.0  0.0  24464  2472 ?S22:43   0:00  \_
systemctl restart slapd.service
openldap 18909  108 16.6 6365556 1021012 ? Ssl  ápr17 6854:26
/usr/sbin/slapd -h ldaps:/// ldap:/// ldapi:/// -g openldap -u openldap
-F /etc/ldap/slapd.d
root  1888  0.0  0.0   4336  1652 ?Ss   22:43   0:00 /bin/sh
/etc/init.d/slapd stop
root  1894  0.0  0.0   4236  1452 ?S22:43   0:00  \_
start-stop-daemon --stop --quiet --oknodo --retry TERM/10 --pidfile
/var/run/slapd/slapd.pid --exec /usr/sbin/slapd

According to lsof, there is no listening socket, and from netstat
output, there is 3 established connection remaining to the other SLAPD
servers (normally there are more, as we have 3 servers, 4 DITs, two of
them are multimaster, 2 are master-slave. The problematic server is the
master)

I created a core file from the stuck process.
GDB backtrace attached as separate files.


Galambos Daniel/Dancsa


-- System Information:
Debian Release: 8.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages slapd depends on:
ii  adduser 3.113+nmu3
ii  coreutils   8.23-4
ii  debconf [debconf-2.0]   1.5.56
ii  libc6   2.19-18+deb8u7
ii  libdb5.35.3.28-9
ii  libgnutls-deb0-28   3.3.8-6+deb8u4
ii  libldap-2.4-2   2.4.40+dfsg-1+deb8u2
ii  libltdl72.4.2-1.11+b1
ii  libodbc12.3.1-3
ii  libperl5.20 5.20.2-3+deb8u6
ii  libsasl2-2  2.1.26.dfsg1-13+deb8u1
ii  libslp1 1.2.1-10+deb8u1
ii  libwrap07.6.q-25
ii  lsb-base4.1+Debian13+nmu1
ii  multiarch-support   2.19-18+deb8u7
ii  perl [libmime-base64-perl]  5.20.2-3+deb8u6
ii  psmisc  22.21-2

Versions of packages slapd recommends:
ii  libsasl2-modules  2.1.26.dfsg1-13+deb8u1

Versions of packages slapd suggests:
ii  ldap-utils   2.4.40+dfsg-1+deb8u2
ii  libsasl2-modules-gssapi-heimdal  2.1.26.dfsg1-13+deb8u1

ldap1:~/csattanas# gdb -c core.18909 /usr/sbin/slapd -ex 'thread apply all bt'
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/slapd...Reading symbols from 
/usr/lib/debug/.build-id/fd/742a65238b6728bf6fc730573ef5ed321930d0.debug...done.
done.
[New LWP 18910]
[New LWP 18913]
[New LWP 18909]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/sbin/slapd'.
#0  pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
185 ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: No such 
file or directory.

Thread 3 (Thread 0x7f3272f13700 (LWP 18909)):
#0  0x7f3270b6c49b in pthread_join (threadid=139849321264896, 
thread_return=0x0) at