Thursday, April 20, 2023

[389-users] Re: Crash with SEGV after compacting

Hi, thanks for your reply!

I now noticed that this error is not just happening in our setup but also on a fresh installation on Debian.

The steps I did were:

1. Setup a new Debian 11
2. `apt install -y apache2 openjdk-17-jdk-headless 389-ds-base 389-ds-base-dev vim systemd-coredump gdb`
3. Install 389-dirsrv with `dscreate from-file setup.inf` with the following `setup.inf`:

full_machine_name = vseth-test-bullseye-01
strict_host_checking = True

instance_name = auth-testenv
port = 389

root_password = <PASSWORD>

secure_port = 636
self_sign_cert = False

suffix = dc=testoverlay,dc=vseth,dc=ethz,dc=ch
4. `sysctl -w fs.suid_dumpable=1`
5. `systemctl status dirsrv@auth-testenv.service`
6. Edit `/etc/systemd/coredump.conf` and add `LimitCORE=infinity`
7. `systemctl daemon-reload`
8. `systemctl restart`
9. Trigger compacting `dsconf -D "cn=Directory Manager" ldap:// -w <PASSWORD> backend config set --compactdb-interval 300` -> Results in SEGV
10. List coredumps `coredumpctl list` and export `coredumpctl -o coredump-dirsrv dump <#pid>`
11. Generate stacktrace `gdb -ex 'set confirm off' -ex 'set pagination off' -ex 'thread apply all bt full' -ex 'quit' /usr/sbin/ns-slapd coredump-dirsrv > stacktrace.`date +%s`.txt 2>&1`
389-users mailing list --
To unsubscribe send an email to
Fedora Code of Conduct:
List Guidelines:
List Archives:
Do not reply to spam, report it:

No comments:

Post a Comment