SVN Questions

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

SVN Questions

Post 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?
Last edited by RobertGonzalez on Thu Sep 21, 2006 4:55 pm, edited 1 time in total.
User avatar
MrPotatoes
Forum Regular
Posts: 617
Joined: Wed May 24, 2006 6:42 am

Post 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"
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post 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...:evil:

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?
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post 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.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post 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.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post 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'
nickvd
DevNet Resident
Posts: 1027
Joined: Thu Mar 10, 2005 5:27 pm
Location: Southern Ontario
Contact:

Post 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... :)
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post 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.
davidtee1
Forum Newbie
Posts: 18
Joined: Fri Jun 10, 2005 2:41 am

Post 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
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post 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.
Post Reply