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@company.com 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
</Location>


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



http://hostname:8080/svn/repository
http://hostname:8080/svn)


I get a 404 from my Tomcat server.


I can however go to



http://hostname/svn


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



http://hostname/svn/repository


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'






http://ift.tt/1xNyaaa