[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: Andy Levy <andy.levy_at_gmail.com>
Date: Wed, 15 Oct 2008 09:34:32 -0400

On Wed, Oct 15, 2008 at 09:29, Robert Dailey <rcdailey_at_gmail.com> wrote:
> Here are the results of telnet:
>
> $ telnet svn://localhost/myrepository
> svn://localhost/myrepository: Unknown server error

Try:

telnet localhost 3690

Telnet just wants a hostname and port to connect to (other options are
available, but those are required. See man telnet for more).

> I tried removing flags=REUSE but this did not help.
>
> I'm able to do:
>
> svn ls file:///srv/svn/repo/myrepository
>
> This works just fine.
>
> Am I using telnet properly to find the problem? Thanks for the help guys.
>
>
> 2008/10/15 Ulrich Eckhardt <eckhardt_at_satorlaser.com>
>>
>> On Wednesday 15 October 2008, Robert Dailey wrote:
>> > 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
>>
>> Just wondering, what does telnet give you as output? Here, it gives
>> "( success ( 1 2 ( ANONYMOUS ) ...".
>>
>> > 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
>> > }*
>>
>> There are two things different in my setup:
>> 1. I have a line "port = 3690".
>> 2. I don't have the line "flags = REUSE". I believe that could be the
>> culprit,
>> because in inetd mode (flag '-i' to svnserve) it expects to not reuse the
>> connection but rather that every connection starts a new svnserve process.
>> I
>> don't actually know what the flag does.
>>
>> Lastly, you could try to start svnserve by hand and see if that changes
>> anything.
>>
>> Uli
>>
>>
>> --
>> ML: http://subversion.tigris.org/mailing-list-guidelines.html
>> FAQ: http://subversion.tigris.org/faq.html
>> Docs: http://svnbook.red-bean.com/
>>
>> Sator Laser GmbH
>> Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
>>
>>
>> **************************************************************************************
>> Visit our website at <http://www.satorlaser.de/>
>>
>> **************************************************************************************
>> Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten
>> bestimmt und kann vertrauliche Informationen enthalten. Bitte
>> benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte
>> Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf
>> weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt
>> werden.
>> E-Mails können durch Dritte gelesen werden und Viren sowie
>> nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese
>> Folgen nicht verantwortlich.
>>
>>
>> **************************************************************************************
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
>> For additional commands, e-mail: users-help_at_subversion.tigris.org
>>
>
>

---------------------------------------------------------------------
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 15:34:56 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.