Re: [SLUG] CVS Server problems

2000-09-10 Thread Ben Leslie


 Hi all,
 I've just built a linux server to act solely as a CVS pserver.
 I have been able to successfully log in and import data, however when I 
 try to check out a module I get the error:
 
 -f [server aborted]: Cannot check out files into the repository itself
 
 Has anyone seen this, and can shed some light on what's gone wrong?
 Thanks,
 Josh.
 


Umm as a total guess I think you are probably trying to do a cvs checkout
whilst in the cvs directory, so if you cvs repository is in /home/cvs
you should probably go into /home/username and then do the checkout.

Hope that helps.


Cheers,

Benno


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] CVS Server problems

2000-09-10 Thread Marshall, Joshua

 Umm as a total guess I think you are probably trying to do a cvs checkout
 whilst in the cvs directory, so if you cvs repository is in /home/cvs
 you should probably go into /home/username and then do the checkout.

I'm trying to do a cvs checkout from another machine, using password 
authentication. I can import data and log in so the password is correct.

The command I use is:

cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot checkout Test


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] CVS Server problems

2000-09-10 Thread Malcolm Tredinnick

On Mon, Sep 11, 2000 at 03:08:29AM +, Marshall, Joshua wrote:
 Hi all,
 I've just built a linux server to act solely as a CVS pserver.
 I have been able to successfully log in and import data, however when I 
 try to check out a module I get the error:
 
 -f [server aborted]: Cannot check out files into the repository itself
 
 Has anyone seen this, and can shed some light on what's gone wrong?

This is one of the cases where CVS apparently tries to economise on the
number of error messages it has to  store by reusing them for unrelated
problems. :(

Aside from the obvious "you are trying to checkout into the repository"
(which you have already indicated is not the case), this can occur when
the $TMPDIR (or $TMP or $TEMP) variable is set to point somewhere inside
the cvsroot on the server.

To see if this is the case, try changing its location by using the -T
option:

cvs -T /tmp -d $MY_CVS_ROOT checkout foo

The argument to -T must be an absolute path.

Not sure if this will solve the problem, but it's the other case where
I've seen it happen.

Cheers,
Malcolm

-- 
Malcolm Tredinnickemail: [EMAIL PROTECTED]
CommSecure Pty Ltd

 PGP signature