Hi,
I'm trying to migrate from old machine (389-Directory/1.2.10.12) to a new
machine (389-Directory/1.3.2.6) using the migrate script and i'm getting
the following errors:
migrate-ds-admin.pl --oldsroot /opt/dirsrv.20131029/ --actualsroot
/opt/dirsrv --instance slapd-RNP
General.ConfigDirectoryAdminPwd=thepasswordvalue=cskfNjf78 --debug
+Copying database directory
/opt/dirsrv.20131029/var/lib/dirsrv/slapd-RNP/db/NetscapeRoot to
/opt/dirsrv/var/lib/dirsrv/slapd-RNP/db/NetscapeRoot
The index for the attribute 'entryusn' in the database directory
'/opt/dirsrv/var/lib/dirsrv/slapd-RNP/db/NetscapeRoot' will be removed and
re-created.
+Removing file
/opt/dirsrv/var/lib/dirsrv/slapd-RNP/db/NetscapeRoot/entryusn.db4
+Re-creating index file
/opt/dirsrv/var/lib/dirsrv/slapd-RNP/db/NetscapeRoot/entryusn.db4:
/opt/dirsrv/lib/dirsrv/slapd-RNP/db2index -n "NetscapeRoot" -t
"entryusn"
Could not re-create the index file
'/opt/dirsrv/var/lib/dirsrv/slapd-RNP/db/NetscapeRoot/entryusn.db4'.
Error: [02/Dec/2013:10:35:13 -0200] - WARNING: Import is running with
nsslapd-db-private-import-mem on; No other process is allowed to access the
database
[02/Dec/2013:10:35:13 -0200] - check_and_set_import_cache: pagesize: 4096,
pages: 254875, procpages: 56270
[02/Dec/2013:10:35:13 -0200] - WARNING: After allocating import cache
407800KB, the available memory is 611700KB, which is less than the soft
limit 1048576KB. You may want to decrease the import cache size and rerun
import.
[02/Dec/2013:10:35:13 -0200] - Import allocates 407800KB import cache.
[02/Dec/2013:10:35:13 -0200] - dbp->open("NetscapeRoot/id2entry.db")
failed: Permission denied (13)
[02/Dec/2013:10:35:13 -0200] - Instance directory
/opt/dirsrv/var/lib/dirsrv/slapd-RNP/db/NetscapeRoot may not be writable
[02/Dec/2013:10:35:13 -0200] - dblayer_instance_start fail: Permission
denied (13)
[02/Dec/2013:10:35:13 -0200] - db2ldif: Failed to init instance
Due to the error "*Import is running with nsslapd-db-private-import-mem on;
No other process is allowed to access the database*" it seems the script
does not create the NetscapeRoot folder. Am I right?
Any clues?
Thanks