카테고리 없음

Ollama 에러 llama runner process has terminated: exit status 127

asev 2024. 11. 26. 22:01

 

 

이런 에러에 맞닥뜨렸다 ㅋ...

n@n-S:~$ ollama run llama3.1
Error: llama runner process has terminated: exit status 127

 

잠시는 새로운 환경에서 올라마 설치로 실행되는가 했는데~

curl -fsSL https://ollama.com/install.sh | sh

 

 

이제는 계속 에러가 생긴다. 실제 프로젝트 상황이면 정말 곤란했겠다. 해결책 중 하나는 0.3.6버전으로 다운그레이드!

 

깃허브에 퀵스타트 찾았다~ 한번 읽어보자!!

https://github.com/ollama/ollama/blob/main/README.md#quickstart

 

ollama/README.md at main · ollama/ollama

Get up and running with Llama 3.2, Mistral, Gemma 2, and other large language models. - ollama/ollama

github.com

 

디스코드도 찾아가보고

https://discord.com/channels/1128867683291627614/1151557857846767656

 

Discord - Group Chat That’s All Fun & Games

Discord is great for playing games and chilling with friends, or even building a worldwide community. Customize your own space to talk, play, and hang out.

discord.com

 

 

깃헙 문서에 제거방법

https://github.com/ollama/ollama/blob/main/docs/linux.md

 

ollama/docs/linux.md at main · ollama/ollama

Get up and running with Llama 3.2, Mistral, Gemma 2, and other large language models. - ollama/ollama

github.com

 

Uninstall

Remove the ollama service:

sudo systemctl stop ollama
sudo systemctl disable ollama
sudo rm /etc/systemd/system/ollama.service
 

Remove the ollama binary from your bin directory (either /usr/local/bin, /usr/bin, or /bin):

sudo rm $(which ollama)
 

Remove the downloaded models and Ollama service user and group:

sudo rm -r /usr/share/ollama
sudo userdel ollama
sudo groupdel ollama

 

 

 

v0.3.6버전을 다운받아 재설치하겠습니다~

https://github.com/ollama/ollama/releases?page=2

 

Releases · ollama/ollama

Get up and running with Llama 3.2, Mistral, Gemma 2, and other large language models. - ollama/ollama

github.com

 

 

 

재설치 뒤로도 127에러를 맞닥뜨렸습니다.

가만히 기억하니 snap으로도 설치했던 적이 있었습니다.

sudo snap remove ollama

시간 엄청 걸립니다~

 

*snap 사용법

 -설치 : sudo snap install ollama

 -설치프로그램 : snap list

 -제거 : sudo snap remove 이름