Quick Start Troubleshooting Guide¶
Common Issues & Solutions for Quick Start
Last Updated: 2026-10-22
Reading Time: 5 minutes
Quick Diagnosis¶
Find Your Issue Fast¶
| Symptom | Go To Section |
|---|---|
| Ollama won't install | Installation Issues |
| Model download stuck/fails | Download Problems |
| "Connection refused" error | Connection Issues |
| Out of memory errors | Memory Issues |
| Model runs very slow | Performance Issues |
| Ollama commands not found | Command Not Found |
Installation Issues¶
Issue: "Ollama not found" after installation¶
Windows:
-
Check if Ollama is in PATH:
where ollama -
If not found, add to PATH:
- Search "Environment Variables" in Windows
- Edit PATH variable
- Add:
C:\Users\[YourUser]\AppData\Local\Programs\Ollama - Restart terminal
Mac:
# Check if Ollama is installed
which ollama
# If not found, reinstall
brew reinstall ollama
Linux:
# Check installation
which ollama
# If not found, reinstall
curl -fsSL https://ollama.com/install.sh | sh
Issue: Installation fails halfway¶
Symptoms:
- Download stops at random percentage
- "Network error" or "Connection lost"
Solutions:
-
Check internet connection:
ping google.com -
Try alternative mirror (Linux):
export OLLAMA_HOST=https://ollama.com curl -fsSL https://ollama.com/install.sh | sh -
Disable VPN/Proxy temporarily:
- VPNs can block installation
- Disable and retry
-
Windows - Download manually:
- Download installer from ollama.com
- Run installer as Administrator
Download Problems¶
Issue: Model download stuck at 0%¶
Symptoms:
ollama pull mistral:7bhangs- No progress for minutes
Solutions:
-
Verify Ollama is running:
# Check if ollama process exists ps aux | grep ollama # Mac/Linux tasklist | findstr ollama # Windows -
Start Ollama server:
ollama serve -
In another terminal, pull model:
ollama pull mistral:7b -
Check firewall:
- Windows: Allow Ollama through Windows Firewall
- Mac: Allow in Security & Privacy
- Linux: Check
ufworiptables
Issue: Download very slow¶
Symptoms:
- Download progresses at <1MB/s
- Takes hours for 4GB model
Solutions:
-
Check internet speed:
# Use browser speed test # Or: curl -o /dev/null http://speedtest.tele2.net/10MB.zip -
Try different time of day:
- Off-peak hours (early morning/late night)
- Less network congestion
-
Use smaller model first:
# Try a 2.5GB model instead of 4GB ollama pull phi4-mini -
Check if ISP throttling:
- Some ISPs limit large downloads
- Contact ISP if issue persists
Issue: "Out of disk space"¶
Symptoms:
- "No space left on device"
- Download fails near completion
Solutions:
-
Check available space:
# Mac/Linux df -h # Windows Get-PSDrive -PSProvider FileSystem # wmic was removed in Windows 11 24H2 -
Free up space:
- Delete temporary files
- Empty trash/recycle bin
- Remove old models:
ollama list ollama rm [model-name]
-
Change model storage location:
# Set environment variable export OLLAMA_MODELS=/path/to/large/drive/.ollama/models # Windows: Set in Environment Variables # Variable: OLLAMA_MODELS # Value: D:\.ollama\models
Connection Issues¶
Issue: "Connection refused" when running Ollama¶
Symptoms:
ollama run mistral:7bfails- Error: "connection refused" or "dial tcp: lookup ollama.com"
Solutions:
-
Check if Ollama server is running:
# Windows: Check Task Manager for "ollama app" # Mac/Linux: ps aux | grep ollama -
Start Ollama server:
ollama serve -
Check port 11434 (Ollama's default port):
# Check if port is in use netstat -an | grep 11434 # Mac/Linux netstat -an | findstr 11434 # Windows -
Verify no firewall blocking:
- Windows: Allow Ollama through Windows Firewall
- Mac: System Preferences → Security & Privacy → Firewall
- Linux:
sudo ufw allow 11434
Issue: WSL2 network problems (Windows)¶
Symptoms:
- WSL2 can't access internet
- Ollama works in Windows but not WSL2
Solutions:
-
Restart WSL2:
wsl --shutdown wsl -
Check WSL2 network:
# In WSL2 ping google.com cat /etc/resolv.conf -
Reset WSL2 network:
# In PowerShell (Admin) wsl --shutdown # Delete .wslconfig if exists # Restart WSL2 -
Use Ollama from Windows PowerShell:
- Ollama works fine in Windows
- Use PowerShell instead of WSL2
Memory Issues¶
Issue: "Out of memory" error¶
Symptoms:
- "Cannot allocate memory"
- Model fails to load
- System becomes unresponsive
Solutions:
-
Check available RAM:
# Mac/Linux free -h # Windows systeminfo | findstr "Available Physical Memory" -
Use smaller model:
# Instead of mistral:7b (7B) ollama pull phi4-mini # 3.8B parameters ollama pull gemma3:1b # 1B parameters -
Close other applications:
- Free up RAM by closing browser, other apps
- Check Task Manager / Activity Monitor
-
Adjust Ollama memory settings:
# Set maximum memory (in GB) CUDA_VISIBLE_DEVICES=-1 ollama run mistral:7b # Force CPU mode (NVIDIA) # Limit context length (less memory) ollama run mistral:7b # then in REPL: /set parameter num_ctx 512
Issue: GPU out of memory (VRAM)¶
Symptoms:
- "CUDA out of memory"
- Model loads but fails on inference
Solutions:
-
Check GPU memory:
nvidia-smi -
Use CPU mode:
CUDA_VISIBLE_DEVICES=-1 ollama run mistral:7b -
Use quantized model:
# 4-bit quantization uses less VRAM ollama pull mistral:7b-instruct-q4_0 -
Reduce context size:
ollama run mistral:7b # then in REPL: /set parameter num_ctx 1024
Performance Issues¶
Issue: Model very slow on CPU¶
Symptoms:
- Takes >30 seconds for each response
- 100% CPU usage
Solutions:
-
Use smaller/faster model:
ollama pull phi4-mini ollama run phi4-mini "test" -
Reduce context length:
ollama run phi4-mini # then in REPL: /set parameter num_ctx 512 -
Use quantized model:
ollama pull mistral:7b-instruct-q4_0 -
Accept slower performance:
- CPU mode is 10-20x slower than GPU
- Still usable for learning
Issue: First response very slow¶
Symptoms:
- First prompt takes >1 minute
- Subsequent prompts faster
Explanation:
- First load requires reading model from disk
- Model stays in RAM after first load
Solution:
- This is normal behavior
- Model loads faster on subsequent runs
Command Not Found¶
Issue: 'ollama' command not found¶
Symptoms:
bash: ollama: command not found- Command doesn't autocomplete
Solutions:
-
Check installation:
which ollama # Mac/Linux where ollama # Windows -
Reinstall Ollama:
- Mac:
brew reinstall ollama - Linux:
curl -fsSL https://ollama.com/install.sh | sh - Windows: Re-run installer
- Mac:
-
Add to PATH (if not already):
- Mac/Linux: Add
export PATH="$PATH:/usr/local/bin" - Windows: Add Ollama path to Environment Variables
- Mac/Linux: Add
-
Restart terminal:
- Close and reopen terminal
- Or run:
source ~/.bashrcorsource ~/.zshrc
Still Stuck?¶
Complete Reset¶
If nothing works, perform complete reset:
1. Uninstall Ollama completely:
Mac:
brew uninstall ollama
rm -rf ~/.ollama
Linux:
rm -rf /usr/local/bin/ollama
rm -rf ~/.ollama
Windows:
- Uninstall via Apps & Features
- Delete
%USERPROFILE%\.ollama
2. Reinstall:
- Follow QUICK-START.md from scratch
3. Test with smallest model:
ollama pull phi4-mini
ollama run phi4-mini "test"
Get Help¶
Additional Resources¶
- Official Ollama Docs: https://docs.ollama.com
- Ollama GitHub Issues: https://github.com/ollama/ollama/issues
- Minder Academy Setup Guide: ENVIRONMENT-SETUP.md
- Environment Lab: LAB-000-ENVIRONMENT-SETUP.md
Common Error Messages¶
| Error | Most Likely Cause | Solution |
|---|---|---|
| "command not found" | Not in PATH | Reinstall or add to PATH |
| "connection refused" | Ollama not running | Run ollama serve |
| "out of memory" | Insufficient RAM | Use smaller model |
| "no space left" | Disk full | Free up space |
| "network unreachable" | No internet | Check connection |
Verification Checklist¶
After troubleshooting, verify:
-
ollama --versionworks -
ollama servestarts without errors -
ollama listshows installed models -
ollama run phi4-mini "test"generates response
All checks pass? You're ready! Continue with TUTORIAL-001-Hello-LLM.md
Still having issues? Join our community or check the complete setup guide.