NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Lionelv00's avatar
Lionelv00
Aspirant
Jul 25, 2015
Solved

Subversion addon - connection refused

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?

  • 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

6 Replies

Replies have been turned off for this discussion
    • Lionelv00's avatar
      Lionelv00
      Aspirant

      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?

       

       

      • WhoCares_'s avatar
        WhoCares_
        Mentor

        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

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More