[p4] Problem recovering from database and versioned files

Robert Cowham robert at vaccaperna.co.uk
Mon Nov 19 15:59:32 PST 2007


Are you trying to recover with a p4d which is of an earlier version than the
p4d used to create the checkpoint??

The second column indicates the version of the table number. Is this the
first record with 2 for db.have?

Robert 

> -----Original Message-----
> From: perforce-user-bounces at perforce.com 
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of Thierry Lam
> Sent: 19 November 2007 23:06
> To: perforce-user at perforce.com
> Subject: [p4] Problem recovering from database and versioned files
> 
> I'm following the Perforce System Administrator's Guide from 
> http://www.perforce.com/perforce/technical.html and I'm 
> currently on page 35(of the pdf) where it talks about "Both 
> database and versioned files lost or damaged".  I have the 
> latest checkpoint file(let's call it myserver.ckp.123) as 
> well as the versioned files. However, when I try running the 
> following commands(P4ROOT already defined in my environment):
> 
>                 p4d -r $P4ROOT -jr /home/perforce/myserver.ckp.123
> 
> I get the following error:
> 
> Recovering from /home/perforce/myserver.ckp.123...
> Perforce server error:
>         Journal file '/home/perforce/myserver.ckp.123' replay 
> failed at line 356!
>         Record version not known in journal record!
> 
> 
> Line 356 looks like the following:
> 
> @pv@ 2 @db.have@ @//MAINSERVER/branch/World/Hello.xml@ 
> @//depot/branch/World/Hello.xml@ 1 0
> 
> 
> MAINSERVER is defined earlier as the following:
> 
> @pv@ 1 @db.view@ @MAINSERVER@ 0 0 @//MAINSERVER/...@ @//depot/...@
> 
> Any idea what's wrong?
> 
> Thierry
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com 
> http://maillist.perforce.com/mailman/listinfo/perforce-user
> 


More information about the perforce-user mailing list