You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Nikola <ro...@zg.t-com.hr> on 2007/01/04 19:53:08 UTC

svn doesn't start from xinetd

I am trying to use xinetd with svn.

My distro is Debian 3.1r2.

I am using /var/subversion as root for all my projects.


This is xinetd conf file for svn service:

--start--

service svn
{
        disable                 = no
        port                    = 3690
        socket_type             = stream
        protocol                = tcp
        wait                    = no
        user                    = root
        server                  = /usr/bin/svnserve
        server_args             = -i -r /var/subversion
}

--end--


xinetd doesn't start svn.

Anyone ???

tnx,
Nikola.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: svn doesn't start from xinetd

Posted by Erik Hemdal <er...@comprehensivepower.com>.

> -----Original Message-----
> From: Nikola [mailto:root.admin1@zg.t-com.hr] 
> Sent: Thursday, January 04, 2007 2:53 PM
> To: users@subversion.tigris.org
> Subject: svn doesn't start from xinetd
> 
> 
> I am trying to use xinetd with svn.
> 
> My distro is Debian 3.1r2.
> 
> I am using /var/subversion as root for all my projects.
> 
> 
> This is xinetd conf file for svn service:
> 
> --start--
> 
> service svn
> {
>         disable                 = no
>         port                    = 3690
>         socket_type             = stream
>         protocol                = tcp
>         wait                    = no
>         user                    = root
>         server                  = /usr/bin/svnserve
>         server_args             = -i -r /var/subversion
> }
> 
> --end--
> 
> 
> xinetd doesn't start svn.
> 
> Anyone ???
> 

Hi Nikola:

The only difference I can see between your svn file and mine is that yours
runs as user root and mine runs as an ordinary "admin user" that I set up.
My ordinary user owns all the Subversion repository files.

The path in the server_args is the "parent" directory for your repository.
If I have a repository called "project", then the repository files
themselves (using your example) would be found in /var/subversion/project.
I think things won't work right if your actual Subversion files are in
/var/subversion.  

If there's a firewall running, either on your server or on your client
machines, make sure that port 3690 is open.  If a firewall on your client
machine is blocking the port, then there won't be any request for xinetd to
handle.

Finally, make sure that the xinetd service itself is actually running.  I
don't know specifically how you do that on a Debian system.  It might not be
turned on by default.  The ps (process status) command should show xinetd if
it is running. 

When I ran into problems like this, I solved them by starting svnserve by
hand.  I made sure that my Subversion setup was OK first.  Once I could get
things running with svnserve by itself, I could concentrate on getting the
xinetd part working.

Hope this helps.   Erik

> tnx,
> Nikola.
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org