Rancher Server 设置
- Rancher 版本:2.10
- 安装选项 (Docker install/Helm Chart): Docker
- 在线或离线部署:docker一键部署
用户信息
- 登录用户的角色是什么?
admin
主机操作系统:
centsos7.4
问题描述:
添加集群后,复制了注册命令执行后,无法成功。
使用sudo journalctl -u rancher-system-agent.service 查看日志显示以下信息
Failed at step EXEC spawning /usr/local/bin/rancher-system-agent: Text file busy
Dec 05 15:05:47 VM-20-4-centos systemd[1]: rancher-system-agent.service: main process exited, code=exited, status=203/EXEC
Dec 05 15:05:47 VM-20-4-centos systemd[1]: Unit rancher-system-agent.service entered failed state.
Dec 05 15:05:47 VM-20-4-centos systemd[1]: rancher-system-agent.service failed.
Dec 05 15:05:52 VM-20-4-centos systemd[1]: Stopped Rancher System Agent.
Dec 05 15:05:52 VM-20-4-centos systemd[1]: Started Rancher System Agent.
Dec 05 15:05:52 VM-20-4-centos rancher-system-agent[14969]: time="2024-12-05T15:05:52+08:00" level=info msg="Rancher System Agent version v0.3.11
Dec 05 15:05:52 VM-20-4-centos rancher-system-agent[14969]: time="2024-12-05T15:05:52+08:00" level=info msg="Using directory /var/lib/rancher/agen
Dec 05 15:05:52 VM-20-4-centos rancher-system-agent[14969]: time="2024-12-05T15:05:52+08:00" level=info msg="Starting remote watch of plans"
Dec 05 15:05:52 VM-20-4-centos rancher-system-agent[14969]: time="2024-12-05T15:05:52+08:00" level=info msg="Starting /v1, Kind=Secret controller"