Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Running multiple SVN repositories using svnserve on Centos

Posted on 2015-01-06
4
Medium Priority
?
920 Views
Last Modified: 2015-01-11
We set up an SVN server according to the instructions here:

http://www.civicactions.com/blog/2010/may/25/how_set_svn_repository_7_simple_steps

And it worked great, we configured two repositories on that server, which were accessible as two SVN paths e.g.

svn://server/repo1

and

svn://server/repo2

Acting normal, both on same port.

We had a power cut and the service didn't start - and came up with an error like so:

svnserve root path '/var/svn' does not exist or is not a directory

Open in new window


Which has never been a used path on our system.

After messing around for ages we got the daemon to start with the command:

svnserve -d -r /repo1 

Open in new window


But this only presented one repository.

How can we set up the default configuration to present both repos on the same port somehow?

It's Centos 7.
0
Comment
Question by:butterhook
  • 2
  • 2
4 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 40534053
You must use apache and mod_dav_svn
(Or SVN+SSH)
0
 
LVL 1

Accepted Solution

by:
butterhook earned 0 total points
ID: 40534415
Hi there

The solution was in fact to remove the default options from /etc/sysconfig/svnserve as these were confusing the daemon.

svnserve -d with no parameters allows connections to any repositories by explicit path, which is what we wanted.
0
 
LVL 62

Expert Comment

by:gheist
ID: 40534527
Add at least -r /repos/ parameter and dont serve all your filesystem....
0
 
LVL 1

Author Closing Comment

by:butterhook
ID: 40542881
We fixed it!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month10 days, 20 hours left to enroll

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question