Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am attempting to setup an SVN server on my Centos 6 x64 server.

I do not want to use Apache (I don't know why anyone ever would want to)

We use Nginx for our php/django installation, and there doesn't seem to be SVN support, so we are using svnserve

The following things where done

yum install subversion
mkdir /svn/
mkdir /svn/repo/
mkdir /svn/repo/core

svnadmin create /svn/repo/core

I edited the config at /svn/repo/core/conf and made it so only auth has write and nothing else, and edited the passwd file.

I then ran

svnserve -t -r /svn/repo

Made sure no svnserve processes were running and then ran

svnserve -d -r /var/svn/repo

But I cannot connect to my svn server using svn://ipaddress/core or svn://ipaddres/svn/repo/core

There is no firewall blocking anything

Error message from SVN client

Unable to connect to a repository at URL 'svn://69.x.x.x/core' Can't connect to host '69.x.x.x': A socket operation was attempted to an unreachable host.

share|improve this question
    
Why're you serving /var/svn/repos when your repo is in /svn/repo? svnserve doesn't encrypt traffic (including authentication), use with care.. –  Shane Madden Feb 14 '12 at 22:04
    
A typo, obviously. –  adam Feb 14 '12 at 22:06
    
And it doesn't bother me that its lacking encryption. It still beats using Apache –  adam Feb 14 '12 at 22:07
    
Depends if your repository needs any security whatsoever - which is of course up to you. Care to share what error message your SVN client gives you? –  Shane Madden Feb 14 '12 at 22:10
    
Yes. Added to the original question. –  adam Feb 14 '12 at 22:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.