Announcement

Collapse
No announcement yet.

Can not use new repository

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can not use new repository

    I had created three repositories and was using them happily. Now I have a need to create a new repository. So I used the http://hostip:9890/ubersvn to create a new repository. Eveything is good. When I go to the linux cammand line, I can still access my old respositories successfully. However, I always get "svn: OPTIONS of 'http://hostip:8880/reponame': 200 OK (http://hostip:8880)" error no matter what svn command I run. It behave consistently eventhough I removed and recreated the new repository. Please help.

  • #2
    Have you tried using ubersvnctl to restart the service? Should be able to find it in /opt/ubersvn/bin
    Vince Eagen
    WANdisco, Inc.
    Download SVN | SVN Support | SVN MultiSite

    Comment


    • #3
      I logged in as ubersvn user; cd to /opt/ubersvn/bin and did the following:
      1. ./ubersvncontrol stop ===> it stopped Tomcat
      2. ./ubersvncontrol start ===> it started Tomcat

      It did not make any difference. Btw, there is no ubersvnctl command.

      So I tried the following:
      1. ./httpdserverctl stop ===> got httpd (pid 3750?) not running message
      2. ./httpdserverctl start ===> (9 Address already in use: make_sock: could not bind to address 0.0.0.0:8880
      no listening socket available, shutting down
      unable to open log

      3. ./svnservercontrol stop ===> got httpd (pid 3750?) not running message
      4. ./svnservercontrol start ===> (9 Address already in use: make_sock: could not bind to address 0.0.0.0:8880
      no listening socket available, shutting down
      unable to open log

      Hope these information can shed some light about my problem. Thank you.

      Comment


      • #4
        Is anything already listening on the port uberSVN is trying to use?

        sudo netstat -an|grep 8880
        Vince Eagen
        WANdisco, Inc.
        Download SVN | SVN Support | SVN MultiSite

        Comment


        • #5
          Hi Vince,

          The return of "sudo netstat -an|grep 8880" is:
          tcp 0 0 0.0.0.0:8880 0.0.0.0:* LISTEN

          Nelson

          Comment


          • #6
            Hi,

            Use the -p flag for netstat to show what process owns the socket.

            Eg.

            sudo netstat -anp | grep 8880

            Comment


            • #7
              Mat,

              Looks like (see below) it is httpd. It is strange because when I ran "httpdserverctl stop" or "svnservercontrol stop", they both said: httpd (pid 3750?) not runniing. When I ran "httpdserverctl start" or "svnservercontrol start", they both said: (9 Address already in use: make_sock: could not bind to address 0.0.0.0:8880
              no listening socket available, shutting down
              unable to open log


              >>>>>
              sudo netstat -anp | grep 8880
              tcp 0 0 0.0.0.0:8880 0.0.0.0:* LISTEN 3750/httpd
              <<<<<

              Nelson

              Comment


              • #8
                So it seems like you have another, non-uberSVN managed Apache running on that port. You can find out who owns that process by doing:

                ps -ef | grep httpd

                Comment


                • #9
                  Mat,

                  This is what I got back:
                  oracle 1788 1766 0 Jun22 ? 00:00:00 /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache/bin/httpd -d /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache -U 719519767
                  oracle 1948 1788 0 Jun22 ? 00:04:00 /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache/bin/httpd -d /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache -U 719519767
                  oracle 1956 1788 0 Jun22 ? 00:00:15 /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache/bin/httpd -d /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache -U 719519767
                  oracle 1959 1788 0 Jun22 ? 00:00:15 /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache/bin/httpd -d /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache -U 719519767
                  oracle 1962 1788 0 Jun22 ? 00:00:15 /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache/bin/httpd -d /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache -U 719519767
                  oracle 1963 1788 0 Jun22 ? 00:00:15 /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache/bin/httpd -d /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache -U 719519767
                  oracle 1968 1788 0 Jun22 ? 00:00:15 /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache/bin/httpd -d /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache -U 719519767
                  root 3750 1 0 Jun13 ? 00:00:00 /opt/ubersvn/bin/httpd -d /opt/ubersvn/bin/../ -k start
                  ubersvn 3761 3750 0 Jun13 ? 00:00:00 /opt/ubersvn/bin/httpd -d /opt/ubersvn/bin/../ -k start
                  ubersvn 3762 3750 0 Jun13 ? 00:00:00 /opt/ubersvn/bin/httpd -d /opt/ubersvn/bin/../ -k start
                  ubersvn 3763 3750 0 Jun13 ? 00:00:00 /opt/ubersvn/bin/httpd -d /opt/ubersvn/bin/../ -k start
                  ubersvn 3764 3750 0 Jun13 ? 00:00:00 /opt/ubersvn/bin/httpd -d /opt/ubersvn/bin/../ -k start
                  ubersvn 3765 3750 0 Jun13 ? 00:00:00 /opt/ubersvn/bin/httpd -d /opt/ubersvn/bin/../ -k start
                  oracle 4865 1788 0 Jun22 ? 00:00:16 /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache/bin/httpd -d /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache -U 719519767
                  oracle 4878 1788 0 Jun22 ? 00:00:16 /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache/bin/httpd -d /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache -U 719519767
                  oracle 5049 1788 0 Jun22 ? 00:00:16 /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache/bin/httpd -d /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache -U 719519767
                  oracle 5129 1788 0 Jun22 ? 00:00:15 /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache/bin/httpd -d /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache -U 719519767
                  oracle 7814 1788 0 Jun22 ? 00:00:16 /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache/bin/httpd -d /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache -U 719519767
                  ubersvn 8521 3750 0 Jul11 ? 00:00:00 /opt/ubersvn/bin/httpd -d /opt/ubersvn/bin/../ -k start
                  svn 12155 4051 0 13:52 pts/1 00:00:00 grep httpd
                  oracle 18163 1788 0 Jun24 ? 00:00:14 /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache/bin/httpd -d /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache -U 719519767
                  oracle 27056 1788 0 Jun30 ? 00:00:08 /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache/bin/httpd -d /opt/oracle/product/10.1.4.0.1/oid/Apache/Apache -U 719519767
                  ubersvn 31931 3750 0 Jun13 ? 00:00:00 /opt/ubersvn/bin/httpd -d /opt/ubersvn/bin/../ -k start

                  It lists two httpds. Are they competing for port 3750? Is ubersvn httpd actually running? Do I have to use ubersvn httpd? If not, how do I use Oracle's apache httpd? Thank you for your help.

                  Nelson

                  Comment


                  • #10
                    I would leave the oracle apache instance alone unless you're certain there are no important services on that computer using it. Best thing would probably be to change the uberSVN apache port.
                    Vince Eagen
                    WANdisco, Inc.
                    Download SVN | SVN Support | SVN MultiSite

                    Comment


                    • #11
                      Vince,

                      Would you tell me how to change the uberSVN apache port? I could not locate anything close to it in conf/httpd.conf. Thank you.

                      Nelson

                      Comment


                      • #12
                        Hi Nelson,

                        To change the uberSVN Apache port, login to uberSVN as a System Administrator (default user created during install is fine) and go to the Administration > Apache Server tab. There you can change the Apache port. I'd suggest stopping and starting the uberSVN Apache server afterwards (the icons on the top right of the page).

                        After doing this you should be golden.


                        Thanks

                        Wayne

                        Comment

                        Working...
                        X