Tmux new-session returns: “can’t create socket”

byobutmux

I have killed a byobu session accidentally (kill -9 byobuSessionId), and now when I try to start another byobu command fails with "can't create socket".

Also tmux new-session returns: "can't create socket"

I have tried sudo service screen-cleanup start without success !

Any idea how can I solve it ?

Best Answer

Problem occurs maybe by dead tmux process if you check output for strace -f -e trace=file tmux command.

You see socket file created by tmux, in my case is located on /tmp//tmux-1001/default/

You simply delete this file and run again byobu command.

Related Topic