tmux
tmux copied to clipboard
after some time get `no server running on /tmp/tmux-0/default`
My usecase is:
- I run on a tmux session as root a long rsync, then detach.
- I right away I attach back it work well
- But if I try to attach again the day after I get this error:
root@NAS:~# tty
/dev/pts/3
root@NAS:~# tmux ls
no server running on /tmp/tmux-0/default
root@NAS:~#
root@NAS:~# ll /tmp/tmux-0/
total 0
srw-rw---- 1 root root 0 Mar 16 17:36 default
drwx------ 2 root root 60 Mar 16 17:36 .
drwxrwxrwt 11 root root 1.7K Mar 17 10:36 ..
root@NAS:~#
here is where the tmux is installed in synology, there is no .tmux.conf
root@NAS:~# which tmux
/usr/local/bin/tmux
root@NAS:~# ls /usr/local/bin/tmux -la
lrwxrwxrwx 1 root root 29 Mar 11 23:05 /usr/local/bin/tmux -> /usr/local/tmux/bin/tmux-utf8
root@NAS:~# ls $HOME/.tmux*
ls: cannot access /root/.tmux*: No such file or directory
root@NAS:~#
By the way the rsync process is still running (I see it on top)
How you have installed tmux in NAS
using the software center