Bug 1098653
| Summary: | db2bak.pl error with changelogdb | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Noriko Hosoi <nhosoi> | |
| Component: | 389-ds-base | Assignee: | Noriko Hosoi <nhosoi> | |
| Status: | CLOSED ERRATA | QA Contact: | Sankar Ramalingam <sramling> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 6.4 | CC: | amsharma, jgalipea, nhosoi, nkinder, orion, rmeggins | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | 389-ds-base-1.2.11.15-34.el6 | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: When a replication is configured, a replication change log db is also a target of the backup (db2bak and db2bak.pl). Backing up a change log db failed since there was no backend instance associated with a replication change log db.
Consequence: Backing up on a server failed if the server hasd a replication change log db.
Fix: If a backing up db is a change log db, it skips checking the backend instance is associated with the db or not.
Result: Backing up works on a server which has a replication change log db.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1098654 (view as bug list) | Environment: | ||
| Last Closed: | 2014-10-14 07:55:07 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1098654 | |||
|
Description
Noriko Hosoi
2014-05-16 20:16:06 UTC
Verify steps: https://bugzilla.redhat.com/show_bug.cgi?id=1098654#c1 VERIFICATION STEPS: Set up MMR Run some update operations to make sure changelog db is generated. Run db2bak.pk Check the error log. If error messages like these are not logged in the error log, the fix is verified: [..] - Backend instance "changelogdb" does not exist; Instance path /var/lib/dirsrv/slapd-ID/changelogdb could be invalid. [..] - Backup: error in copying directory (/var/lib/dirsrv/slapd-ID/changelogdb -> /var/lib/dirsrv/slapd-cora/bak/ID-2014_05_13_03_59_08/.repl_changelog_backup): err=-1 Hi Noriko, [root@dhcp201-155 slapd-M1]# rpm -qa | grep 389-ds-base 389-ds-base-1.2.11.15-38.el6.x86_64 389-ds-base-debuginfo-1.2.11.15-36.el6.x86_64 389-ds-base-libs-1.2.11.15-38.el6.x86_64 Got below messages related to changelogdb after following comment#3:: ====================================================================== [17/Jul/2014:03:48:57 -0400] - Backing up file 28 (/var/lib/dirsrv/slapd-M1/bak/M1-2014_7_17_3_48_57/repman/aci.db4) [17/Jul/2014:03:48:57 -0400] - Backing up file 29 (/var/lib/dirsrv/slapd-M1/bak/M1-2014_7_17_3_48_57/.repl_changelog_backup/changelog/DBVERSION) [17/Jul/2014:03:48:57 -0400] - Backing up file 30 (/var/lib/dirsrv/slapd-M1/bak/M1-2014_7_17_3_48_57/.repl_changelog_backup/changelog/0bef4885-0d8511e4-803bc49d-1e0064ac_53c77d00000000010000.db4) [17/Jul/2014:03:48:57 -0400] - Backing up file 31 (/var/lib/dirsrv/slapd-M1/bak/M1-2014_7_17_3_48_57/log.0000000001) [17/Jul/2014:03:48:57 -0400] - Backing up file 32 (/var/lib/dirsrv/slapd-M1/bak/M1-2014_7_17_3_48_57/DBVERSION) [17/Jul/2014:03:48:57 -0400] - Backup finished. Is it expected? Yes, your output is what we expect.
> [17/Jul/2014:03:48:57 -0400] - Backing up file 30 (/var/lib/dirsrv/slapd-M1/bak/M1-2014_7_17_3_48_57/.repl_changelog_backup/changelog/0bef4885-0d8511e4-803bc49d-1e0064ac_53c77d00000000010000.db4)
Thanks, Ami!
Thanks Noriko, Marking the bug as VERIFIED. 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. http://rhn.redhat.com/errata/RHBA-2014-1385.html |