On Rocky 9 and 10, a very simple cluster setup (no BMC network, no H/A, no infiniband) fails at the "restart ds389" step.
This error occurs both in the manual method of setup and via the GUI.
RUNNING HANDLER [trinity/ds389 : restart ds389] ******************************************************************************************************************************************************************************************************
fatal: [xxxxx]: FAILED! => {"changed": false, "msg": "Unable to restart service dirsrv@local: Job for dirsrv@local.service failed because the control process exited with error code.\nSee "systemctl status dirsrv@local.service" and "journalctl -xeu dirsrv@local.service" for details.\n"}
Here is the first few lines of the output from journalctl (host name removed)
Aug 11 09:53:15 host_redacted ns-slapd[59273]: [11/Aug/2026:09:53:15.798312587 +0300] - ERR - bdb_version_write - Could not open file "/dev/shm/slapd-local/DBVERSION" for writing Netscape Portable Runtime -5950 (File not found.)
Aug 11 09:53:15 host_redacted ns-slapd[59273]: [11/Aug/2026:09:53:15.803120604 +0300] - ERR - mkdir_p - /var/lib/dirsrv/slapd-local: error -5943 (Cannot create or rename a filename that already exists.)
Aug 11 09:53:15 host_redacted ns-slapd[59273]: [11/Aug/2026:09:53:15.807882488 +0300] - CRIT - bdb_start - Can't start because the log directory "/var/lib/dirsrv/slapd-local/db" either doesn't exist, or is not accessible
Aug 11 09:53:15 host_redacted ns-slapd[59273]: [11/Aug/2026:09:53:15.812784362 +0300] - ERR - ldbm_back_start - Failed to init database, err=-1 Unexpected dbimpl error code
Aug 11 09:53:15 host_redacted ns-slapd[59273]: [11/Aug/2026:09:53:15.817580978 +0300] - ERR - plugin_dependency_startall - Failed to start database plugin ldbm database
Aug 11 09:53:15 host_redacted ns-slapd[59273]: [11/Aug/2026:09:53:15.822909917 +0300] - CRIT - dblayer_setup - dblayer_init failed
Aug 11 09:53:15 host_redacted ns-slapd[59273]: [11/Aug/2026:09:53:15.827673042 +0300] - ERR - ldbm_back_start - Failed to setup dblayer
Any ideas?
Thanks
On Rocky 9 and 10, a very simple cluster setup (no BMC network, no H/A, no infiniband) fails at the "restart ds389" step.
This error occurs both in the manual method of setup and via the GUI.
RUNNING HANDLER [trinity/ds389 : restart ds389] ******************************************************************************************************************************************************************************************************
fatal: [xxxxx]: FAILED! => {"changed": false, "msg": "Unable to restart service dirsrv@local: Job for dirsrv@local.service failed because the control process exited with error code.\nSee "systemctl status dirsrv@local.service" and "journalctl -xeu dirsrv@local.service" for details.\n"}
Here is the first few lines of the output from journalctl (host name removed)
Aug 11 09:53:15 host_redacted ns-slapd[59273]: [11/Aug/2026:09:53:15.798312587 +0300] - ERR - bdb_version_write - Could not open file "/dev/shm/slapd-local/DBVERSION" for writing Netscape Portable Runtime -5950 (File not found.)
Aug 11 09:53:15 host_redacted ns-slapd[59273]: [11/Aug/2026:09:53:15.803120604 +0300] - ERR - mkdir_p - /var/lib/dirsrv/slapd-local: error -5943 (Cannot create or rename a filename that already exists.)
Aug 11 09:53:15 host_redacted ns-slapd[59273]: [11/Aug/2026:09:53:15.807882488 +0300] - CRIT - bdb_start - Can't start because the log directory "/var/lib/dirsrv/slapd-local/db" either doesn't exist, or is not accessible
Aug 11 09:53:15 host_redacted ns-slapd[59273]: [11/Aug/2026:09:53:15.812784362 +0300] - ERR - ldbm_back_start - Failed to init database, err=-1 Unexpected dbimpl error code
Aug 11 09:53:15 host_redacted ns-slapd[59273]: [11/Aug/2026:09:53:15.817580978 +0300] - ERR - plugin_dependency_startall - Failed to start database plugin ldbm database
Aug 11 09:53:15 host_redacted ns-slapd[59273]: [11/Aug/2026:09:53:15.822909917 +0300] - CRIT - dblayer_setup - dblayer_init failed
Aug 11 09:53:15 host_redacted ns-slapd[59273]: [11/Aug/2026:09:53:15.827673042 +0300] - ERR - ldbm_back_start - Failed to setup dblayer
Any ideas?
Thanks