[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Trying to build SVN 1.5 on Ubuntu

From: Robert Dailey <rcdailey_at_gmail.com>
Date: Sun, 8 Jun 2008 11:18:16 -0500

On Sun, Jun 8, 2008 at 11:12 AM, Robert Dailey <rcdailey_at_gmail.com> wrote:

> On Sun, Jun 8, 2008 at 6:02 AM, Stefan Sperling <stsp_at_elego.de> wrote:
>
>> On Sat, Jun 07, 2008 at 04:17:18PM -0500, Robert Dailey wrote:
>> > I think I'm going to need a little bit more help on setting up this
>> > server. As I said, I'm trying to tunnel through SSH into SVN. I'm
>> reading
>> > the following guide:
>> > http://svnbook.red-bean.com/en/1.0/ch06s03.html
>> >
>> > My repository is located on my server at this location:
>> > /svn_root/svn/personal
>> >
>> > I put the following in my /svn_root/svn/personal/conf/svnserve.conf:
>> >
>> > [tunnels]
>> > ssh = ssh
>> >
>> > I then went to the command line and typed in this:
>> > svnserve -tr /svn_root
>> >
>> > The command line then became inaccessible, I guess that means the
>> server
>> > is running. So, To test, I went to a windows machine on my LAN and
>> > attempted to access the server repository I just setup using
>> TortoiseSVN's
>> > Repo Browser window. I used this URL:
>> >
>> > svn+ssh://192.168.10.150/svn/personal
>> >
>> > However, the window remained frozen waiting for a connection. I had
>> to
>> > physically close the window through task manager since I could not
>> cancel
>> > the operation normally. This lead me to believe the server is not
>> working.
>>
>> First thing you need to check before trying anything else:
>> Does SSH work at all? Are you being logged in to the server when you do
>> this?
>>
>> ssh 192.168.10.150
>>
>> > So, as a last resort, I went here:
>> >
>> http://www.subversionary.org/howto/setting-up-a-subversion-server-on-ubuntu-gutsy-gibbon-server
>> >
>> > I followed the steps, creating the 'svn' account and such, and at the
>> end
>> > I was able to do a checkout ON the server using 'svn', however, when
>> I
>> > went to that same windows machine and tried to connect to my server
>> and
>> > view the repository, it froze again. What am I doing wrong? Why can I
>> not
>> > use the command line after initiating svnserve (without pressing
>> CTRL+C)?
>> > Help is appreciated.
>>
>> That guide looks OK. Maybe there's a firewall between you and the
>> server (192.168.10.150) that blocks your SSH connection attempts?
>
>
> I'm using PuTTY to connect to my linux server, so I'm not sure how to
> execute that command. Are you expecting me to try that on the server itself?
> There shouldn't be any firewalls, since I'm connecting to it directly over
> the LAN. I'll play with this a little more and see if I can't get it working
> with the new information you guys gave. Thank you.

Update:

I tried connecting to SSH from the server itself, and I get the below log:

root_at_server:/home/robert# ssh 192.168.10.150
The authenticity of host '192.168.10.150 (192.168.10.150)' can't be
established.
RSA key fingerprint is a1:3d:6b:35:21:34:f5:25:30:37:03:ce:82:da:8d:1c.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.10.150' (RSA) to the list of known
hosts.
root_at_192.168.10.150's password:
Linux server 2.6.24-16-server #1 SMP Thu Apr 10 13:58:00 UTC 2008 i686

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/

So I guess this means it is working. What complications are caused if I am
logged into the SSH (via PuTTY) when I'm trying to connect via TortoiseSVN
at the same time? Will the server by default accept 2 simultaneous
connections to the SSH? If not, how do I configure this? Thanks.
Received on 2008-06-08 18:18:45 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.