Bug 1246165
| Summary: | verify_db.pl doesn't verify DB specified by -a option. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Noriko Hosoi <nhosoi> |
| Component: | 389-ds-base | Assignee: | Noriko Hosoi <nhosoi> |
| Status: | CLOSED ERRATA | QA Contact: | Viktor Ashirov <vashirov> |
| Severity: | low | Docs Contact: | Petr Bokoc <pbokoc> |
| Priority: | low | ||
| Version: | 6.0 | CC: | jgalipea, mreynolds, nkinder, pbokoc, rmeggins, spichugi |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 389-ds-base-1.2.11.15-67.el6 | Doc Type: | Bug Fix |
| Doc Text: |
Cause: A command line utility verify-db.pl takes "-a Database Directory" to specify the path to the database. But even if it is given, the option was ignored and the path defined in the configuration was used.
Fix: Now the bug was fixed and the given path to the database is used by verify-db.pl.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-05-10 19:20:06 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: | |||
|
Description
Noriko Hosoi
2015-07-23 15:07:16 UTC
Tested build: 389-ds-base-1.2.11.15-69.el6.x86_64
[root@test-machine test]# /usr/lib64/dirsrv/slapd-test-machine/db2bak.pl -v -D "cn=directory manager" -w Secret123
Back up directory: /var/lib/dirsrv/slapd-test-machine/bak/test-machine-2015_12_3_10_57_48
ldap_initialize( ldap://test-machine.redhat.com:389 )
add objectclass:
top
extensibleObject
add cn:
backup_2015_12_3_10_57_48
add nsArchiveDir:
/var/lib/dirsrv/slapd-test-machine/bak/test-machine-2015_12_3_10_57_48
add nsDatabaseType:
ldbm database
adding new entry "cn=backup_2015_12_3_10_57_48, cn=backup, cn=tasks, cn=config"
modify complete
[root@test-machine test]# /usr/lib64/dirsrv/slapd-test-machine/verify-db.pl -a /var/lib/dirsrv/slapd-test-machine/bak/test-machine-2015_12_3_10_57_48
*****************************************************************
verify-db: This tool should only be run if recovery start fails
and the server is down. If you run this tool while the server is
running, you may get false reports of corrupted files or other
false errors.
*****************************************************************
Verify log files in /var/lib/dirsrv/slapd-test-machine/bak/test-machine-2015_12_3_10_57_48 ... Good
Verify db files ... Good
Marking 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. https://rhn.redhat.com/errata/RHBA-2016-0737.html |