[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [SVN] - Unable to Connect SVN repository

From: Branko Čibej <brane_at_apache.org>
Date: Sun, 8 May 2016 13:18:37 +0200

On 08.05.2016 07:31, karthika_at_sifuit.com.my wrote:
> Hi,
>
> I have attached the output for 'netstat -a'
>
> My files are hosted in cpanel which is webserver hosting.
>
> Below url i have used for importing files into SVN,
>
> svn import /home/gocuti/public_html/staging
> file:///home/gocuti/public_html/svn/repo/trunk -m "initial import"
>
> Also i have tried to import svn files to some other directory, which is
>
> mkdir -p /var/www/svn/repos/staging
> svnadmin create /var/www/svn/repos/staging
> svn mkdir file:///var/www/svn/repos/staging/trunk -m "create"
> svn mkdir file:///var/www/svn/repos/staging/branches -m "create"
> svn mkdir file:///var/www/svn/repos/staging/tags -m "create"
>
> svn import /home/gocuti/public_html/staging
> file:///var/www/svn/repos/staging/trunk -m "initial import" -
> successfull
>
> svn list file:///var/www/svn/repos/staging/trunk
> successfull
>
> svn list svn://163.172.27.207/repos/staging - which is not working -
> unable to connect to the repository
>
> Kindly let me know if you have any idea about the error which am getting.

You do have to start svnserve somehow. Your netstat output should
contain a line like this:

tcp 0 0 0.0.0.0:svn 0.0.0.0:* LISTEN

(or, if you run netstat with the -n switch, you'd see '0.0.0.0:3690'
instead of '0.0.0.0:svn' there). You can also try running:

$ ps aux | grep svnserve

to see if svnserve is actually running.

-- Brane
Received on 2016-05-08 13:18:43 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.