Svnserve Can't bind server socket Address already in use, svnservebind...

Source: Internet
Author: User

Svnserve Can't bind server socket Address already in use, svnservebind...

Recently, I was busy building jenkins systems to integrate version control and git distributed version control, which involved some svn aspects. Because I also set up svn for the first time, it was quite smooth and encountered some minor problems.

I am using the svn installed by yum. After the configuration is complete, start the SVN service:

/Etc/init. d/svnserve start

Check whether startup is successful:

Netstat-antp | grep svn

Result:

Tcp 0 0 0.0.0.0: 3690 0.0.0.0: * LISTEN 28526/svnserve

The installation and startup are normal.

However, the company certainly won't use only one svn version library, but a sales version library.

Start after creation

Svnserve-d-r/home/data/sales

Result prompt:

Svnserve: Can't bind server socket: Address already in use

This error occurs.

Why? By default, the svn service is started. By default, the system enables port 3690. When you start the second version library, the system still enables port 3690. Therefore, this is a conflict.

After some exploration, the specific solution is as follows:

(1) Turn off the SVN service and restart it.

Killall svnserve

Svnserve-d-r/home/data/sales

(2) Start a new port

Svnserve-d-r/mnt/westos -- listen-port 3691

Use different methods as needed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.