[GH-ISSUE #3908] Issue in running any model #28180

Closed
opened 2026-04-22 06:02:39 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @jenil0108 on GitHub (Apr 25, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/3908

What is the issue?

Previously I was able to run llama2 normally. But ever since llama3 came i am not able to run llama2 or llama3. On performing ollama run llama2 i get the following error.

Error: error starting the external llama server: exec: "ollama_llama_server": executable file not found in $PATH

I looked through some previous issues which stated to reinstall ollama, restart ollama via brew services restart ollama.
Both give the same error.
I also tried running ollama serve, which gives the following error

Error: listen tcp 127.0.0.1:11434: bind: address already in use.

Had found the same issue on another bug report which was closed saying issue solved with merge. But still having the same issue.
One suggestion i had seen was setting the ollama_path manually by export OLLAMA_HOST = localhost: 8.8.8.8.
After which i could perform ollama serve.
But then when i do run the ollama run llama2 on a separate window

I get the following error

pulling manifest
Error: pull model manifest: file does not exist

But on doing ollama list i clearly see both the models there.
Also tried pulling the models again but still no progress.

I am using Macbook M3 Pro and cli i am using is iterm2.

OS

macOS

GPU

Apple

CPU

Apple

Ollama version

0.1.32

Originally created by @jenil0108 on GitHub (Apr 25, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/3908 ### What is the issue? Previously I was able to run llama2 normally. But ever since llama3 came i am not able to run llama2 or llama3. On performing ollama run llama2 i get the following error. `Error: error starting the external llama server: exec: "ollama_llama_server": executable file not found in $PATH` I looked through some previous issues which stated to `reinstall ollama`, restart ollama via `brew services restart ollama`. Both give the same error. I also tried running `ollama serve`, which gives the following error `Error: listen tcp 127.0.0.1:11434: bind: address already in use.` Had found the same issue on another bug report which was closed saying issue solved with merge. But still having the same issue. One suggestion i had seen was setting the ollama_path manually by `export OLLAMA_HOST = localhost: 8.8.8.8`. After which i could perform `ollama serve`. But then when i do run the `ollama run llama2` on a separate window I get the following error ``` pulling manifest Error: pull model manifest: file does not exist ``` But on doing `ollama list` i clearly see both the models there. Also tried pulling the models again but still no progress. I am using Macbook M3 Pro and cli i am using is iterm2. ### OS macOS ### GPU Apple ### CPU Apple ### Ollama version 0.1.32
GiteaMirror added the bug label 2026-04-22 06:02:39 -05:00
Author
Owner

@TakaWakiyama commented on GitHub (May 2, 2024):

I encountered the same problem.
In my case, the problem was solved after I entered the following command.

$ brew install ollama 
> Warning: Treating ollama as a formula. For the cask, use homebrew/cask/ollama or specify the `--cask` flag.
Warning: ollama 0.1.32 is already installed, it's just not linked.
To link this version, run:
  brew link ollama

$  brew link --overwrite  ollama

> Linking /usr/local/Cellar/ollama/0.1.32... 1 symlinks created.
<!-- gh-comment-id:2089832374 --> @TakaWakiyama commented on GitHub (May 2, 2024): I encountered the same problem. In my case, the problem was solved after I entered the following command. ``` $ brew install ollama > Warning: Treating ollama as a formula. For the cask, use homebrew/cask/ollama or specify the `--cask` flag. Warning: ollama 0.1.32 is already installed, it's just not linked. To link this version, run: brew link ollama $ brew link --overwrite ollama > Linking /usr/local/Cellar/ollama/0.1.32... 1 symlinks created. ```
Author
Owner

@jmorganca commented on GitHub (May 6, 2024):

Hi there, this should be fixed as of 0.1.33+. Sorry about the issue!

<!-- gh-comment-id:2097066281 --> @jmorganca commented on GitHub (May 6, 2024): Hi there, this should be fixed as of 0.1.33+. Sorry about the issue!
Author
Owner

@xianengqi commented on GitHub (Aug 2, 2024):

Thanks for you. brew services restart ollama solved my problem.
I encounter problem is Error: error starting the external llama server: fork/exec /var/folders/9r/67wg5p_10bsglfgr7trswysc0000gn/T/ollama1123600442/runners/metal/ollama_llama_server: no such file or directory
but I run brew services restart ollama Done problem. Thanks~

<!-- gh-comment-id:2264879284 --> @xianengqi commented on GitHub (Aug 2, 2024): Thanks for you. `brew services restart ollama` solved my problem. I encounter problem is `Error: error starting the external llama server: fork/exec /var/folders/9r/67wg5p_10bsglfgr7trswysc0000gn/T/ollama1123600442/runners/metal/ollama_llama_server: no such file or directory` but I run `brew services restart ollama` Done problem. Thanks~
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#28180