[GH-ISSUE #10996] 0.9.0 Permission denied with embedding model--quentinz/bge-large-zh-v1.5:latest #7251

Closed
opened 2026-04-12 19:17:42 -05:00 by GiteaMirror · 7 comments
Owner

Originally created by @goactiongo on GitHub (Jun 6, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/10996

What is the issue?

llama runner process has terminated: error:status: Permission denied [/usr/local/lib/ollama/cuda_v11/libggml-blas.so]

Jun 06 13:49:12 ai001 ollama[31109]: time=2025-06-06T13:49:12.902Z level=ERROR source=server.go:457 msg="llama runner terminated" error="exit status 2"
Jun 06 13:49:13 ai001 ollama[31109]: time=2025-06-06T13:49:13.098Z level=ERROR source=sched.go:489 msg="error loading llama server" error="llama runner process has terminated: error:status: Permission denied [/usr/local/lib/ollama/cuda_v11/libggml-blas.so]"

Relevant log output


OS

Ubuntu 22.04.5 LTS

GPU

L20

CPU

X86

Ollama version

0.90

Originally created by @goactiongo on GitHub (Jun 6, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/10996 ### What is the issue? llama runner process has terminated: error:status: Permission denied [/usr/local/lib/ollama/cuda_v11/libggml-blas.so] Jun 06 13:49:12 ai001 ollama[31109]: time=2025-06-06T13:49:12.902Z level=ERROR source=server.go:457 msg="llama runner terminated" error="exit status 2" Jun 06 13:49:13 ai001 ollama[31109]: time=2025-06-06T13:49:13.098Z level=ERROR source=sched.go:489 msg="error loading llama server" error="llama runner process has terminated: error:status: Permission denied [/usr/local/lib/ollama/cuda_v11/libggml-blas.so]" ### Relevant log output ```shell ``` ### OS Ubuntu 22.04.5 LTS ### GPU L20 ### CPU X86 ### Ollama version 0.90
GiteaMirror added the bug label 2026-04-12 19:17:42 -05:00
Author
Owner

@rick-github commented on GitHub (Jun 6, 2025):

What's the output of:

p="/usr/local/lib/ollama/cuda_v11/libggml-blas.so"; ls -ld / $(while [ "$p" != "/" ]; do echo "$p"; p=$(dirname "$p"); done | tac)
<!-- gh-comment-id:2949373842 --> @rick-github commented on GitHub (Jun 6, 2025): What's the output of: ``` p="/usr/local/lib/ollama/cuda_v11/libggml-blas.so"; ls -ld / $(while [ "$p" != "/" ]; do echo "$p"; p=$(dirname "$p"); done | tac) ```
Author
Owner

@goactiongo commented on GitHub (Jun 6, 2025):

ollama.log log attached...

<!-- gh-comment-id:2949442777 --> @goactiongo commented on GitHub (Jun 6, 2025): [ollama.log](https://github.com/user-attachments/files/20630100/ollama.log) log attached...
Author
Owner

@goactiongo commented on GitHub (Jun 6, 2025):

(base) root@ai001:/tmp# p="/usr/local/lib/ollama/cuda_v11/libggml-blas.so"; ls -ld / $(while [ "$p" != "/" ]; do echo "$p"; p=$(dirname "$p"); done | tac)
ls: cannot access '/usr/local/lib/ollama/cuda_v11/libggml-blas.so': No such file or directory
drwxr-xr-x 24 root root 4096 Jun 6 04:09 /
drwxr-xr-x 14 root root 4096 Sep 11 2024 /usr
drwxr-xr-x 18 root root 4096 Jun 6 04:20 /usr/local
drwxr-xr-x 4 root root 4096 Jun 6 12:21 /usr/local/lib
drwxr-xr-x 3 root root 4096 Jun 6 12:23 /usr/local/lib/ollama
drwx------ 2 root root 4096 Jun 6 12:23 /usr/local/lib/ollama/cuda_v11

<!-- gh-comment-id:2949447668 --> @goactiongo commented on GitHub (Jun 6, 2025): (base) root@ai001:/tmp# p="/usr/local/lib/ollama/cuda_v11/libggml-blas.so"; ls -ld / $(while [ "$p" != "/" ]; do echo "$p"; p=$(dirname "$p"); done | tac) ls: cannot access '/usr/local/lib/ollama/cuda_v11/libggml-blas.so': No such file or directory drwxr-xr-x 24 root root 4096 Jun 6 04:09 / drwxr-xr-x 14 root root 4096 Sep 11 2024 /usr drwxr-xr-x 18 root root 4096 Jun 6 04:20 /usr/local drwxr-xr-x 4 root root 4096 Jun 6 12:21 /usr/local/lib drwxr-xr-x 3 root root 4096 Jun 6 12:23 /usr/local/lib/ollama drwx------ 2 root root 4096 Jun 6 12:23 /usr/local/lib/ollama/cuda_v11
Author
Owner

@rick-github commented on GitHub (Jun 6, 2025):

drwx------ 2 root root 4096 Jun 6 12:23 /usr/local/lib/ollama/cuda_v11

Fix the permissions.

<!-- gh-comment-id:2949449733 --> @rick-github commented on GitHub (Jun 6, 2025): ``` drwx------ 2 root root 4096 Jun 6 12:23 /usr/local/lib/ollama/cuda_v11 ``` Fix the permissions.
Author
Owner

@goactiongo commented on GitHub (Jun 6, 2025):

Thanks.Works well with following procedure, What caused the permission error?
(base) root@ai001:/usr/local/lib/ollama# chmod 777 cuda_v11/
(base) root@ai001:/usr/local/lib/ollama# ll
total 12
drwxr-xr-x 3 root root 4096 Jun 6 12:23 ./
drwxr-xr-x 4 root root 4096 Jun 6 12:21 ../
drwxrwxrwx 2 root root 4096 Jun 6 12:23 cuda_v11/

<!-- gh-comment-id:2949462360 --> @goactiongo commented on GitHub (Jun 6, 2025): Thanks.Works well with following procedure, What caused the permission error? (base) root@ai001:/usr/local/lib/ollama# chmod 777 cuda_v11/ (base) root@ai001:/usr/local/lib/ollama# ll total 12 drwxr-xr-x 3 root root 4096 Jun 6 12:23 ./ drwxr-xr-x 4 root root 4096 Jun 6 12:21 ../ drwxrwxrwx 2 root root 4096 Jun 6 12:23 cuda_v11/
Author
Owner

@rick-github commented on GitHub (Jun 6, 2025):

Probably a failed install, because your ll shows only a cuda_v11 directory, when there is usually also a cuda_v12 directory. I recommend re-running the install script.

<!-- gh-comment-id:2949488723 --> @rick-github commented on GitHub (Jun 6, 2025): Probably a failed install, because your `ll` shows only a `cuda_v11` directory, when there is usually also a `cuda_v12` directory. I recommend re-running the install script.
Author
Owner

@goactiongo commented on GitHub (Jun 6, 2025):

thanks

<!-- gh-comment-id:2949939538 --> @goactiongo commented on GitHub (Jun 6, 2025): thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#7251