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

Re: Getting xinetd+svnserve working in Ubuntu Server 8

From: Robert Dailey <rcdailey_at_gmail.com>
Date: Fri, 27 Jun 2008 11:45:41 -0500

On Fri, Jun 27, 2008 at 10:33 AM, Robert Dailey <rcdailey_at_gmail.com> wrote:

> On Fri, Jun 27, 2008 at 10:27 AM, Robert Dailey <rcdailey_at_gmail.com>
> wrote:
>
>> On Fri, Jun 27, 2008 at 10:21 AM, Robert Dailey <rcdailey_at_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.
>

Issue solved:

I didn't setup my svnserve.conf and passwd files.
Received on 2008-06-27 18:46:07 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.