LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Using SVN from a remote host? (https://www.linuxquestions.org/questions/linux-software-2/using-svn-from-a-remote-host-376297/)

Paulra 10-24-2005 04:14 AM

Using SVN from a remote host?
 
Hey there,

I'm running Debian Sarge and installed SVN. (apt-get install subversion)

I created a Repository like that:
svnadmin create /svn/msa

then I've imported my SVN Structure:
svn import /tmp/proj file:///svn/msa -m "initial import"

worked.

Then i edited /svn/msa/conf/svnserve.conf
anon-access=none
auth-access=write
password-db=msaUser
realm=msa

I created msaUser in the conf directory and added two users.

The problem is. Whenever I try to connect from my local machine to the remote SVN machine via svn://xx.xx.xx.xx/trunk I'm getting

Quote:

"Can't connect to host 'xx.xx.xx.xx': No connection was established because the Target PC denies the connection."
I'm using TortoiseSVN.

Can anyone help me out here?

Thanks!

YetAnotherDave 10-24-2005 09:28 AM

Here are a couple of things to consider:

Is your subversion daemon running? Use ps :

ps -ef | grep svn

You should see something like : "svnserve -d" in the output.

If not, do you have an entry in /etc/inetd.conf for subversion?

If neither of these of the case then you need to run the subversion daemon on the debian machine. If you are interested, I can give you more details on how I set this up on my machine.


Otherwise....

Do you have a firewall running that blocks the subversion port?



You need a "[general]" heading before the entries that you put in your conf file:

[general]
anon-access=none
auth-access=write
password-db=msaUser
realm=msa


When you connect to the subversion machine "via svn://xx.xx.xx.xx/trunk" you mean via "svn://xx.xx.xx.xx/svn/msa", right?


- Dave


All times are GMT -5. The time now is 02:52 PM.