[GH-ISSUE #8927] The system cannot find the file specified #5792

Closed
opened 2026-04-12 17:08:02 -05:00 by GiteaMirror · 8 comments
Owner

Originally created by @lanxiaoke on GitHub (Feb 7, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/8927

What is the issue?

error starting the external llama server: open NUL: The system cannot find the file specified

Image

Image

Image

Relevant log output


OS

No response
win11

GPU

No response

CPU

No response

Ollama version

latest
No response

Originally created by @lanxiaoke on GitHub (Feb 7, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/8927 ### What is the issue? error starting the external llama server: open NUL: The system cannot find the file specified ![Image](https://github.com/user-attachments/assets/2a0015a4-14ca-4787-a222-6f9c1a592f1f) ![Image](https://github.com/user-attachments/assets/1c67c39e-e953-498c-81a5-f5e255c87d70) ![Image](https://github.com/user-attachments/assets/4c27181c-88a5-42b5-a41a-7dd728967dcc) ### Relevant log output ```shell ``` ### OS _No response_ win11 ### GPU _No response_ ### CPU _No response_ ### Ollama version latest _No response_
GiteaMirror added the bug label 2026-04-12 17:08:02 -05:00
Author
Owner

@rick-github commented on GitHub (Feb 7, 2025):

What happens when you run the following in a command terminal:

echo > nul

or in PowerShell:

echo 1 > $null
<!-- gh-comment-id:2643832446 --> @rick-github commented on GitHub (Feb 7, 2025): What happens when you run the following in a command terminal: ``` echo > nul ``` or in PowerShell: ``` echo 1 > $null ```
Author
Owner

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

What version of Windows and Ollama are you using?

<!-- gh-comment-id:2643915233 --> @mxyng commented on GitHub (Feb 7, 2025): What version of Windows and Ollama are you using?
Author
Owner

@lanxiaoke commented on GitHub (Feb 7, 2025):

What version of Windows and Ollama are you using?

win11

<!-- gh-comment-id:2644062687 --> @lanxiaoke commented on GitHub (Feb 7, 2025): > What version of Windows and Ollama are you using? win11
Author
Owner

@lanxiaoke commented on GitHub (Feb 7, 2025):

What version of Windows and Ollama are you using?

ollama version is latest

<!-- gh-comment-id:2644096417 --> @lanxiaoke commented on GitHub (Feb 7, 2025): > What version of Windows and Ollama are you using? ollama version is latest
Author
Owner

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

ollama version is latest

latest release 0.5.7 or latest main? What's the output of ollama -v

<!-- gh-comment-id:2644197412 --> @mxyng commented on GitHub (Feb 7, 2025): > ollama version is latest latest release 0.5.7 or latest main? What's the output of `ollama -v`
Author
Owner

@lanxiaoke commented on GitHub (Feb 7, 2025):

ollama version is latest

latest release 0.5.7 or latest main? What's the output of ollama -v

0.5.7
sorry for the intermittent link to Github in china

<!-- gh-comment-id:2644216281 --> @lanxiaoke commented on GitHub (Feb 7, 2025): > > ollama version is latest > > latest release 0.5.7 or latest main? What's the output of `ollama -v` 0.5.7 sorry for the intermittent link to Github in china
Author
Owner

@lanxiaoke commented on GitHub (Feb 7, 2025):

What happens when you run the following in a command terminal:

echo > nul

or in PowerShell:

echo 1 > $null

nothing

<!-- gh-comment-id:2644224806 --> @lanxiaoke commented on GitHub (Feb 7, 2025): > What happens when you run the following in a command terminal: > > ``` > echo > nul > ``` > > or in PowerShell: > > ``` > echo 1 > $null > ``` nothing
Author
Owner

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

  1. Can you post the logs of ollama server with OLLAMA_DEBUG=1
  2. It appears you're overriding the default model location with OLLAMA_MODELS. Can you unset this value to use the default configuration?

The models on D: seem to be the problem. From the task manager screenshot, it looks like a partition of an SSD. What filesystem is it?

<!-- gh-comment-id:2644289135 --> @mxyng commented on GitHub (Feb 7, 2025): 1. Can you post the logs of ollama server with `OLLAMA_DEBUG=1` 2. It appears you're overriding the default model location with `OLLAMA_MODELS`. Can you unset this value to use the default configuration? The models on `D:` seem to be the problem. From the task manager screenshot, it looks like a partition of an SSD. What filesystem is it?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#5792