[p4] Problem recovering from database and versioned files

Thierry Lam Thierry.Lam at autodesk.com
Mon Nov 19 15:06:20 PST 2007


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


More information about the perforce-user mailing list