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?