[GH-ISSUE #8813] Error: could not connect to ollama app, is it running? #5717

Closed
opened 2026-04-12 17:00:31 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @nurulhudaarosh on GitHub (Feb 4, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/8813

What is the issue?

ollama run deepseek-r1
Error: could not connect to ollama app, is it running?

OS

Linux

GPU

Nvidia

CPU

Intel

Ollama version

0.5.7

Originally created by @nurulhudaarosh on GitHub (Feb 4, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/8813 ### What is the issue? ollama run deepseek-r1 Error: could not connect to ollama app, is it running? ### OS Linux ### GPU Nvidia ### CPU Intel ### Ollama version 0.5.7
GiteaMirror added the bug label 2026-04-12 17:00:31 -05:00
Author
Owner
<!-- gh-comment-id:2633392621 --> @rick-github commented on GitHub (Feb 4, 2025): https://github.com/ollama/ollama/blob/main/docs/troubleshooting.md#how-to-troubleshoot-issues
Author
Owner

@CYBERTESLA commented on GitHub (Feb 4, 2025):

Just type in "ollama serve"
And open a new terminal.
It should work.

<!-- gh-comment-id:2634176344 --> @CYBERTESLA commented on GitHub (Feb 4, 2025): Just type in "ollama serve" And open a new terminal. It should work.
Author
Owner

@mxyng commented on GitHub (Feb 5, 2025):

Avoid using ollama serve when possible. Seeing as you're on Linux, the suggested method is to use systemd to manage the Ollama server's lifecycle.

If you installed Ollama using the official install script, this should've been set up for you. You can run systemctl status ollama to verify the status. This command may require sudo.

Otherwise, check https://github.com/ollama/ollama/blob/main/scripts/install.sh#L133-L148 for an example systemd service.

<!-- gh-comment-id:2637846237 --> @mxyng commented on GitHub (Feb 5, 2025): Avoid using `ollama serve` when possible. Seeing as you're on Linux, the suggested method is to use systemd to manage the Ollama server's lifecycle. If you installed Ollama using the official install script, this should've been set up for you. You can run `systemctl status ollama` to verify the status. This command may require `sudo`. Otherwise, check https://github.com/ollama/ollama/blob/main/scripts/install.sh#L133-L148 for an example systemd service.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#5717