Java Mailing List Archive

http://www.redhatconfig.com/

Home » Ubuntu Technical Support »

Re: Getting xinetd+svnserve working in Ubuntu Server 8

Robert Dailey

2008-06-27

Replies: Find Java Web Hosting

Author LoginPost Reply
On Fri, Jun 27, 2008 at 10:27 AM, Robert Dailey <rcdailey@gmail.com> wrote:
On Fri, Jun 27, 2008 at 10:21 AM, Robert Dailey <rcdailey@gmail.com> wrote:
I'm trying to get svnserve working on my Ubuntu Server machine. I basically want to run svnserve as a "service" (windows terminology?) so that I can continue to use my server as normal. I want it to run like apache2 runs, that is apache2 runs as a daemon and does not block me from doing other things. I notice that just running svnserve blocks, and I cannot run other commands, so I need alternatives.

The SVN book does not help me figure out at all how to do what I want to do. I am also not sure how you tell xinetd what command to run on svnserve. For example, I will need to be able to specify which root directory svnserve is restricted to (I don't want to share my root).

Help is very much appreciated.

Update:

I went here and followed the instructions:
http://svn.haxx.se/users/archive-2005-09/1282.shtml

However, doing the following command does not work:
svn ls svn://localhost/personal

I get the following error message:
svn: Can't connect to host 'localhost': Connection refused

What could be causing this? Is there a log somewhere I can view?

More Updates:

I found out that the 'server' attribute was not pointing to the correct binary. Resolving that fixed the previous error I reported, but now I'm running into permission errors. Running the same svn ls command as before results in the following new error message:

svn: No access allowed to this repository

I set my user in my /etc/xinetd.d/svn configuration file as 'root'. I'm new to Ubuntu and I'm not familiar at all with filesystem permissions, so I'm not really sure if 'root' will work here. Could someone guide me in the right direction? Thanks.
--
ubuntu-users mailing list
ubuntu-users@(protected)
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.