OD OllamaDoctor
REFERENCE DIRECTORY · LOGS & ERRORS

Ollama Windows Error Codes & Log Messages Directory

By Support Engineering Team Updated: October 30, 2026 Error Directory Log Parsing PowerShell Fixes Read Time: 15 min

When Ollama fails to run, it writes concise error messages to your terminal console and appends detailed debugging stacks to %LOCALAPPDATA%\Ollama\server.log. This master reference documents every common Windows error string, the underlying hardware or software root cause, and the exact PowerShell command to resolve it.

How to Read Your Live Ollama Windows Log

To inspect your active server logs without manually navigating nested AppData folders, execute this in PowerShell:

Get-Content "$env:LOCALAPPDATA\Ollama\server.log" -Tail 50

To follow the log stream in real time while reproducing an error:

Get-Content "$env:LOCALAPPDATA\Ollama\server.log" -Wait -Tail 20

Master Error Directory

1. CUDA error: out of memory (error 2)

Where it appears: Terminal output or server.log during model load or generation.

Cause: The combined footprint of the GGUF model weights, the active context window KV cache, and other background Windows processes exceeded dedicated physical GPU VRAM.

Solution: Lower the context window length or switch to a more quantized model. Check our VRAM Calculator to verify model fit.

# Build with constrained 4k context:
ollama run llama3.1:8b --verbose

2. listen tcp 127.0.0.1:11434: bind: Only one usage of each socket address is normally permitted

Where it appears: When running ollama serve in PowerShell.

Cause: Ollama is already running in the background via the Windows System Tray app or as an unattended service.

Solution: You do not need to manually run ollama serve if the tray icon is active. If you want to restart it cleanly, terminate existing instances:

Stop-Process -Name ollama* -Force -ErrorAction SilentlyContinue

3. The term 'ollama' is not recognized as the name of a cmdlet

Where it appears: PowerShell console when typing any ollama command.

Cause: Ollama's program directory is missing from the Windows User PATH environment variable.

Solution: Permanently register the folder in your PATH:

[Environment]::SetEnvironmentVariable('Path', $env:Path + ";$env:LOCALAPPDATA\Programs\Ollama", 'User')

4. pull model manifest: unexpected EOF

Where it appears: During ollama pull or ollama run on new models.

Cause: Network packet interruption, unstable Wi-Fi, or corporate firewall dropping large HTTP chunk downloads.

Solution: Ollama supports resuming. Simply run the pull command again to resume from the last completed layer blob:

ollama pull llama3.1:8b

5. no compatible GPU detected, using CPU runner

Where it appears: In server.log during startup.

Cause: Outdated NVIDIA driver (< 535), GPU compute capability < 5.0, or Windows dual-GPU laptop routing Ollama to an integrated Intel/AMD GPU.

Solution: Update your graphics driver to Game Ready 550+ and set Ollama to "High performance" in Windows Graphics Settings. Read our GPU Detection Guide.

6. A dynamic link library (DLL) initialization routine failed (Error 1114)

Where it appears: When starting ollama_llama_server.exe on hybrid laptop graphics.

Cause: Windows Power Saving plan powered down the discrete NVIDIA GPU while Ollama tried to bind nvcuda.dll.

Solution: In Windows Control Panel > Power Options, set your plan to High Performance or configure discrete GPU global power mode in NVIDIA Control Panel to "Prefer maximum performance".

7. download failed: no space left on device

Where it appears: Downloading large 14B, 32B, or 70B models.

Cause: Your primary C: drive ran out of unallocated disk space.

Solution: Relocate your models library to a secondary SSD drive using OLLAMA_MODELS:

[Environment]::SetEnvironmentVariable('OLLAMA_MODELS', 'D:\OllamaModels', 'User')

8. dial tcp 127.0.0.1:11434: connectex: No connection could be made because the target machine actively refused it

Where it appears: When running CLI commands or third-party web UIs.

Cause: The Ollama daemon process is not running or crashed on startup.

Solution: Launch the Ollama tray app from your Start Menu, or manually start it:

Start-Process "$env:LOCALAPPDATA\Programs\Ollama\ollama.exe" "serve" -WindowStyle Hidden

Frequently Asked Questions

Where can I report an unlisted Ollama error?

Visit our Contact & Feedback page or submit an issue directly to the official open-source repository at github.com/ollama/ollama/issues.

How do I reset all Ollama settings on Windows completely?

Quit Ollama, remove all OLLAMA_* environment variables, and delete the %LOCALAPPDATA%\Ollama folder. Your models in %USERPROFILE%\.ollama\models will remain untouched.

← GPU Detection Guide Open VRAM Calculator →
Advertisement