--On Tuesday, August 8, 2023 7:05 PM -0400 Brendan Kearney bpk678@gmail.com wrote:
list members,
i am implementing slapd 2.6.4, having had 2.4.x running for quite some time. i had 2 primary nodes with n-way multi primary replication working like a charm, and want to have 2.6.4 with 3 primary nodes. i keep running into some odd issues when i bring up all three nodes and they begin replicating between each of the nodes. i have failure messages showing the instances core-dumping and want to find why the core dumps occur.
Aug 08 16:21:20 server1 systemd[1]: slapd.service: Main process exited, code=dumped, status=11/SEGV Aug 08 16:21:20 server1 systemd[1]: slapd.service: Failed with result 'core-dump'.
i have enable "stats" log level, and don't get much more info. i can run one instance and seem to be working without core dumping, but if i turn up one or both of the other slapd instances, all 3 of the instances begin failing. should i bump the log level up or is there diagnostics i can run, to find the reason things are failing? any insight is greatly appreciated. if i need to provide more info, let me know what is needed.
First, upgrade to OpenLDAP 2.6.6. Then if you still get core dumps, install the debug symbol package (I'm assuming you're using a well built openldap such as what Symas or LTB project distributes), install gdb, and get a backtrace from the core file.
--Quanah