I have got MAMP running (XAMP for OSX), and I am attempting to setup subversion.

After I visit the freshly produced repository during my browser, I recieve:

<D:error>
<C:error/>
<m:human-readable errcode="2">
Could not open the requested SVN filesystem
</m:human-readable>
</D:error>

The repository is setup in ~/server/svn. My html/php files will also be there (~/server/http), and delay pills work fine. My fundamental httpd.conf setup:

<Location /svn>
DAV svn
SVNPath ~/server/svntest
(Authenticaton will be added later)
</Location>

I have allready chmod'ed everything to 777

drwxrwxrwx   9 gerrit  staff       306 27 okt  2008 svn

Apache's errorlog doesn't show any errors.

How do you trobleshoot and fix this?

What's ~/server/svntest? The net server does not ordinarily have a house dir as well as spend access, try replacing it for any full path.

Try running

svnadmin verify ~/svntest/svn

around the repository. In the event that reviews errors, run:

svnadmin recover ~/svntest/svn

Change SELinux security context for repository files:

# chcon --reference=/var/www/html -R /var/svn/repos
# ll -Z /var/svn/repos
drwxr-xr-x  apache apache system_u:object_r:httpd_sys_content_t /var/svn/repos

You should attempt:

ln -s /home/subversion/repos /var/www/html/

change permissions to chown -R apache:apache /your repo

Had this issue and located it had been triggered by an incompatible version of SVNadmin and Apache. I'd upgraded SVN around the machine (and forgotten which i had). I simply used the entire path (/usr/local/subversion-1.3./bin/svnadmin on my small old CentOS machine) towards the old svnadmin bin (version 1.3, instead of 1.6.11 that we had upgraded to). It labored immediately. No file permission issues.