docker报以下错误rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connect

在CentOS 7.4系统中,移除cups服务开机自启动后,Docker启动时出现错误,同时使用plsql连接Oracle数据库时收到12514错误,提示没有监听器响应。Docker守护进程报告了与containerd服务通信失败的问题。

linux中centos7.4的去掉cups服务(man cupsd)开机自启动后,docker启动时就报这个错,用plsql连接oracle时报错12514没有listener

Jun 03 07:40:58 localhost.localdomain dockerd[10700]: time="2020-06-03T07:40:58.471935676-04:00" level=error msg="failed to get event" error="rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial unix /run/containerd/containerd.sock: connect: connection refused\"" module=libcontainerd namespace=moby
Jun 03 07:40:58 localhost.localdomain dockerd[10700]: time="2020-06-03T07:40:58.471431070-04:00" level=error msg="failed to get event" error="rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial unix /run/containerd/containerd.sock: connect: connection refused\"" module=libcontainerd namespace=plugins.moby

docker failed killed signed  exit killed

 

[root@0404 ~]# systemctl status dockerdocker.service - Docker Application Container Engine Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled) Active: active (running) since 日 2025-06-08 11:25:00 CST; 45min ago Docs: https://docs.docker.com Main PID: 13844 (dockerd) Tasks: 27 Memory: 279.0M CGroup: /system.slice/docker.service ├─13844 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/con... ├─14946 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-po... └─14952 /usr/bin/docker-proxy -proto tcp -host-ip :: -host-port 27... 6月 08 12:10:39 0404 dockerd[13844]: time="2025-06-08T12:10:39.791256349+08:... 6月 08 12:10:39 0404 dockerd[13844]: time="2025-06-08T12:10:39.792029919+08:... 6月 08 12:10:42 0404 dockerd[13844]: time="2025-06-08T12:10:42.790951361+08:... 6月 08 12:10:42 0404 dockerd[13844]: time="2025-06-08T12:10:42.791697100+08:... 6月 08 12:10:43 0404 dockerd[13844]: time="2025-06-08T12:10:43.792125591+08:... 6月 08 12:10:43 0404 dockerd[13844]: time="2025-06-08T12:10:43.792293242+08:... 6月 08 12:10:46 0404 dockerd[13844]: time="2025-06-08T12:10:46.791733691+08:... 6月 08 12:10:46 0404 dockerd[13844]: time="2025-06-08T12:10:46.792178125+08:... 6月 08 12:10:47 0404 dockerd[13844]: time="2025-06-08T12:10:47.792911404+08:... 6月 08 12:10:47 0404 dockerd[13844]: time="2025-06-08T12:10:47.793449663+08:... Hint: Some lines were ellipsized, use -l to show in full. [root@0404 ~]# # 列出所有系统Pods(需容器运行时正常) [root@0404 ~]# crictl pods -n kube-system Incorrect Usage: invalid value "kube-system" for flag -n: parse error NAME: crictl pods - List pods USAGE: crictl pods command [command options] [arguments...] COMMANDS: help, h Shows a list of commands or help for one command OPTIONS: --id value filter by pod id --label value [ --label value ] filter by key=value label --last value, -n value Show last n recently created pods. Set 0 for unlimited (default: 0) --latest, -l Show the most recently created pod (default: false) --name value filter by pod name regular expression pattern --namespace value filter by pod namespace regular expression pattern --no-trunc Show output without truncating the ID (default: false) --output value, -o value Output format, One of: json|yaml|table (default: "table") --quiet, -q list only pod IDs (default: false) --state value, -s value filter by pod state --verbose, -v show verbose info for pods (default: false) --help, -h show help (default: false) FATA[0000] invalid value "kube-system" for flag -n: parse error [root@0404 ~]# crictl ps -a WARN[0000] runtime connect using default endpoints: [unix:///var/run/dockershim.sock unix:///run/containerd/containerd.sock unix:///run/crio/crio.sock unix:///var/run/cri-dockerd.sock]. As the default settings are now deprecated, you should set the endpoint instead. WARN[0000] image connect using default endpoints: [unix:///var/run/dockershim.sock unix:///run/containerd/containerd.sock unix:///run/crio/crio.sock unix:///var/run/cri-dockerd.sock]. As the default settings are now deprecated, you should set the endpoint instead. E0608 12:12:43.766070 18318 remote_runtime.go:390] "ListContainers with filter from runtime service failed" err="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial unix /var/run/dockershim.sock: connect: no such file or directory\"" filter="&ContainerFilter{Id:,State:nil,PodSandboxId:,LabelSelector:map[string]string{},}" FATA[0000] listing containers: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial unix /var/run/dockershim.sock: connect: no such file or directory"
06-09
评论 2
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值