Red Hat Bugzilla – Bug 1476322
backup fails if changelog is enabled
Last modified: 2018-04-10 10:20:44 EDT
Description of problem: If replication is enabled and a changelog is configured backup fails [28/Jul/2017:12:09:00.566037827 +0200] - ERR - dblayer_copy_directory - Backend instance "changelogdb" does not exist; Instance path /var/lib/dirsrv/slapd-s1/changelogdb could be invalid. [28/Jul/2017:12:09:00.572168833 +0200] - ERR - dblayer_backup - Error in copying directory (/var/lib/dirsrv/slapd-s1/changelogdb -> /var/lib/dirsrv/slapd-s1/bak/s1-2017_07_28_12_08_59/.repl_changelog_backup): err=-1 and the backup is incomplete
upstream ticket: #49334
I'm getting similar, but with a different db name: [26/Aug/2017:03:00:21.233754356 -0600] - ERR - dblayer_copy_directory - Backend instance "cldb" does not exist; Instance path /var/lib/dirsrv/slapd-NWRA-COM/cldb could be invalid. [26/Aug/2017:03:00:21.307454032 -0600] - ERR - dblayer_backup - Error in copying directory (/var/lib/dirsrv/slapd-NWRA-COM/cldb -> /var/lib/dirsrv/slapd-NWRA-COM/bak/NWRA-COM/.repl_changelog_backup): err=-1
============================================================================ test session starts ============================================================================ platform linux -- Python 3.5.1, pytest-3.2.3, py-1.4.34, pluggy-0.4.0 -- /opt/rh/rh-python35/root/usr/bin/python3 cachedir: .cache metadata: {'Python': '3.5.1', 'Packages': {'pytest': '3.2.3', 'pluggy': '0.4.0', 'py': '1.4.34'}, 'Platform': 'Linux-4.11.0-44.el7a.x86_64-x86_64-with-redhat-7.4-Maipo', 'Plugins': {'metadata': '1.5.0', 'html': '1.16.0'}} 389-ds-base: 1.3.6.1-21.el7_4 nss: 3.28.4-15.el7_4 nspr: 4.13.1-1.0.el7_3 openldap: 2.4.44-5.el7 svrcore: 4.1.3-2.el7 rootdir: /mnt/tests/rhds/tests/upstream, inifile: plugins: metadata-1.5.0, html-1.16.0 collected 3 items ds/dirsrvtests/tests/suites/replication/changelog_test.py::test_verify_changelog PASSED ds/dirsrvtests/tests/suites/replication/changelog_test.py::test_verify_changelog_online_backup PASSED ds/dirsrvtests/tests/suites/replication/changelog_test.py::test_verify_changelog_offline_backup PASSED ========================================================================= 3 passed in 28.60 seconds =========================================================================
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0811