草庐IT

showToast_fail

全部标签

Failed to create pod sandbox: rpc error: code = Unknown desc = [failed to set up sandbox container

K8S运行一段时间就会出现这样的问题,我也不知道问题出现在哪里,但有两种解决方案,1、重新部署Calico网络插件,但需要定时这么做2、$mv/etc/containerd/config.toml{,.bak}$systemctlrestartcontainerd容器引擎是Docker,虽然不知道为什么要移除Containerd的配置文件,但移除了确实有效果,K8S系统镜像拉不下来也是移除此配置文件,不知道具体原因,希望大佬们能为小弟解答,感激不尽!!

ElasticsearchSecurityException[failed to load SSL configuration [xpack.security.transport.ssl]]

[ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler][master]uncaughtexceptioninthread[main]org.elasticsearch.bootstrap.StartupException:ElasticsearchSecurityException[failedtoloadSSLconfiguration[xpack.security.transport.ssl]];nested:ElasticsearchException[failedtoinitializeSSLTrustManager];nested:I

Error: Failed to download metadata for repo ‘appstream‘: Cannot prepare internal mirrorlist: No URLs

一、原因这是因为Centos8于2021年年底停止了服务,使用yum源安装时候,就会报错:Failedtodownloadmetadataforrepo‘AppStream’:Cannotprepareinternalmirrorlist:NoURLsinmirrorlist”,这时我们需要修改yum源二、解决办法cd/etc/yum.repos.d/sed-i's/mirrorlist/#mirrorlist/g'/etc/yum.repos.d/CentOS-*sed-i's|#baseurl=http://mirror.centos.org|baseurl=http://vault.ce

docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc crea

docker:Errorresponsefromdaemon:failedtocreateshimtask:OCIruntimecreatefailed:runccreatefailed:unabletostartcontainerprocess:报错`errorwhileloadingsharedlibraries:libseccomp.so.2:`使用命令下面的命令查找一下,找打之后copy到`/usr/lib64/`目录下docker:Errorresponsefromdaemon:failedtocreateshimtask:OCIruntimecreatefailed:runccre

鸿蒙运行项目显示error: failed to start ability. Error while Launching activity.

DevEcoStidio使用本地模拟器运行项目显示:error:failedtostartability.ErrorwhileLaunchingactivity.实际上你的项目已经装进了模拟器中,只是模拟器出现了问题。解决方法:使用远程模拟器运行看看重装本地模拟器具体是什么原因造成的我也不知道,但是重装解决了。如果有其他不需要重装的解决方法,欢迎告知。

hive建表报错 FAILED: ParseException line 3:22 mismatched input ‘<EOF>‘ expecting StringLiteral near ‘by‘

错误hive建表报错FAILED:ParseExceptionline3:22mismatchedinput‘’expectingStringLiteralnear‘by’intablerowformat’sfieldseparator详细错误建表语句hive>createexternaltableifnotexistsepidemicStatisticsData(dateRangestring,numberOfAsymptomaticPeopleint,cumulativeNumberOfConfirmedCasesint,cumulativeNumberOfPeopleCuredint,c

harmony鸿蒙Failure[INSTALL_FAILED_INCOMPATIBLE_SIGNATURE] 报错的解决方法

在跑鸿蒙项目在真机上的时候遇到的问题,顺便记录下来使用hdc工具来安装鸿蒙的hap包的时候报错,报错的原因是因为你已经安装过存在手机了,可能项目是服务卡片没有在你的手机桌面上显示。 比如:hdcappinstall-rxxx.hap 解决方法:执行命令,hdc app uninstall com.my.application,这里com.my.application替换成你项目的使用的包名即可,然后再执行hdcappinstall-rxxx.hap安装你的hap包即可哈哈,问题解决~我建了个群欢迎来聊骚啊,解决了问题的话大佬们请给老弟点点赞和关注吧! 

docker-compose 报错failed to solve: rpc error: code = Unknown desc = failed to solve with frontend doc

执行docker-compose up时候,有时候会出现如下报错:failedtosolve:rpcerror:code=Unknowndesc=failedtosolvewithfrontenddockerfile.v0:failedtocreateLLBdefinition:unexpectedstatuscode[manifestslatest]:403Forbidden这个错误据说基本只出现在Windows端,查了一圈的资料,有说是因为win端必须显式声明Dockerfile位置的,可以参考如下连接:SolutionforDockerissuefailedtosolve:rpcerro

idea 2020.3运行dockerfile文件部署出现报错:Failed to deploy ‘服务 Dockerfile: Dockerfile‘: Not connected

在IDEA2020.3修改了Docker服务器的配置之后,运行Dockfile文件,出现如下报错Failedtodeploy'服务Dockerfile:Dockerfile':Notconnected关闭所有项目,重新打开IDEA即可

报错:TestEngine with ID ‘junit-jupiter‘ failed to discover tests

遇到的问题:TestEnginewithID‘junit-jupiter‘failedtodiscovertests解决方法把包importorg.junit.jupiter.api.Test;改成importorg.junit.Test;然后就好了!!!