当前位置:   article > 正文

systemctl daemon-reload不生效排查_systemctl daemon-reload 不生效

systemctl daemon-reload 不生效

1.修改kubelet配置(/etc/systemd/system/kubelet.service)后需要重启,报错Warning: kubelet.service changed on disk. Run 'systemctl daemon-reload' to reload units.

2.执行systemctl daemon-reload,未报错,然后执行systemctl restart kubelet,重启成功,但是依然报错Warning: kubelet.service changed on disk. Run 'systemctl daemon-reload' to reload units.,并且检查修改的配置点未生效;

3.手动启动kubelet,终端错误输出:

error: failed to run Kubelet: failed to create kubelet: failed to listen on "unix:///var/run/dockershim.sock": listen unix /var/run/dockershim.sock: bind: no space left on device

4.df -h检查磁盘空间充足,df -i 检查/run目录下inode100%

5.进入/run目录,执行以下命令逐层查询定位大量文件所在目录

for i in ./*;do echo -ne "$i\t";find $i|wc -l;done

6.确认后删除历史文件;

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/羊村懒王/article/detail/155432
推荐阅读
相关标签
  

闽ICP备14008679号