subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Branko ─îibej <br...@apache.org>
Subject Re: [SVN] - Unable to Connect SVN repository
Date Sun, 08 May 2016 11:18:37 GMT
On 08.05.2016 07:31, karthika@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


Mime
View raw message