svn: Network connection closed unexpectedly

Tuesday, July 8, 2014

I installed svn on a brand new RHEL6 VM via the following:

yum install httpd mod_dav_svn -y
mkdir /var/www/svn
svnadmin create /var/www/svn/repository
htpasswd -cmb /var/www/svn/passwd admin
chown -R apache.apache /var/www/svn

I edited the /etc/httpd/conf.d/subversion.conf file and added the folowing:

<Location /svn>
DAV svn
SVNPath /var/www/svn/repository
Require valid-user
AuthType basic
AuthName "Subversion"
AuthUserFile /var/www/svn/passwd

I started httpd via

service httpd start

Here is the output of ls /var/www/svn/repository

conf db format hooks locks README.txt

My file system is only 23% in use.

When I go to


I get a 404 from my Tomcat server.

I can however go to


which simply shows "svn - Revision 0: /" but I receive a Not Found from going to


If in a bash I issue:

svn co svn://vm-eyaklin-006:8080/svn/repository

I receive a svn: Network connection closed unexpectedly error.

If I issue

svn co svn://vm-eyaklin-006/svn/repository

I receive a

svn: No repository found in 'svn://hostname/svn/repository'