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

Re: Subversion, xinetd, and "Malformed network data"

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: Wed, 15 Oct 2008 13:41:18 +0200

On Wed, Oct 15, 2008 at 6:37 AM, Robert Dailey <rcdailey_at_gmail.com> wrote:
> Hi,
>
> I currently have a Subversion 1.5.2 server running through svnserve +
> xinetd. When I attempt to connect to my subversion server, however, I get:
>
> svn: Malformed network data
>
> Below is the contents of my xinetd config for subversion:
>
> service svn
> {
> flags = REUSE
> socket_type = stream
> wait = no
> user = svn
> group = svn_group
> server = /usr/bin/svnserve
> server_args = -i -r /srv/svn/repo
> log_on_failure += USERID
> disable = no
> }
>
> This is located in the file: /etc/xinetd.d/svn
>
> I run the following command only to find that it fails:
>
> $ svn ls svn://localhost/myrepository
> svn: Malformed network data
>
> I've checked my xinetd log, however I see no failure. I can even put a
> completely bogus repository URL into SVN and it'll still give the same
> error:
>
> $ svn ls svn://localhost/iosudohslkj2223oijosdijfaksjdlfkj
> svn: Malformed network data
>
> Anyone have any idea what could be causing this?

Try running telnet to the repository. It might tell you more.

But I think your xinetd config might be wrong; you need:

> server_args = svnserve -i -r /srv/svn/repo

HTH,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-15 13:41:45 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.