Thursday, January 29, 2026

[389-users] Re: DS export data with -r option error

Hi,


db2ldif can only be run while the server is stopped.


There should be a db2ldif.pl script that can be run while the server is running.


HTH,

Mark


On 1/29/26 11:48 AM, Ghiurea, Isabella via 389-users wrote:

Hi List  ,

I am running a old version 389-DS 1.2.3 working on migration to latest version, the DS is cfg in multimaster replication  I need to take an export without replication metadata . 

And running the following db2ldif getting error , do I need to take the DS offline  in order to take a clean export or ?

 /usr/lib64/dirsrv/slapd-pldap/db2ldif -n userRoot -r -a/srv/ldap-ds/ldap_backup/userRoot_dump
Exported ldif file: /var/lib/dirsrv/slapd-pldap/ldif/pldap-userRoot-2026_
- ERR - add_new_slapd_process - Unable to run db2ldif with the -r flag because the database is being used by  - ERR - slapd_exemode_db2ldif - Shutting down due to possible conflicts with other slapd processes

Thank you!!

--   Identity Management Development Team

No comments:

Post a Comment