Please see my posting on May 5 too.
It seems like post commit script is the culprit. I look into other threads
and some suggest it is svnlook that causes the problem. I am not sure if
svnlook is the cause in my case. Any solution for this? I am commit works
without email notification.
Ulrich Eckhardt wrote:
>
> On Tuesday 22 April 2008, Adrian Hoe 贺文耀 wrote:
>> I created a project on Ubuntu box with
>>
>> % svnadmin create testpost
>> % ls -lsap
>>
>> drwxr-xr-x 7 adrian nogroup 4096 2008-04-21 09:10 testpost/
>>
>> % ls -lsap
>>
>> drwxr-sr-x 5 adrian nogroup 4096 2008-04-21 09:31 db/
>
> Hmm, this looks weird, two times the same command gives different output?
> ;^)
>
>> Whenever I import or commit changes, the svn client will hang:
>>
>> Sending test.txt
>> Transmitting file data .
>>
>> After more than an hour, an error message will be displayed but the
>> changes have been committed to the server and a post commit message is
>> sent.
>
> Sorry, but it would actually be helpful if you showed the exact
> commandline
> you used to access the repository and also the exact error message. The
> timeout looks a bit as if you hit a network timeout, but that doesn't take
> an
> hour but just a minute or so. The fact that the commit went through is
> weird
> though. Have you checked that it isn't hanging in the post-commit hook?
> Try
> disabling it and see if it helps.
>
>> Read from remote host zzz.xyz.net: Connection reset by peer
>> svn: Commit failed (details follow):
>> svn: Connection closed unexpectedly
>>
>> zzz.xyz.net is my server. No problem accessing http/MySQL etc at this
>> uri.
>>
>>
>> My /etc/services:
>>
>> svn 3690/tcp
>> svn 3690/udp
>
> This is irrelevant, since you are not connecting via those ports but via
> SSH,
> which is used to tunnel the SVN protocol. This is only used when you are
> running svnserve.
>
>> My router port forwarding 3690 is forwarded to the ip address of the
>> Ubuntu box.
>
> So you also have a firewall in between. I'd just like to point out that
> that
> is a potential source for trouble. If SSH works, so should the svn+ssh
> access
> method. Check the firewall logs to see if it denied any connections.
>
> Now, several things you should make sure:
> 1. Check if the repository works by accessing it via the file:// access
> method.
> 2. Check if svnserve works by starting it manually and then using the
> svn://
> access method to connect to it. You can use localhost as address to bind
> if
> you're paranoid and don't want connects from other hosts.
> 3. Try another tool like e.g. rsync whether it works when you tell it to
> tunnel through SSH.
>
> 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: Michael Wöhrmann, 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
>
>
>
--
View this message in context: http://www.nabble.com/Svn-client-hangs-tp16838867p17071508.html
Sent from the Subversion Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-06 03:07:46 CEST