how to install latest SVN server on latest Fedora 20?

asked 2014-09-03 15:43:30 -0500

James Fedora gravatar image

updated 2014-09-03 15:44:44 -0500

I am in the process setup the SVN server on Fedora 20 by follow instruction from this site.

The step 1 and step 2 were done successfully. My Apache server is also publiced and can be access from other machines.

In step 3, Modify Subversion config file /etc/httpd/conf.d/subversion.conf. but I cannot find that subversion.conf file there.

If I search the system, there is only one file similar in different location: /etc/httpd/conf.modules.d/10-subversion.conf

With the systemctl status svnserve.service command, I got the following output:

   svnserve.service - Subversion protocol daemon
   Loaded: loaded (/usr/lib/systemd/system/svnserve.service; disabled)
   Active: failed (Result: exit-code) since Wed 2014-09-03 14:04:41 EDT; 12s ago
  Process: 2103 ExecStart=/usr/bin/svnserve --daemon --pid-file=/run/svnserve/ $OPTIONS (code=exited, status=1/FAILURE)

Sep 03 14:04:41 devserver svnserve[2103]: svnserve: Root path '/var/svn' does not exist or is not a directory.
Sep 03 14:04:41 devserver svnserve[2103]: DIGEST-MD5 common mech free
Sep 03 14:04:41 devserver systemd[1]: svnserve.service: control process exited, code=exited status=1
Sep 03 14:04:41 devserver systemd[1]: Failed to start Subversion protocol daemon.
Sep 03 14:04:41 devserver systemd[1]: Unit svnserve.service entered failed state.

I tried step 2 again to install subversion. I was told all installed and nothing to do.

I missed anything?

edit retag flag offensive close merge delete


What happens if you create /var/svn and restart apache?

bob gravatar imagebob ( 2014-09-07 13:29:52 -0500 )edit

You need to create /etc/httpd/conf.d/subversion.conf. Don't skip the steps - /var/www/svn (not /var/svn) is created in step 5.

marcindulak gravatar imagemarcindulak ( 2014-10-07 07:40:19 -0500 )edit