Reply
 
Thread Tools Display Modes
  #1  
Old 10-13-2007, 03:34 AM
simonC simonC is offline
Junior Member
 
Join Date: Jul 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Subversion server setup
I've tried setting up a subversion server with pcbsd but I am having problems.

This is that I did:

-Install subversion via port (make install clean)
-Create group
-Change permissions
-Create repository
-Start server (manually using daemon option)

Up to this point every thing was ok. My problem is that I can not start the server when I re-boot the machine.

I modified rc.conf like this:

svnserve_enable="YES"
svnserve_flags="-d -r /repository --listen-host=0.0.0.0"
svnserve_data="/repository"
svnserve_group="svn"

I reboot and nothing, the server did not start

Then I modified inetd.conf to start via inetd (I did not modify back rc.conf)

# Subversion server
svn stream tcp nowait svn /usr/local/bin/svnserve svnserve -i


Can somebody help me to fix this problem? I don't know what else I can do.

Thanks
Reply With Quote
  #2  
Old 10-14-2007, 07:32 PM
antik's Avatar
antik antik is offline
Super Moderator
 
Join Date: Jul 2005
Location: Estonia
Posts: 3,610
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Subversion server setup
Originally Posted by simonC
Can somebody help me to fix this problem? I don't know what else I can do.

Thanks
You shoud read documentation about how to initialize subversion database first.
__________________
"All parts should go together without forcing. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer." -- IBM maintenance manual, 1975
Reply With Quote
  #3  
Old 10-14-2007, 08:06 PM
simonC simonC is offline
Junior Member
 
Join Date: Jul 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Subversion server setup
I figured out what was the problem.

The fine print is that when you set svnserve_flags="-d -r /repository ... you are setting up the "HOME" or "START position" of the repository within the server.

If you try to connect using the absolute path (i.e host/usr/local/repository/) it will not work since the home was set to be at ../repository level. The connection should be below the repository level (if you have more than one repository of course).

This one was for connection.

For server, I omitted svnserve_user="svn" due to I wanted multiple users, but the group and the user name should be the same. To add more people, you add in the group after the setup.

Thanks
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Server Setup promethes General Questions 2 10-25-2007 03:53 PM
DHCP Server Setup [SOLVED] putu General Questions 21 06-21-2007 09:21 AM
Subversion HOWTO antik Guides 5 09-10-2006 12:06 PM
eth setup gatttliff General Questions 2 11-20-2005 07:10 AM


All times are GMT. The time now is 02:17 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.