Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-03-2012, 06:34 PM   #1
LQ Newbie
Registered: Feb 2012
Distribution: Debian, Fedora
Posts: 24

Rep: Reputation: 0
Setup SVN server

I' creating an SVN server to run on my Debian box, but I can't get a connection setup. I've been following the tutorial in but I ran into a problem.

I've installed the packages, edited the dav_svn.conf file exactly, but when I type in
svn co http://localhost/svn/test
It says "svn: OPTIONS of 'http://localhost/svn/test': could not connect to server (http://localhost)"

Here is my dav_svn.conf file
<Location /svn>

  DAV svn

  SVNParentPath /var/svn

  AuthType Basic
  AuthName "Subversion Repository"

  AuthUserFile /etc/apache2/dav_svn.passwd

  Require valid-user

The repository is setup in /var/svn/test

I've run svnadmin create on the directory.

Ive set the permissions to the subversion group but I haven't mapped svn to that group.

Any ideas why the it can't connect to local host?
Old 03-03-2012, 07:30 PM   #2
Senior Member
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,254

Rep: Reputation: 315Reputation: 315Reputation: 315Reputation: 315
But do you have Apache installed and running? Check "http://localhost/" in browser - you should see server response - if not then your server not works and look problems there.

By the way - if this is not a public svn server, just for you, you can use svn protocol to access repositories, no need HTTP server. This can be done with "svnserve" tool.

Last edited by eSelix; 03-03-2012 at 07:40 PM.
Old 03-04-2012, 04:05 PM   #3
LQ Newbie
Registered: Aug 2011
Posts: 2

Rep: Reputation: Disabled
Month ago I tried this and it worked like a charm. but I am using just the SVN protocol : , look at the part where he sets permissions , hope it helps
1 members found this post helpful.
Old 03-05-2012, 03:05 AM   #4
LQ Newbie
Registered: Feb 2012
Distribution: Debian, Fedora
Posts: 24

Original Poster
Rep: Reputation: 0
Thanks! The tutorial you linked to worked great!

Resources are pretty tight on the "server" that I'm using. So its great that I don't have to use Apache to host the svn.


debian, svn

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] SVN over HTTP with mod_dav_svn - Setup madsovenielsen Linux - Software 0 08-11-2011 07:00 AM
SVN Server Setup turiyain Linux - Server 3 12-18-2010 07:11 AM
Svn client on FC10: remote SVN server update errs: timed out waiting for srvr ... Amol Tupe Linux - Software 0 10-01-2010 04:25 AM
Trying to connect to SVN server after setup jaristr Linux - Server 2 11-01-2006 12:01 PM
SVN Setup & User Permissions navvywavvy Linux - Security 3 12-05-2005 03:34 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration