- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Re: Subversion addon - connection refused
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
readynas ultra 2
I've installed the subversion addon from rnxtras. Now when I try to checkout I get connection refused. Here are the steps I followed:
On the readnas:
NetgearNAS:/opt# svnadmin create /opt/subversion/SVNTest
NetgearNAS:/opt# chown -R admin:admin /opt/subversion/*
On my local machine:
~> svn checkout svn://192.168.1.100/SVNTest
svn: E000111: Unable to connect to a repository at URL 'svn://192.168.1.100/SVNTest'
svn: E000111: Can't connect to host '192.168.1.100': Connection refused
I have EnableRootSSH installed.
Any ideas how I can get it to work?
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry for the late reply, still trying to get used to the new "forums".
Actually, you were already close. You created the SVN repo correctly but the correct command to checkout a repo from the ReadyNAS would be
svn checkout https://192.168.1.100/svn/SVNTest
Two things to note here: For accessing the Repo you have to either use the HTTP or the HTTPS protocol, not SVN. And for the path to the repo you habe to prefix the repo's name with "/svn/".
When pushing changes to the ReadyNAS you'll have to authenticate using a valid username/password combination as defined on the ReadyNAS.
-Stefan
All Replies
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Subversion addon - connection refused
Hello Lionelv00,
You may want to check this article Hosting Subversion service on the ReadyNAS
I hope this helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Subversion addon - connection refused
Thanks for the response. So seems the rnxtras subversion addon already added SUBVERSION.conf so the module was already loaded.
After that, the command:
# /etc/init.d/frontview restart
Does not exist, it didn't matter anyway since svn was already loaded, but I ran maybe the equivalent?
apache2 -f /etc/frontview/apache/httpd.conf -k restart
But I'm still having no luck:
svn checkout http://192.168.1.100/SVNTest svn: E120108: Unable to connect to a repository at URL 'http://192.168.1.100/SVNTest' svn: E120108: Error running context: The server unexpectedly closed the connection.
svn checkout http://192.168.1.100/opt/subversion SVNTest svn: E120108: Unable to connect to a repository at URL 'http://192.168.1.100/opt/subversion' svn: E120108: Error running context: The server unexpectedly closed the connection.
svn checkout svn://192.168.1.100/opt/subversion SVNTest svn: E000111: Unable to connect to a repository at URL 'svn://192.168.1.100/opt/subversion' svn: E000111: Can't connect to host '192.168.1.100': Connection refused
Are there logs anywhere that might give clues?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry for the late reply, still trying to get used to the new "forums".
Actually, you were already close. You created the SVN repo correctly but the correct command to checkout a repo from the ReadyNAS would be
svn checkout https://192.168.1.100/svn/SVNTest
Two things to note here: For accessing the Repo you have to either use the HTTP or the HTTPS protocol, not SVN. And for the path to the repo you habe to prefix the repo's name with "/svn/".
When pushing changes to the ReadyNAS you'll have to authenticate using a valid username/password combination as defined on the ReadyNAS.
-Stefan
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Subversion addon - connection refused
Thanks for the response, but still no joy 😞
This is the error:
svn: E170013: Unable to connect to a repository at URL 'http://192.168.1.100/svn/SVNTest' svn: E120108: Error running context: The server unexpectedly closed the connection.
Are there decent logs anywhere showing why?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Subversion addon - connection refused
You could try /var/log/frontview/error.log and /var/log/syslog
That said, for testing I followed your steps and it worked for me one the first try. Any chance that you made some other modifications while trying to get it to work?
-Stefan
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Subversion addon - connection refused
Worked with https instead of http! Thanks!