On Dec 2, 2007 6:03 PM, Rich Megginson <rmeggins at redhat.com> wrote: > Karl J South wrote: > > Hi, > > > > I'm trying to migrate from fc6/fds 1.0.4 to fc8/fds 1.1.0, the > > platform is the same, without any success. I have my old server nfs > > mounted on /opt/fedora-ds and when I run migrate-ds-admin.pl > > General.ConfigDirectoryAdminPwd=xxxxx i get the following error: > > > Did you shut down your old servers first? Yes, the old server is shut down. Besides that the only change on the old server is that the ip is changed. > > Beginning migration of Directory and Administration servers from > > /opt/fedora-ds . . . > > Beginning migration of directory server instances in /opt/fedora-ds . . . > > Your new DS instance 'slapd-ldap' was successfully created. > > Server failed to start !!! Please check errors log for problems > > Could not start the directory server using command > > '/usr/lib/dirsrv/slapd-ldap/start-slapd'. The last line from the > > error log was '[01/Dec/2007:18:06:24 +0100] - Error: database plugin > > ldbm database is not started > > '. Error: Unknown error 256 > > Exiting . . . > > Log file is '/tmp/migrateOs5cM2.log' > > > > The log file contains: > > [07/12/01:18:06:10] - [Migration] Info Beginning migration of > > Directory and Administration servers from /opt/fedora-ds . . . > > [07/12/01:18:06:10] - [Migration] Info Beginning migration of > > directory server instances in /opt/fedora-ds . . . > > [07/12/01:18:06:12] - [Migration] Info Your new DS instance > > 'slapd-ldap' was successfully created. > > [07/12/01:18:06:22] - [Migration] Info Copying > > /opt/fedora-ds/alias/slapd-ldap-cert8.db to > > /etc/dirsrv/slapd-ldap/cert8.db > > [07/12/01:18:06:22] - [Migration] Info Copying > > /opt/fedora-ds/alias/slapd-ldap-key3.db to > > /etc/dirsrv/slapd-ldap/key3.db > > [07/12/01:18:06:22] - [Migration] Info Copying > > /opt/fedora-ds/alias/secmod.db to /etc/dirsrv/slapd-ldap/secmod.db > > [07/12/01:18:06:22] - [Migration] Info No > > /opt/fedora-ds/alias/slapd-ldap-pin.txt to migrate > > [07/12/01:18:06:22] - [Migration] Info Copying > > /opt/fedora-ds/shared/config/certmap.conf to > > /etc/dirsrv/slapd-ldap/certmap.conf > > [07/12/01:18:16:22] - [Migration] Info Could not start the directory > > server using command '/usr/lib/dirsrv/slapd-ldap/start-slapd'. The > > last line from the error log was '[01/Dec/2007:18:06:24 +0100] - > > Error: database plugin ldbm database is not started > > '. Error: Unknown error 256 > > [07/12/01:18:16:23] - [Migration] Fatal Exiting . . . > > Log file is '/tmp/migrateOs5cM2.log' > > > > The log file /var/log/dirsrv/slapd-ldap/errors contains the following: > > Fedora-Directory/1.1.0b2 B2007.311.1544 > > ldap.homenet.js:389 (/etc/dirsrv/slapd-ldap) > > > > [01/Dec/2007:18:06:11 +0100] - dblayer_instance_start: pagesize: 4096, > > pages: 193714, procpages: 7159 > > [01/Dec/2007:18:06:11 +0100] - cache autosizing: import cache: 204800k > > [01/Dec/2007:18:06:11 +0100] - li_import_cache_autosize: 50, > > import_pages: 51200, pagesize: 4096 > > [01/Dec/2007:18:06:11 +0100] - WARNING: Import is running with > > nsslapd-db-private-import-mem on; No other process is allowed to > > access the database > > [01/Dec/2007:18:06:11 +0100] - dblayer_instance_start: pagesize: 4096, > > pages: 193714, procpages: 7159 > > [01/Dec/2007:18:06:11 +0100] - cache autosizing: import cache: 204800k > > [01/Dec/2007:18:06:11 +0100] - li_import_cache_autosize: 50, > > import_pages: 51200, pagesize: 4096 > > [01/Dec/2007:18:06:11 +0100] - import userRoot: Beginning import job... > > [01/Dec/2007:18:06:11 +0100] - import userRoot: Index buffering > > enabled with bucket size 100 > > [01/Dec/2007:18:06:11 +0100] - import userRoot: Processing file > > "/tmp/ldifni9Q3N.ldif" > > [01/Dec/2007:18:06:11 +0100] - import userRoot: Finished scanning file > > "/tmp/ldifni9Q3N.ldif" (1 entries) > > [01/Dec/2007:18:06:12 +0100] - import userRoot: Workers finished; cleaning up... > > [01/Dec/2007:18:06:12 +0100] - import userRoot: Workers cleaned up. > > [01/Dec/2007:18:06:12 +0100] - import userRoot: Cleaning up producer thread... > > [01/Dec/2007:18:06:12 +0100] - import userRoot: Indexing complete. > > Post-processing... > > [01/Dec/2007:18:06:12 +0100] - Nothing to do to build ancestorid index > > [01/Dec/2007:18:06:12 +0100] - import userRoot: Flushing caches... > > [01/Dec/2007:18:06:12 +0100] - import userRoot: Closing files... > > [01/Dec/2007:18:06:12 +0100] - All database threads now stopped > > [01/Dec/2007:18:06:12 +0100] - import userRoot: Import complete. > > Processed 1 entries in 1 seconds. (1.00 entries/sec) > > [01/Dec/2007:18:06:22 +0100] - Fedora-Directory/1.1.0b2 B2007.311.1544 > > starting up > > [01/Dec/2007:18:06:23 +0100] - Clean up db environment and start from archive. > > [01/Dec/2007:18:06:23 +0100] - Deleting log file: > > (/var/lib/dirsrv/slapd-ldap/db/log.0000000088) > > [01/Dec/2007:18:06:24 +0100] - libdb: file userRoot/id2entry.db4 has > > LSN 23/8836945, past end of log at 1/84 > > [01/Dec/2007:18:06:24 +0100] - libdb: Commonly caused by moving a > > database from one database environment > > [01/Dec/2007:18:06:24 +0100] - libdb: to another without clearing the > > database LSNs, or by removing all of > > [01/Dec/2007:18:06:24 +0100] - libdb: the log files from a database environment > > [01/Dec/2007:18:06:24 +0100] - libdb: > > /var/lib/dirsrv/slapd-ldap/db/userRoot/id2entry.db4: unexpected file > > type or format > > [01/Dec/2007:18:06:24 +0100] - dbp->open("userRoot/id2entry.db4") > > failed: Invalid argument (22) > > [01/Dec/2007:18:06:24 +0100] - dblayer_instance_start fail: Invalid > > argument (22) > > [01/Dec/2007:18:06:24 +0100] - libdb: file NetscapeRoot/id2entry.db4 > > has LSN 1/1013697, past end of log at 1/140 > > [01/Dec/2007:18:06:24 +0100] - libdb: Commonly caused by moving a > > database from one database environment > > [01/Dec/2007:18:06:24 +0100] - libdb: to another without clearing the > > database LSNs, or by removing all of > > [01/Dec/2007:18:06:24 +0100] - libdb: the log files from a database environment > > [01/Dec/2007:18:06:24 +0100] - libdb: > > /var/lib/dirsrv/slapd-ldap/db/NetscapeRoot/id2entry.db4: unexpected > > file type or format > > [01/Dec/2007:18:06:24 +0100] - dbp->open("NetscapeRoot/id2entry.db4") > > failed: Invalid argument (22) > > [01/Dec/2007:18:06:24 +0100] - dblayer_instance_start fail: Invalid > > argument (22) > > [01/Dec/2007:18:06:24 +0100] - start: Failed to start databases, > > err=22 Invalid argument > > [01/Dec/2007:18:06:24 +0100] - Failed to allocate 10485760 byte > > dbcache. Please reduce nsslapd-cache-autosize and Restart the server. > > [01/Dec/2007:18:06:24 +0100] - Failed to start database plugin ldbm database > > [01/Dec/2007:18:06:24 +0100] - WARNING: ldbm instance userRoot already exists > > [01/Dec/2007:18:06:24 +0100] - WARNING: ldbm instance NetscapeRoot > > already exists > > [01/Dec/2007:18:06:24 +0100] binder-based resource limits - > > nsLookThroughLimit: parameter error (slapi_reslimit_register() already > > registered) > > [01/Dec/2007:18:06:24 +0100] - start: Resource limit registration failed > > [01/Dec/2007:18:06:24 +0100] - Failed to start database plugin ldbm database > > [01/Dec/2007:18:06:24 +0100] - Error: Failed to resolve plugin dependencies > > [01/Dec/2007:18:06:24 +0100] - Error: object plugin Roles Plugin is not started > > [01/Dec/2007:18:06:24 +0100] - Error: accesscontrol plugin ACL Plugin > > is not started > > [01/Dec/2007:18:06:24 +0100] - Error: preoperation plugin ACL > > preoperation is not started > > [01/Dec/2007:18:06:24 +0100] - Error: object plugin Legacy Replication > > Plugin is not started > > [01/Dec/2007:18:06:24 +0100] - Error: object plugin Multimaster > > Replication Plugin is not started > > [01/Dec/2007:18:06:24 +0100] - Error: object plugin Class of Service > > is not started > > [01/Dec/2007:18:06:24 +0100] - Error: object plugin Views is not started > > [01/Dec/2007:18:06:24 +0100] - Error: preoperation plugin 7-bit check > > is not started > > [01/Dec/2007:18:06:24 +0100] - Error: preoperation plugin HTTP Client > > is not started > > [01/Dec/2007:18:06:24 +0100] - Error: database plugin ldbm database is > > not started > > > > Anyone knows how to solve this? > > > > Thanks in advance, > > > > /KJS > > > > -- > > Fedora-directory-users mailing list > > Fedora-directory-users at redhat.com > > https://www.redhat.com/mailman/listinfo/fedora-directory-users > > > > > -- > Fedora-directory-users mailing list > Fedora-directory-users at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users > >