
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Common Problems
|
257
~dast/svn/archive-2003-10/0136.shtml. A workaround that should reduce the inci-
dence rate for most people was implemented in revision 7598.
On FreeBSD, certain operations (especially svnadmin create) sometimes hang.
This is usually due to a lack of available entropy on the system. Subversion asks APR
to generate random numbers to create UUIDs from time to time, and certain operat-
ing systems will block for high-quality randomness. You probably need to configure
the system to gather entropy from sources such as hard-disk and network interrupts.
Consult your system manpages, specifically
random(4) and rndcontrol(8) on how to
effect this change. Another workaround is to compile APR against /dev/urandom
instead of /dev/random.
I can see my repository in a web browser, but svn checkout gives me an error
about “301 Moved Permanently”.
It means your httpd.conf is misconfigured. Usually this error happens when you’ve
defined the Subversion virtual “location” to exist within two different scopes at the
same time.
For example, if you’ve exported a repository as
<Location /www/foo>, but you’ve also
set your
DocumentRoot to be /www, then you’re in trouble. When the request comes in
for /www/foo/bar, Apache doesn’t know whether to find a real file named /foo/bar
within your
DocumentRoot ...