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.