macossvnsvnserve

Subversion EADDRINUSE on Mac


I have a subversion server (accessed by svn://server/directory) that I've been using for years from multiple Windows systems. I'm now doing some development on a Mac, and cannot get svn to access that server, even with a simple command such as

svn list svn://server/directory

(server and directory names change to protect the guilty)

All svn commands hang and have to be killed. (^c doesn't work, I have to ^z and kill...) Checking the console tool the last message is:

kernel: tcp_connect: inp=0xffffff801db54ac0 err=EADDRINUSE

Checking the server, the svnserve process is listening on port 3690. So I did a netstat -a on my mac, and there is nothing listed for port 3690.

That's the end of the hints I've found in a couple hours of searching. Any help would be greatly appreciated!

Thanks!


Solution

  • Solved! I have a DNS lookup problem. If I ping my server system, the address it tries to contact is not the IP address of that system. I added the hostname into my /etc/hosts table and voila! It now works.

    Whew!