-
-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to run ydotoold
: failed to bind socket: Address already in use
#161
Comments
And how I know which address and port are used by |
+1 I'm having the same issue, I've also tried to reboot but the issue persists |
You need to delete socket file from /tmp,
I am not knowledgeable enough to set this properly for ydotoold to start automatically and wit correct permission as well as clean the socket at the end or kill or crash. |
I looked at the manual of this tool, as we all should do and found the solution:
|
I don't see how these are related to the solution, you didn't provide what the arguments should be changed to. Or are you just saying that the default values are the problem? |
Well, I assume, that should be quite simple. If you use option --socket-perm and you extend permission to write also for your user group, than this socket file, if existed after crash of ydotoold could be removed and recreated also by other user. Depends how do you start the daemon ydotoold you can also place the socket into your own user's temporary folder, or leave it in /tmp (which is cleaned up at the systems reboot) and name it with your user name in it and writing permission for your user so you can also clean it after ydotoold restarts or starts again after crash. |
This comment was marked as off-topic.
This comment was marked as off-topic.
The socket error handling is improved and more user friendly in the latest release. Please test it and report any more problems in a new issue. |
You might need to enable / start the
I'm using Rencently, |
$ ydotoold
failed to bind socket: Address already in use
fish: Job 1, 'ydotoold' terminated by signal SIGABRT (Abort)
I can't find any process related to
ydotoold
in theps -ef
andnetstats -lnpa
. So I don't know which app is using the port that ydotool uses.The text was updated successfully, but these errors were encountered: