You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Anthony Metcalf <an...@anferny.ath.cx> on 2004/10/01 14:01:45 UTC
svn: Connection closed unexpectedly
C:\Temp>svn checkout svn+ssh://server/var/svn/repos/wxplay wxplay
svn: Connection closed unexpectedly
C:\Temp>
This is what I get when I try to checkout a project from my repositary remotely. I have changed the server name just to be safe :)
It also happens with the other repositary in that computer (@ /Repos/etc)
Things I know.
1) That path is correct.
2) The user (as defined in the 'plink' key in the registry) has access to the repo, and can checkout/commit etc locally.
3) svn (and the necessary tunnel keys in the registry) is set up correctly, I am accessing other repositaries on other 'remote' systems (local area network as apposed to over the 'net propper).
I get other, different, messages when I try the same command from a unix box (unfortunatly I can't remember the mesages right now).
Where can I go from here, how can I find out whats causing the connection to close?
Any help is apreciated.
Anthony
Re: svn: Connection closed unexpectedly(solved)
Posted by Anthony Metcalf <an...@anferny.ath.cx>.
On Fri, 1 Oct 2004 15:01:45 +0100
Anthony Metcalf <an...@anferny.ath.cx> wrote:
<snip>
I have solved this problem. It turnes out the users path was not
propperly set when ssh connected.
When trying from a linux box I got the error
bash: line 1: svnserve: command not found
Adding a .bashrc with the line to set the path, and everything works
again.
Thought this may be useful to someone.
I'm not sure how the path was set for the local user before, but there
you go.
Re: svn: Connection closed unexpectedly
Posted by Anthony Metcalf <an...@anferny.ath.cx>.
On Fri, 01 Oct 2004 17:28:25 +0200
Wouter Vanwalleghem <wo...@belnet.be> wrote:
> I usually get this when my repository is in need of recovery.
> You might want to try
> ~ svnadmin recover /path/to/repository
As I suspected this did not work, run I get
%anthony@anferny anthony $ svnadmin recover /var/svn/repos/wxplay/
%Repository lock acquired.
%Please wait; recovering the repository may take some time...
%
%Recovery completed.
%The latest repos revision is 5.
%anthony@anferny anthony $
So it looks like ti worked, but then I get the connection closed again
Re: svn: Connection closed unexpectedly
Posted by Anthony Metcalf <an...@anferny.ath.cx>.
On Fri, 01 Oct 2004 17:28:25 +0200
Wouter Vanwalleghem <wo...@belnet.be> wrote:
> I usually get this when my repository is in need of recovery.
> You might want to try
> ~ svnadmin recover /path/to/repository
I shall try that.
I am not getting any problems when I'm working on the local server though, which makes me think it make not work
Re: svn: Connection closed unexpectedly
Posted by Wouter Vanwalleghem <wo...@belnet.be>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Anthony Metcalf wrote:
| C:\Temp>svn checkout svn+ssh://server/var/svn/repos/wxplay wxplay
| svn: Connection closed unexpectedly
|
| C:\Temp>
|
| This is what I get when I try to checkout a project from my repositary
remotely. I have changed the server name just to be safe :)
| It also happens with the other repositary in that computer (@ /Repos/etc)
|
| Things I know.
|
| 1) That path is correct.
| 2) The user (as defined in the 'plink' key in the registry) has access
to the repo, and can checkout/commit etc locally.
| 3) svn (and the necessary tunnel keys in the registry) is set up
correctly, I am accessing other repositaries on other 'remote' systems
(local area network as apposed to over the 'net propper).
|
| I get other, different, messages when I try the same command from a
unix box (unfortunatly I can't remember the mesages right now).
|
| Where can I go from here, how can I find out whats causing the
connection to close?
|
| Any help is apreciated.
|
| Anthony
I usually get this when my repository is in need of recovery.
You might want to try
~ svnadmin recover /path/to/repository
kr,
Wouter
- --
_____________________________________
Wouter Vanwalleghem
Network Engineer
BELNET
The Belgian National Research Network
Wetenschapsstraat 4
B-1000 Brussel
Tel: +32 (0)2 790 3333
Fax: +32 (0)2 790 3334
mailto: Wouter.Vanwalleghem@belnet.be
Visit our website : http://www.belnet.be
_____________________________________
"In a world without walls and fences,
~ who needs windows and gates?"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBXXeXVWE0vlQPAS8RAlubAJ41f6lFqh2CW71JKpn9+pSC+um3jwCfbQ8k
ZAYMHGagp3ABBxohfR89fnM=
=Tnk+
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org