[p4] cvs2p4: troubleshooting [signed]
Gabor Maghera
gmaghera at gmail.com
Thu Nov 15 11:14:45 PST 2007
Running Perforce without a commercial license should have no effect. By
default you get a 2 user/5 client license for free, which is more then
sufficient for the conversion. You could run into a problem if you have two
users defined already and now you're trying to run the conversion with a
third. The config file has a setting for this, if it is not set to a
specific user, then it will try to use the UNIX/domain account you are
running the cvs2p4 script with. To aire on the side of caution, I would
define the p4 user ahead of running the script, then set the config file to
use that account.
On the other hand, if you haven't set up any users yet, chances are you are
below the two user limit, so this may be a moot point.
Good luck,
Gabor
On Nov 15, 2007 9:18 AM, Mamadou Cisse [c] <mcisse at acquisinc.com> wrote:
> Yeah.
> I have written a tiny PERL script which has gotten rid of the cvsNT
> extra luggage (filename, deltatype, commentid, ...).
> But still, I can't even get the test script to run correctly.
> It's always finishing with a diff exited with signal 0 status 1 error.
>
> Since this is finding fact endeavor I'm running the perforce without a
> license and I'm wondering if that could influence the outcome.
> Any ideas?
>
> I'm using the p4d server release 05.2 on ubuntu dapper machine.
>
> Regars,
> MCisse.
>
> Smith, Jeff wrote:
> > As I recall, CVSNT uses a slightly different RCS format than standard
> > CVS which confuses cvs2p4. I can't remember the exact differences but
> > when I made a similar conversion a few years ago, I had to preprocess
> > all the rcs files first.
> >
> > Jeff Smith
> > Development Tools Group
> > Managing Your Development Environment
> >
> >
> > -----Original Message-----
> > From: perforce-user-bounces at perforce.com
> > [mailto:perforce-user-bounces at perforce.com] On Behalf Of Gabor Maghera
> > Sent: Wednesday, November 14, 2007 12:58 PM
> > To: Mamadou Cisse [c]
> > Cc: perforce-user at perforce.com
> > Subject: Re: [p4] cvs2p4: troubleshooting [signed]
> >
> > The error log indicates that it may be running the Perforce server (p4d)
> > which is failing, possibly due to bad metadata generated with
> > genmetadata.
> >
> > This line:
> > */usr/bin/p4d -r . -jr dbmeta
> > *attempts to start p4d and restore metadata from checkpoint and/or
> > journal.
> >
> > I would test the install of p4d separately from running the cvs2p4
> > script, to make sure it is OK. The fact that the test conversion
> > provided with the script is failing is an indication of a
> > configuration/environment issue.
> >
> > Cheers,
> > Gabor
> > *
> > *On Nov 14, 2007 2:25 AM, Mamadou Cisse [c] <mcisse at acquisinc.com>
> > wrote:
> >
> >> Yes, I did!
> >>
> >> Gabor Maghera wrote:
> >>> Have you recompiled RCS 5.7 to create the patched/modified version
> >>> of
> >> rlog?
> >>> Gabor
> >>>
> >>> On Nov 13, 2007 9:02 AM, Mamadou Cisse [c] <mcisse at acquisinc.com>
> > wrote:
> >>>> I'm trying to use cvs2p4 to migrate a cvsNT repository to Perforce
> >>>> on a Ubuntu Dapper box.
> >>>> I couldn't get the test/runtest script to run properly. It always
> >>>> came back with a "bad results" from the bin/genmetadata script.
> >>>> Being unable to find out why, I've decided to try my luck with the
> >>>> bin/cvs2p4 script. This one is throwing the error:
> >>>> [[
> >>>> Journal file 'dbmeta' replay failed at line <num>!
> >>>> Word too big fo a number!
> >>>> ]]
> >>>> I've been scouring the web for answers for the last week or so and
> >>>> couldn't find any clear understanding of the causes or the
> > remedies.
> >>>> Can anybody help with some sample?
> >>>>
> >>>>
> >>>> ========== change group 1
> >>>> dochanges> cd /tmp/cvs2p4-3.0b6/p4root && /usr/bin/p4d -r . -jr
> >>>> dochanges> dbmeta
> >>>> Perforce db files in '.' will be created if missing...
> >>>> Recovering from dbmeta...
> >>>> dochanges: *** "cd /tmp/cvs2p4-3.0b6/p4root && /usr/bin/p4d -r .
> >>>> -jr dbmeta" exited with signal 0 status 255
> >>>> dochanges: "/usr/bin/p4d -r . -jr dbmeta" failed.
> >>>> *** dochanges FAILED
> >>>>
> >>>>
> >>>> Best Regards,
> >>>> mcisse.
> >>>>
> >>>>
> >>> _______________________________________________
> >>> perforce-user mailing list - perforce-user at perforce.com
> >>> http://maillist.perforce.com/mailman/listinfo/perforce-user
> >>>
> >>>
> >>>
> > _______________________________________________
> > perforce-user mailing list - perforce-user at perforce.com
> > http://maillist.perforce.com/mailman/listinfo/perforce-user
> >
> > _______________________________________________
> > perforce-user mailing list - perforce-user at perforce.com
> > http://maillist.perforce.com/mailman/listinfo/perforce-user
> >
> >
> >
>
>
> --
> --------------------- [ SECURITY NOTICE ] ---------------------
> To: perforce-user at perforce.com.
> For your security, mcisse at acquisinc.com
> digitally signed this message on 15 November 2007 at 17:18:47 UTC.
> Verify this digital signature at http://www.ciphire.com/verify.
> ---------------- [ CIPHIRE DIGITAL SIGNATURE ] ----------------
> Q2lwaGlyZSBTaWcuAjhwZXJmb3JjZS11c2VyQHBlcmZvcmNlLmNvbQBtY2lzc2VA
> YWNxdWlzaW5jLmNvbQBlbWFpbCBib2R5AAYMAAB8AHwAAAABAAAAd388RwYMAAAI
> AgACAAIAAgAgcT1B7ulrTbhgQFnPbu4QFcLOLXgm/ESnUgjBntK1lDcBAB96H8yw
> x1/YImyCYuRnwVi/WOzx5APTVBtika+ZsH9PMASkROozk0gKnaibxZeMe+HTSzTU
> oKSQCZ29bhG0P775U2lnRW5k
> ------------------ [ END DIGITAL SIGNATURE ] ------------------
> _______________________________________________
> 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