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

RE: svn doesn't start from xinetd

From: Erik Hemdal <erik_at_comprehensivepower.com>
Date: 2007-01-04 21:52:14 CET

> -----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
Received on Thu Jan 4 21:52:31 2007

This is an archived mail posted to the Subversion Users mailing list.