【深度学习的linux显卡服务器维护记录】 服务器cuda不能用,nvidia-smi报错“Failed to initialize NVML: Driver/library version mismatch”

 

 

如题,服务器报错:

查看日志:

 

 

 

 

 

发现问题:

Starting Daily apt upgrade and clean activities...

这个 apt upgrade 不是普通的update,  upgrade 会直接引起系统的不稳定, 相关进程或者服务重启。

 

 

 

 

 

 

解决:

sudo apt-get remove unattended-upgrades  (选择y)

 

 

 

sudo su  , 然后复制粘贴:

systemctl kill --kill-who=all apt-daily.service
systemctl stop apt-daily.timer
systemctl disable apt-daily.timer
systemctl stop apt-daily.service
systemctl disable apt-daily.service
systemctl mask apt-daily.service
systemctl daemon-reload

 

 

 

验证:

 

systemctl status apt-daily.timer

 

 

 

注意结果中的:

Active: inactive (dead)

 

 

 

 

 

 

参考文献:

http://www.siwei.me/blog/posts/ubuntu-mysql

 https://www.gongzi.org/disable-daily.html  

 

 

 

=================================================

 

posted on 2021-04-24 16:53  Angry_Panda  阅读(479)  评论(1编辑  收藏  举报

导航