[389-users] restore into a new ds instance issues

ghiureai isabella.ghiurea at nrc-cnrc.gc.ca
Tue Oct 28 20:10:47 UTC 2014


Hello List,


I have create a new ds instance and used the rerstore dif2db cmd to 
populate the new isntance, the exisitng istance has txlogs cfg on a 
separate directory ( I copied the 99user.ldif file and macke chaged to 
db.ldif in new instance) , can't bring the new instance online:

I rmeoved the existing log files and restore the path for txlogs to 
default location, I copied db2entry.db4 but stilll issues

etected Disorderly Shutdown last time Directory Server was running, 
recovering database.
[28/Oct/2014:13:04:08 -0700] - libdb: file NetscapeRoot/id2entry.db4 has 
LSN 1/1593380, past end of log at 1/1828
[28/Oct/2014:13:04:08 -0700] - libdb: Commonly caused by moving a 
database from one database environment
[28/Oct/2014:13:04:08 -0700] - libdb: to another without clearing the 
database LSNs, or by removing all of
[28/Oct/2014:13:04:08 -0700] - libdb: the log files from a database 
environment
[28/Oct/2014:13:04:08 -0700] - libdb: 
/var/lib/dirsrv/slapd-devldap/db/NetscapeRoot/id2entry.db4: unexpected 
file type or format
[28/Oct/2014:13:04:08 -0700] - dbp->open("NetscapeRoot/id2entry.db4") 
failed: Invalid argument (22)
[28/Oct/2014:13:04:08 -0700] - dblayer_instance_start fail: Invalid 
argument (22)
[28/Oct/2014:13:04:08 -0700] - start: Failed to start databases, err=22 
Invalid argument
[28/Oct/2014:13:04:08 -0700] - Failed to start database plugin ldbm database
[28/Oct/2014:13:04:08 -0700] - WARNING: ldbm instance userRoot already 
exists




More information about the 389-users mailing list