LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   SVN Server Configuration in Gentoo (https://www.linuxquestions.org/questions/linux-general-1/svn-server-configuration-in-gentoo-486661/)

mclinkor 09-24-2006 09:31 PM

SVN Server Configuration in Gentoo
 
I am attempting to configure an SVN server in Gentoo.

I first emerged subversion.

Then I decided to use svnserve and started the daemon.

I then ran the emerge --config command for subversion

I then ran svnadmin create /mnt/data2/hosted_sites/aares/svn_repository to create a repository in that location and the setup appears to be successful

(After finding some other documentation) I then ran svnserve -d -r /mnt/data2/hosted_sites/aares/svn_repository

Here, I tried to use Tortise SVN to checkout the repository on another computer with svn://18.248.3.143/ (that is my ip)
(This results int it saying that it has revision 0)
I can then add things to the repository, but not commit them (it says "Commit failed (details follow):", but no details follow)

Also, I found something in some more documentation to try creating a tmp folder with file structure:

project
branches
tags
trunk

and then run:

svn import project file:///mnt/data2/hosted_sites/aares/svn_repository

This resulted in "svn: unable to open an ra_localsession to URL" and "svn: Unable to open repository file..."

So, I tried:

svn import project svn:///18.248.3.143/

This resulted in "svn: Authorization failed"

It seems as if I need to set up user permissions, but when I edit conf/svnserve.conf by uncommenting anything, attempting to checkout the repository throws the following error:

[Error /mnt/data2/hosted_sites/aares/svn_repository/conf/svnserve.conf:12: Option expected

where 12 can be replaced with anything that I uncomment

I'm running out of ideas of things to try and looking into more documentation seems to confuse me more than help me. Thanks.

- Ryan

mclinkor 09-25-2006 12:17 PM

I fixed this by eliminating the spaces in front of the variables in the configuration files.


All times are GMT -5. The time now is 11:35 PM.