- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
From what I understand from the thread below, it seems that the port that you are trying to allocate is already occupied.
Try to stop any process that uses the specific port.
https://stackoverflow.com/questions/15198834/bind-failed-address-already-in-use
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For the second question, try to check whether the file path name is correct (no typo) and the file do exist in the specific folder.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May I know does my latest replies help in your inquiries?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have yet to receive any response from you to the previous question/reply/answer that I have provided but I believed that I have answered your question.
With that, I will now transition this thread to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.
Best Regards,
Richard Tan
p/s: If any answer from the community or Intel support are helpful, please feel free to give Kudos.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found this discussion because I experience a similar problem (address already in use) trying to run vsim. Looking at the system calls made by vsim, it may be related to a host lookup, but I don't know why. It tries to bind the socket to a port itself already uses since a call made immediately beforehand. How can I find out what it's trying to do? What for is that socket connection? Excerpt from strace (it does more, including setting SO_REUSEADDR, but it doesn't seem to help):
socket(AF_INET, SOCK_STREAM, IPPROTO_TCP) = 11
...
setsockopt(11, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(11, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
getsockname(11, {sa_family=AF_INET, sin_port=htons(44223), sin_addr=inet_addr("127.0.0.1")}, [128->16]) = 0
listen(11, 128) = 0
socket(AF_INET, SOCK_STREAM, IPPROTO_TCP) = 12
...
setsockopt(12, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(12, {sa_family=AF_INET, sin_port=htons(44223), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EADDRINUSE
close(12) = 0
close(11) = 0
Regards,
Kolja
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Solved:
With the final hint from https://community.intel.com/t5/Intel-Quartus-Prime-Software/Modelsim-crash-in-ubuntu-12-04/m-p/136674 ("Modelsim crash in ubuntu 12.04"), I found that in my /etc/hosts there were two redundant entries
127.0.0.1 localhost
127.0.0.1 localhost
After simply removing one of the lines, vsim runs without problems.
Kolja

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page