info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with remote imports


From: Mike Castle
Subject: Re: Problem with remote imports
Date: Tue, 17 Oct 2000 13:04:57 -0500
User-agent: Mutt/1.3.6i

On Tue, Oct 17, 2000 at 10:38:26AM -0500, Michael Larsen wrote:
> cvs -d :ext:address@hidden:/link/repository import -m "Glamrock repository
> creation" glamrock mlarsen start
> 
> where /link/repository is the location of the repository on lovey (is that
> how it works?).  I have CVS_RSH set to ssh on all machines.  What I get from
> the above command is:
> 
> ksh: cvs: cannot execute
> cvs [import aborted]: end of file from server (consult above messages if
> any)
> 
> Executing cvs on each machine results in the usage dialog, so I can indeed
> execute the command.  Permissions on the repository allow for write access
> by all members of the cvs group, of which I belong across the board.
> 
> I'm assuming I've missed the boat on remote command execution somewhere.  Or
> is it not possible to create a project from a remote machine?  Thanks in
> advance.

try cvs -t import ... to invoke a trace.

The execute could possibly come from local cvs trying to execute ssh
locally.  But I suspect it's actually coming from when the ssh tries to
execute cvs on the remote side.

If you ssh to the server, is cvs in the path?

ssh -l mlarsen lovey 'echo $PATH'
ssh -l mlarsen lovey 'which cvs'  # or whence?

If you can't get cvs into the path, you can set the environment variable
CVS_SERVER to point to the full path of the cvs binary on the server.

mrc
-- 
       Mike Castle       Life is like a clock:  You can work constantly
  address@hidden  and be right all the time, or not work at all
www.netcom.com/~dalgoda/ and be right at least twice a day.  -- mrc
    We are all of us living in the shadow of Manhattan.  -- Watchmen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]