Svnserve: Can & #39; t bind server socket: Address already in use, svnservebind

Source: Internet
Author: User

Solve svnserve: Can't bind server socket: Address already in use, svnservebind

Recently, I was busy building jenkins system integrated version control and git distributed version control, which involved some svn aspects. Because I was also the first to build svn, it was quite smooth and encountered some minor problems in the middle:

I am using the svn installed by yum. The installation is complete.

/Etc/init. d/svnserve start OK // It seems to have started

Netstat-antple | grep svn

3690 // ah, the port is also available, it seems mean a little

 

However, when using the win client, you may find that errors are reported when you log on to the client.

How can this problem be solved?

Killall svnserve

Svnserve-d-r/opt/svn/repos is successfully started.

Windows client logon is completely OK.

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

Start after creation

# Svnserve-d-r/mnt/westos

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

 

An error is reported. Check it out!

Solution:

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

[Root @ localhost conf] # netstat-antple | grep svn
Tcp 0 0: 3690: * LISTEN 0 125064 7427/svnserve
Tcp 0 0: 3691: * LISTEN 0 125826 7617/svnserve

 

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.

 

You may think that I will kill it and restart it. If the development project is in progress, will you kill it?

 

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.