Page 1 of 1
SVN Questions
Posted: Thu Sep 21, 2006 4:08 pm
by RobertGonzalez
Man, I am having one heck of a time with this. I have an SVN server set up. I can talk to it from the command line through SSH. But when I try to hit it at the svn:// url, I get this message:
Error * Can't connect to host 'subdomain.domain.com': No connection could be made because the target machine actively refused it.
But I don't know why the target machine is actively refusing the connection. I am at a total loss. Can someone please help me?
Posted: Thu Sep 21, 2006 4:12 pm
by MrPotatoes
man, i was having that same problem but with the gui version
you did give it the password right?
and the URL is EXACT correct? some people setup thier linux servers where "Mr. Potatoes" is completley different from "mr. potatoes"
Posted: Thu Sep 21, 2006 4:16 pm
by RobertGonzalez
I think I have something screwed up somewhere. I have no users. I am searching all over the place for adding users and I can't seem to find the right place...
OK, I added myself as a user. But I am really not even sure what URL to reference when hitting the SVN server. Can anyone throw that out there somewhere?
Posted: Thu Sep 21, 2006 9:25 pm
by Ambush Commander
SVNServe really shouldn't be used for mission-critical projects: then you should use the Apache module, but anyway...
Let's suppose /svn is your repository directory. /svn/conf contains the files that configure SVNServe's basic authentication mechanisms: svnserve.conf for general rules, passwd to define passwords and authz for advanced authentication grouping.
(although perhaps you reneged on your question with that second part of the post)
Next, you need to access the server. If you're planning to use it only locally, svn://localhost/ should work. Otherwise, you'll need to substitute localhost with the ip address/domain machine the SVN server is installed on.
Posted: Thu Sep 21, 2006 10:30 pm
by RobertGonzalez
Before I left I got it set up. Except it won't let me commit. I can check out, but when I commit it tells me that it cannot because I don't have permission. I can hit the svn server by going to
http://servername/repos/project and in both Zend Studio and TortoiseSVN I can checkout. Committing is where the problem is now.
Posted: Fri Sep 22, 2006 12:10 am
by RobertGonzalez
Ok, I think I was making this way to frickin complicated. I found this tonight, followed it on my FC2 dedicated and had an SVN server up and running from nothing in about 30 minutes. Where was this today?!?!?!?!
http://www.bernzilla.com/item.php?id=445
I found it tonight in the fourth position in a google search for 'installing subversion'
Posted: Fri Sep 22, 2006 1:12 am
by nickvd
The default auth setup is to allow anon checkouts but only authenticated commits... You'll need to login with a username/password before you commit (and preform many other actions)
heh, I should probably refresh the page before posting...

Posted: Fri Sep 22, 2006 8:01 am
by RobertGonzalez
I think my problem yesterday was the server name directive in the httpd.conf and the fact that I did not import a project. I have the named auth file set up already, so I am going back to step 1 to test it all today.
Posted: Mon Oct 09, 2006 5:31 am
by davidtee1
Everah -how did you get beyond the "Can't connect" problem? I'm having the same trouble but the post doesn't seem to tell me what your solution was.
Did you get it working with svnserve or did you use Apache?
Thanks,
david
Posted: Mon Oct 09, 2006 10:37 am
by RobertGonzalez
I followed
the steps in this tutorial to the letter and it was up in a matter of minutes. Bear in mind that this will get the server running for anonymous checkouts and commits. I am still working on password authentication for checkouts and commits.