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

svnserve apparently refusing connections after returning a standard/legitimate error - cannot reproduce consistently but recurrent

From: Matthieu Bergel <matthieu.bergel_at_gmail.com>
Date: Fri, 20 Mar 2009 12:39:54 +0100

Hello,

I am having an issue with svnserve, which seems to crash after a legitimate
svn error. It is not necessarily the same error, nor the same series of
action which takes svnserve down. Here is an example:

*** BEGIN ***
[svn commands (updates, checkouts, etc ...) working fine here from a GUI.
Switched to CLI from there ...]

$ svn ci test/
svn: Commit failed (details follow):
svn: Could not use external editor to fetch log message; consider setting
the $SVN_EDITOR environment variable or using the --message (-m) or --file
(-F) options
svn: None of the environment variables SVN_EDITOR, VISUAL or EDITOR are set,
and no 'editor-cmd' run-time configuration option was found
$ svn ci -m "symlink/test" test/
svn: Commit failed (details follow):
svn: Can't connect to host '127.0.0.1': Host is down

[all svn commands issued from there (interacting with the server) return the
same error. connection tests in the GUI shows a similar error now]
*** END ***
NB: The script above was captured when using svnserve in inetd mode (loaded
on demand) but identical problems occured when run in daemon mode.

Unfortunately, I have not been able to reproduce this behaviour consistently
but it does happen regularly (several times a day) and the only option to
have a working svnserve then is to restart the machine (or logging out). In
daemon mode, killing the svnserve process (which is still running) and
restarting it does not help.

I can provide the following elements if that can be useful:
- configuration file for starting svnserve through launchd (OS X's current
inetd)
- dtrace of svnserve captured in "Host is down" state

CONFIGURATION

 * Mac OS X 10.5.6

* Subversion package compiled from source:

$ svn --version
svn, version 1.5.6 (r36142)
   compiled Mar 18 2009, 11:43:20

Copyright (C) 2000-2008 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (
http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using
Neon.
  - handles 'http' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using
serf.
  - handles 'http' scheme
  - handles 'https' scheme

$ svnserve --version
svnserve, version 1.5.6 (r36142)
   compiled Mar 18 2009, 11:43:20

Copyright (C) 2000-2008 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (
http://www.Collab.Net/).

The following repository back-end (FS) modules are available:

* fs_fs : Module for working with a plain file (FSFS) repository.

Cyrus SASL authentication is available.

Thanks for your help,

Matt

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1363862

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-20 17:23:25 CET

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.