← Back to team overview

ubuntu-389-directory-server team mailing list archive

[Bug 1353059] [NEW] db2bak.pl error with changelogdb

 

Public bug reported:

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

** Affects: 389-ds-base (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
389 Directory Server, which is subscribed to 389-ds-base in Ubuntu.
https://bugs.launchpad.net/bugs/1353059

Title:
  db2bak.pl error with changelogdb

Status in “389-ds-base” package in Ubuntu:
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/389-ds-base/+bug/1353059/+subscriptions


Follow ups

References