Hi,
I've got a new openldlap-ltb 2.5 system (running on rocky 8), and when I try to start it with "slapt-cli start", it dumps core:
[root@kt-ldap-01 slapd.d]$ journalctl -xe Mar 28 16:13:06 kt-ldap-01 systemd-coredump[54716]: Resource limits disable core dumping for process 54714 (slapd). Mar 28 16:13:06 kt-ldap-01 systemd-coredump[54716]: Process 54714 (slapd) of user 0 dumped core. -- Subject: Process 54714 (slapd) dumped core -- Defined-By: systemd -- Support: https://access.redhat.com/support -- Documentation: man:core(5)
--On Monday, March 28, 2022 9:18 PM +0000 Aaron Bennett abennett@clarku.edu wrote:
Hi,
I've got a new openldlap-ltb 2.5 system (running on rocky 8), and when I try to start it with "slapt-cli start", it dumps core:
Mar 28 16:13:06 kt-ldap-01 slapd-cli[54688]: /usr/local/openldap/sbin/slapd-cli: line 350: 54714 Segmentation fault
The "slapd-cli" utility is not from the OpenLDAP source tree but something written and maintained by the LTB project. I would suggest filing a bug with them on this issue. Alternatively, you may want use the Symas packages for OpenLDAP and see if you have better luck.
Regards, Quanah
-----Original Message----- From: Quanah Gibson-Mount quanah@fast-mail.org Sent: Monday, March 28, 2022 5:37 PM To: Aaron Bennett abennett@clarku.edu; openldap-technical@openldap.org Subject: [EXT] Re: openldap-ltb segmentation fault
The "slapd-cli" utility is not from the OpenLDAP source tree but something written and maintained by the LTB project. I would suggest filing a bug with them on this issue. >Alternatively, you may want use the Symas packages for OpenLDAP and see if you have better luck.
Thank you, Quannah. I know it's a separate project -- but I think a number of the contributors are on this list which was why I floated it here. WRT the Symas packages, do they include syncrepl support? I had read that the gratis packages had a number of components stripped out.
--On Monday, March 28, 2022 11:59 PM +0000 Aaron Bennett abennett@clarku.edu wrote:
-----Original Message----- From: Quanah Gibson-Mount quanah@fast-mail.org Sent: Monday, March 28, 2022 5:37 PM To: Aaron Bennett abennett@clarku.edu; openldap-technical@openldap.org Subject: [EXT] Re: openldap-ltb segmentation fault
The "slapd-cli" utility is not from the OpenLDAP source tree but something written and maintained by the LTB project. I would suggest filing a bug with them on this issue. >Alternatively, you may want use the Symas packages for OpenLDAP and see if you have better luck.
Thank you, Quannah. I know it's a separate project -- but I think a number of the contributors are on this list which was why I floated it here.
They have their own project up on github with its own bug tracker. That's the correct place to report issues with things they provide.
WRT the Symas packages, do they include syncrepl support? I had read that the gratis packages had a number of components stripped out.
You're thinking of the old Symas 2.4 silver packages. The 2.5+ packages have nearly all of the default backends, modules, contrib modules, and the new load balancer.
Regards, Quanah
Hello Aaron,
I suggested by Quanah, if you think there is a bug, you can open an issue here:
https://github.com/ltb-project/openldap-rpm/issues
Anyway, my guess is that somehow there is a difference between the command line launched manually and the one launched by slapd-cli.
Can you reproduce the error with a fresh OpenLDAP LTB installation?
Regards,
David
Le 28/03/2022 à 22:18, Aaron Bennett a écrit :
Hi,
I've got a new openldlap-ltb 2.5 system (running on rocky 8), and when I try to start it with "slapt-cli start", it dumps core:
[root@kt-ldap-01 slapd.d]$ journalctl -xe Mar 28 16:13:06 kt-ldap-01 systemd-coredump[54716]: Resource limits disable core dumping for process 54714 (slapd). Mar 28 16:13:06 kt-ldap-01 systemd-coredump[54716]: Process 54714 (slapd) of user 0 dumped core. -- Subject: Process 54714 (slapd) dumped core -- Defined-By: systemd -- Support:https://access.redhat.com/support -- Documentation: man:core(5) -- -- Process 54714 (slapd) crashed and dumped core. -- -- This usually indicates a programming error in the crashing program and -- should be reported to its vendor as a bug. Mar 28 16:13:06 kt-ldap-01 slapd-cli[54688]: /usr/local/openldap/sbin/slapd-cli: line 350: 54714 Segmentation fault (core dumped) $SLA> Mar 28 16:13:06 kt-ldap-01 systemd[1]: systemd-coredump@13-54715-0.service: Succeeded. -- Subject: Unit succeeded -- Defined-By: systemd -- Support: https://access.redhat.com/support From debugging the shell script it looks like it's running slapd with these arguments: SLAPD_PARAMS='-h ldaps://kt-ldap-01-665.test.clarku.edu -F /usr/local/openldap/etc/openldap/slapd.d -u ldap -g ldap -l local4' So if I run: /usr/local/openldap/libexec/slapd -h ldaps://kt-ldap-01-665.test.clarku.edu -F /usr/local/openldap/etc/openldap/slapd.d -u ldap -g ldap -l local4 It works -- no segfault, no nothing. I can pretty easily write a systemd script that runs that command instead of wasting time with the slapd-cli stuff if that's a better approach. -Aaron --- Aaron Bennett Manager of Systems Administration Clark University ITS
openldap-technical@openldap.org