# libtmux.server._is_daemon_not_up_error

- **Module:** libtmux.server
- **Package:** libtmux
- **Language:** Python
- **Kind:** function
- **Source:** https://github.com/tmux-python/libtmux/blob/036c521c4b83ce6e434eb50afe2a0d08a6a05e46/src/libtmux/server.py#L52
- **Page:** https://libtmux.org/reference/py/libtmux-server-_is_daemon_not_up_error/

```
libtmux.server._is_daemon_not_up_error(stderr_text: str) -> bool
```

Return True if the error indicates the tmux server is not running.

tmux signals this in two ways:
1. "no server running" (socket exists but no daemon is listening)
2. "error connecting to ... (No such file or directory)" (socket file is missing)
