db2bak.pl error with changelogdb

Bug #1353059 reported by Mikko Uusitalo
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
389-ds-base (Ubuntu)
New
Undecided
Unassigned

Bug Description

Backup of 389 Directory Server ends in error when using db2bak.pl.

Steps to reproduce (from our server):

1. Set up 389 Directory Servers with replication
2. Make changes so that the chanlogdb is created
3. Backup the database
# perl /usr/lib/x86_64-linux-gnu/dirsrv/slapd-kldap03/db2bak.pl -D "cn=Directory Manager" -w pw
4. Watch the error log
# tail -f /var/log/dirsrv/slapd-kldap03/errors
...
 [05/Aug/2014:13:31:37 +0300] - Backing up file 55 (/var/lib/dirsrv/slapd-kldap03/bak/kldap03-2014_8_5_13_31_37/NetscapeRoot/uniquemember.db)
 [05/Aug/2014:13:31:37 +0300] - Backend instance "changelogdb" does not exist; Instance path /var/lib/dirsrv/slapd-kldap03/changelogdb could be invalid.
 [05/Aug/2014:13:31:37 +0300] - Backup: error in copying directory (/var/lib/dirsrv/slapd-kldap03/changelogdb -> /var/lib/dirsrv/slapd-kldap03/bak/kldap03-2014_8_5_13_31_37/.repl_changelog_backup): err=-1
 [05/Aug/2014:13:31:37 +0300] - Backup finished.

The backup should succeed. This has been fixed upstream: https://fedorahosted.org/389/ticket/47804 -- could the fix be applied to Ubuntu's 389-ds-base package?

# lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04

# apt-cache policy 389-ds-base
389-ds-base:
  Installed: 1.3.2.16-0ubuntu1
  Candidate: 1.3.2.16-0ubuntu1
  Version table:
 *** 1.3.2.16-0ubuntu1 0
        500 http://fi.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
        100 /var/lib/dpkg/status

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.