Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire] p4 can be used only from host

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Tony Smith <tony AT smee.org>
  • To: Pierre Abbat <phma AT webjockey.net>, sm-grimoire AT lists.ibiblio.org
  • Cc:
  • Subject: Re: [SM-Grimoire] p4 can be used only from host
  • Date: Mon, 16 Jun 2003 14:21:16 +0100

On Saturday 07 June 2003 12:10 am, Pierre Abbat wrote:
> I'm at neofelis, sshed in to blackcat, and I typed "p4 sync". It said
> "pierre-blackcat can be used only from host blackcat". I went over to
> blackcat and typed the same command and got the same error. I then said
> "hostname blackcat" (it was "blackcat.ixazon.lan", which is the computer's
> proper FQDN; it's in 192.168, so I use .lan) and it worked. How do I make
> it so that p4 doesn't care?

Perforce stores the hostname of the machine on which a client is created to
prevent people accidentally using the same logcial workspace from two
physically different machines - it's a Bad Thing to do.

It uses gethostname() to find out the hostname, so I guess your hostname
changed from "blackcat" to "blackcat.ixazon.lan" sometime after you created
your client.

It's pretty simple to fix: run "p4 client" and change "blackcat" to
"blackcat.ixazon.lan" in the "Host:" field on the form and normal service
will be resumed.

Tony





Archive powered by MHonArc 2.6.24.

Top of Page