Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to accept socket connection. It looks like Zeus is already running. If not, remove .zeus.sock and try again

Zeus is a great tool when working on a fairly large Rails projects to lower the load time of Rails application and running the test suite. However after sometime I have started to face this problem with all my projects on starting zeus:

enter image description here

I did some research and also tried some of resources to resolve this error but none of them worked. I would be thankful if somebody can point me to the right direction to resolve this issue.

I am on a Mac OSX 10.8.2

Thanks

like image 580
Smoke Avatar asked Jul 13 '13 12:07

Smoke


3 Answers

It's also possible you're in the wrong directory or a directory without a Rails app in it :)

like image 125
BF4 Avatar answered Oct 21 '22 17:10

BF4


The two comments actually pointed me to the right direction:

If ls-a shows .zeus.sock file than doing a simple remove resolves the issue like this :

rm .zeus.sock
like image 37
Smoke Avatar answered Oct 21 '22 18:10

Smoke


This is solved, but still is very high in google for that particular error, so in hopes of helping someone:

The error can also happen if you're trying to run zeus from a shared directory - for example inside vagrant environment. Use the ZEUSSOCK environment variable to move the sock somewhere else (like /tmp).

See this.

like image 3
Barnaba Avatar answered Oct 21 '22 16:10

Barnaba