Problems migrating from libdb-4.4 to libdb-4.7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

I'm trying to build Fedora-DS for ALT Linux project with new libdb-4.7.
Old instances use libdb-4.4. I have some problems with data migration.
FDS with db4.7 does not want to read old (db4.4) data with errors. I
tried to delete logs and do db_upgrade - without success. New instances
work fine. Fedora DS versions (old and new) are both 1.1.3.

Errors:

[05/Nov/2008:13:56:37 +0300] - Fedora-Directory/1.1.3 B2008.310.1047
starting up
[05/Nov/2008:13:56:37 +0300] - Clean up db environment and start from
archive.
[05/Nov/2008:13:56:37 +0300] - libdb: Program version 4.7 doesn't match
environment version 4.4
[05/Nov/2008:13:56:37 +0300] - libdb: Program version 4.7 doesn't match
environment version 4.4
[05/Nov/2008:13:56:37 +0300] - Deleting log file:
(/var/lib/fedora-ds/slapd-ldap1/db/log.0000000001)
[05/Nov/2008:13:56:37 +0300] - Deleting log file:
(/var/lib/fedora-ds/slapd-ldap1/db/log.0000000147)
[05/Nov/2008:13:56:38 +0300] - attrcrypt_unwrap_key: failed to unwrap
key for cipher AES
[05/Nov/2008:13:56:38 +0300] - Failed to retrieve key for cipher AES in
attrcrypt_cipher_init
[05/Nov/2008:13:56:38 +0300] - Failed to initialize cipher AES in
attrcrypt_init
[05/Nov/2008:13:56:38 +0300] - libdb: file userRoot/id2entry.db4 has LSN
134/2584752, past end of log at 1/140
[05/Nov/2008:13:56:38 +0300] - libdb: Commonly caused by moving a
database from one database environment
[05/Nov/2008:13:56:38 +0300] - libdb: to another without clearing the
database LSNs, or by removing all of
[05/Nov/2008:13:56:38 +0300] - libdb: the log files from a database
environment
[05/Nov/2008:13:56:38 +0300] - libdb:
/var/lib/fedora-ds/slapd-ldap1/db/userRoot/id2entry.db4: unexpected file
type or format
[05/Nov/2008:13:56:38 +0300] - dbp->open("userRoot/id2entry.db4")
failed: Invalid argument (22)
[05/Nov/2008:13:56:38 +0300] - dblayer_instance_start fail: Invalid
argument (22)
[05/Nov/2008:13:56:38 +0300] - attrcrypt_unwrap_key: failed to unwrap
key for cipher AES
[05/Nov/2008:13:56:38 +0300] - Failed to retrieve key for cipher AES in
attrcrypt_cipher_init
[05/Nov/2008:13:56:38 +0300] - Failed to initialize cipher AES in
attrcrypt_init
[05/Nov/2008:13:56:38 +0300] - libdb: file NetscapeRoot/id2entry.db4 has
LSN 1/3096357, past end of log at 1/140
[05/Nov/2008:13:56:38 +0300] - libdb: Commonly caused by moving a
database from one database environment
[05/Nov/2008:13:56:38 +0300] - libdb: to another without clearing the
database LSNs, or by removing all of
[05/Nov/2008:13:56:38 +0300] - libdb: the log files from a database
environment
[05/Nov/2008:13:56:38 +0300] - libdb:
/var/lib/fedora-ds/slapd-ldap1/db/NetscapeRoot/id2entry.db4: unexpected
file type or format
[05/Nov/2008:13:56:38 +0300] - dbp->open("NetscapeRoot/id2entry.db4")
failed: Invalid argument (22)
[05/Nov/2008:13:56:38 +0300] - dblayer_instance_start fail: Invalid
argument (22)
[05/Nov/2008:13:56:38 +0300] - start: Failed to start databases, err=22
Invalid argument
[05/Nov/2008:13:56:38 +0300] - Failed to allocate 10000000 byte dbcache.
 Please reduce nsslapd-cache-autosize and Restart the server.
[05/Nov/2008:13:56:38 +0300] - Failed to start database plugin ldbm database
[05/Nov/2008:13:56:38 +0300] - WARNING: ldbm instance userRoot already
exists
[05/Nov/2008:13:56:38 +0300] - WARNING: ldbm instance NetscapeRoot
already exists
[05/Nov/2008:13:56:38 +0300] binder-based resource limits -
nsLookThroughLimit: parameter error (slapi_reslimit_register() already
registered)
[05/Nov/2008:13:56:38 +0300] - start: Resource limit registration failed
[05/Nov/2008:13:56:38 +0300] - Failed to start database plugin ldbm database
[05/Nov/2008:13:56:38 +0300] - Error: Failed to resolve plugin dependencies
[05/Nov/2008:13:56:38 +0300] - Error: preoperation plugin 7-bit check is
not started
[05/Nov/2008:13:56:38 +0300] - Error: accesscontrol plugin ACL Plugin is
not started
[05/Nov/2008:13:56:38 +0300] - Error: preoperation plugin ACL
preoperation is not started

Any ideas?




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux