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:sbl...@adelphi.edu] 
> Sent: 08 April 2011 18:11
> To: users@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
> sbl...@adelphi.edu
> 
> 
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit 
> http://www.messagelabs.com/email 
> ______________________________________________________________________
> 

Reply via email to