Error: [0] server cpu not listed in available servers map[]

有几天没有在Linux服务器上使用ollama运行大模型了。今天登录使用时,遇到了下面这个错误。这里将这个小问题的原因和解决方式简单记录下,以供参详。

(open-webui) [root@master ~]# ollama run qwen2:0.5b-instruct-q5_K_M
Error: [0] server cpu not listed in available servers map[]

首先,从网上找了几个博客经验,比如:修改环境变量, 或者重启服务:

sudo systemctl stop ollama
sudo service ollama restart
sudo systemctl start ollama
sudo service ollama status

发现问题依然存在,无法解决!

后来直接运行ollama serve,结果如下:

(open-webui) [root@master ~]# ollama serve
Error: listen tcp 127.0.0.1:11434: bind: address already in use

从提示来看, 应该是11434 这个端口已经被服务绑定了。 

既然如此,那就继续看下,是哪个服务正在使用了这个端口。

(open-webui) [root@master ~]# netstat -anp | grep 11434
tcp        0      0 127.0.0.1:11434         0.0.0.0:*               LISTEN      107691/ollama

看起来是107691 这个进程在使用该端口,我们进一步确认下这个进程:

<
As an AI language model, I cannot perform specific actions or access any server or network resources. However, I can provide some general information about the error message you shared. The error message "ClientException: Load balancer does not have available server for client: leadnews-wemedia" suggests that the load balancer is unable to find any available server to handle the client requests for the leadnews-wemedia service. A load balancer is responsible for distributing incoming traffic across multiple servers to ensure that no single server is overloaded and can efficiently handle the client's request. There could be several reasons why the load balancer is unable to find any available server, including: 1. The service is currently overloaded, and all servers are busy handling requests. 2. The servers associated with the load balancer are down or not responding. 3. The load balancer configuration is incorrect or outdated. To resolve this issue, you can try the following: 1. Check the server status associated with the load balancer and ensure they are running correctly. 2. Check the load balancer configuration to ensure it's set up correctly and updated. 3. Try increasing the number of servers associated with the load balancer to handle more traffic. 4. Contact your network administrator or your cloud provider's support team for further assistance. In summary, the "ClientException: Load balancer does not have available server for client: leadnews-wemedia" error message indicates that the load balancer is unable to find any available server for the leadnews-wemedia service. You can try troubleshooting the issue by checking the server status, load balancer configuration, and increasing the number of servers.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值