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

RE: beginner admin question: no repository found

From: Tony Sweeney <tsweeney_at_omnifone.com>
Date: Mon, 11 Apr 2011 15:32:49 +0100

You need to tell svnserve where your repository is on the machine. e.g.

svnserve -d -r /path/to/repo

It's probably trying to serve a repository rooted at /, which is
probably not where yours is.

> -----Original Message-----
> From: Stephen Bloch [mailto:sbloch_at_adelphi.edu]
> Sent: 08 April 2011 18:11
> To: users_at_subversion.apache.org
> Subject: beginner admin question: no repository found
>
> The machine on which my svn repository lives was recently
> upgraded. I didn't have svnserve in a run-on-reboot script,
> so I started it by hand (log in as "svn", then type "svnserve
> -d"). But whenever I make any requests of the server (e.g.
> "svn ls svn://localhost", much less "svn update"), I get the
> error message "svn: No repository found in
> 'svn://localhost'". I then do a "ps x", and I see something like
> 11550 ? Ss 0:00 svnserve -d
> 11556 ? Z 0:00 [svnserve] <defunct>
>
> Is 11556 just a subprocess created to handle this request,
> which for whatever reason hasn't gone away yet? Or is it the
> actually svn server, which for some reason died as soon as it
> was asked to do any work?

The former. The svnserve daemon spawns a child process for each
connection. On UNIX derivatives, zombie processes (the Z above) are
created when a child process exits and the parent doesn't call wait() to
retrieve its exit status. They get cleaned up by the init process
eventually.

>
> I've done an "svnadmin verify", and the repository seems to
> be fine. None of the config files has been changed in over a
> year, so I doubt they're corrupted. Any ideas?
>
>
>
> Stephen Bloch
> sbloch_at_adelphi.edu
>
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit
> http://www.messagelabs.com/email
> ______________________________________________________________________
>
Received on 2011-04-11 16:33:29 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.