Fatal IO error 104 (Connection reset by peer) on X server

本文档指导如何在安全模式下备份并编辑X11的配置文件xorg.conf。具体步骤包括使用sudo命令进行权限提升,备份原有配置文件,并通过gedit编辑器修改配置文件中的'Screen'部分。

在安全模式下执行:
cd /etc/X11 /*********X11的X是大写的
sudo cp xorg.conf xcorg.conf_back/*******作备份
sudo gedit xorg.conf/********编辑xorg
找到 :Section "Screen"这行。
把Identifier 这行改成以下,,,
Identifier "Default Screen"
/********** ~~因为有备份所以放心 *****/



root@cka-master:~# modprobe br_netfilter root@cka-master:~# kubeadm init --config kubead m.yaml [init] Using Kubernetes version: v1.32.0 [preflight] Running pre-flight checks [WARNING SystemVerification]: cgroups v 1 support is in maintenance mode, please migrat e to cgroups v2 [preflight] Pulling images required for setting up a Kubernetes cluster [preflight] This might take a minute or two, de pending on the speed of your internet connectio n [preflight] You can also perform this action be forehand using 'kubeadm config images pull' error execution phase preflight: [preflight] Some fatal errors occurred: [ERROR ImagePull]: failed to pull image registry.cn-hangzhou.aliyuncs.com/google_containers /kube-apiserver:v1.32.0: failed to pull image registry.cn-hangzhou.aliyuncs.com/google_containers/k ube-apiserver:v1.32.0: error pulling image configuration: download failed after attempts=6: read tc p 192.168.30.130:44340->124.160.145.45:80: read: connection reset by peer [ERROR ImagePull]: failed to pull image registry.cn-hangzhou.aliyuncs.com/google_containers /kube-controller-manager:v1.32.0: failed to pull image registry.cn-hangzhou.aliyuncs.com/google_con tainers/kube-controller-manager:v1.32.0: error pulling image configuration: download failed after a ttempts=6: read tcp 192.168.30.130:33568->124.160.145.45:80: read: connection reset by peer [ERROR ImagePull]: failed to pull image registry.cn-hangzhou.aliyuncs.com/google_containers /kube-scheduler:v1.32.0: failed to pull image registry.cn-hangzhou.aliyuncs.com/google_containers/k ube-scheduler:v1.32.0: error pulling image configuration: download failed after attempts=6: read tc p 192.168.30.130:35120->124.160.145.45:80: read: connection reset by peer [ERROR ImagePull]: failed to pull image registry.cn-hangzhou.aliyuncs.com/google_containers /kube-proxy:v1.32.0: failed to pull image registry.cn-hangzhou.aliyuncs.com/google_containers/kube- proxy:v1.32.0: error pulling image configuration: download failed after attempts=6: read tcp 192.16 8.30.130:58008->124.160.145.45:80: read: connection reset by peer [ERROR ImagePull]: failed to pull image registry.cn-hangzhou.aliyuncs.com/google_containers /coredns:v1.11.3: failed to pull image registry.cn-hangzhou.aliyuncs.com/google_containers/coredns: v1.11.3: error pulling image configuration: download failed after attempts=6: read tcp 192.168.30.1 30:50124->124.160.145.45:80: read: connection reset by peer [ERROR ImagePull]: failed to pull image registry.cn-hangzhou.aliyuncs.com/google_containers /pause:3.10: failed to pull image registry.cn-hangzhou.aliyuncs.com/google_containers/pause:3.10: e rror pulling image configuration: download failed after attempts=6: read tcp 192.168.30.130:33184-> 124.160.145.45:80: read: connection reset by peer [ERROR ImagePull]: failed to pull image registry.cn-hangzhou.aliyuncs.com/google_containers /etcd:3.5.16-0: failed to pull image registry.cn-hangzhou.aliyuncs.com/google_containers/etcd:3.5.1 6-0: error pulling image configuration: download failed after attempts=6: read tcp 192.168.30.130:5 9094->124.160.145.45:80: read: connection reset by peer [preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight -errors=...` To see the stack trace of this error execute with --v=5 or higher root@cka-master:~# kubeadm config images pull found multiple CRI endpoints on the host. Please define which one do you wish to use by setting the 'criSocket' field in the kubeadm configuration file: unix:///var/run/containerd/containerd.sock, unix:///var/run/cri-dockerd.sock To see the stack trace of this error execute with --v=5 or higher root@cka-master:~# cat /etc/crictl.yaml runtime-endpoint: "unix:///run/cri-dockerd.sock" image-endpoint: "" timeout: 0 debug: false pull-image-on-create: false disable-pull-on-run: false 帮我分析以上集群部署时出现的问题,该如何解决
最新发布
09-29
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值