Skip to content
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

tmux server exited unexpectedly #2376

Closed
link-ding opened this issue Sep 10, 2020 · 6 comments
Closed

tmux server exited unexpectedly #2376

link-ding opened this issue Sep 10, 2020 · 6 comments

Comments

@link-ding
Copy link

Issue description

I used tmux kil-serverl to exit tmux and then terminal shows server exited unexpectedly.

Required information

Please provide the following information:

  • tmux version (tmux -V) : tmux 3.1b
  • Platform (uname -sp) : Darwin i386
  • $TERM inside and outside of tmux (echo $TERM). outside: xterm-256color inside: I can not use tmux now
  • Logs from tmux (tmux kill-server; tmux -vv new). This also gives 'server exited unexpectedly'
@nicm
Copy link
Member

nicm commented Sep 14, 2020

Works OK for me. Does this still happen with master?

If so then please show logs from doing tmux kill-server; tmux -vv new then tmux kill-server.

@nicm nicm closed this as completed Sep 16, 2020
@zfwf
Copy link

zfwf commented Sep 19, 2020

@link-ding I also cannot start tmux with the server existed unexpectedly msg. I fixed it by remove files starting with tmux in /tmp

@casprwang
Copy link

@chhschou
Works like a charm. Curious how did you find/debug this solution. Some cache stored there was interrupting the tmux server start?

@zfwf
Copy link

zfwf commented Oct 30, 2020

@chhschou

Works like a charm. Curious how did you find/debug this solution. Some cache stored there was interrupting the tmux server start?

Hi @casprwang I got this issue after upgrade to tmux 3.1b from 2.9 so I uninstalled and went back to 2.9. The issue still persisted with 2.9 which didn't before so I start to look into /tmp and other file caches, deleting files that looks related to tmux then try restarting tmux until it started. The author of tmux could perhaps document (in a faq or something easy to read) what files are used by tmux so user can do a proper clean uninstall.

@nicm
Copy link
Member

nicm commented Oct 31, 2020

It is documented in the man page.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

4 participants