# libtmux.server._is_daemon_not_up_error

- **Module:** libtmux.server
- **Package:** libtmux
- **Language:** Python
- **Kind:** function
- **Source:** https://github.com/tmux-python/libtmux/blob/38e368c11117fb4aeb2f082d552cd4f210eae06a/src/libtmux/server.py#L52
- **Page:** https://libtmux.org/en/py/stable/reference/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)

## Parameters

- `stderr_text` (`str`)
