• 2024-07-01一、errno perror strerror的使用
    在Linux中,errno是一个非常重要的全局变量,用于存储系统调用的错误代码。以下是关于errno的详细解释:定义和用途:1.errno是一个预定义的外部整型(int)变量,通常包含在<errno.h>头文件中。2.当系统调用或库函数发生错误时,它们通常会设置errno以指示发生了哪种错误。3.errno的值仅在函
  • 2024-06-24fdisk时WARNING: Re-reading the partition table failed with error 16: 设备或资源忙 的问题解决方案
    WARNING:Re-readingthepartitiontablefailedwitherror16:设备或资源现象:划分磁盘有警告, WARNING:Re-readingthepartitiontablefailedwitherror16:设备或资源忙.Thekernelstillusestheoldtable.Thenewtablewillbeusedatthenextrebootoraft
  • 2024-06-24centos7禁止 SSH 登录失败超过30次的IP
    使用firewalld禁止SSH登录失败超过30次的IP概述在CentOS7中,一般默认安装了firewalld动态添加失败登录超过30次的IP地址到防火墙规则中,禁止这些IP的访问。编写和使用脚本,通过firewalld来实现;注意iptables不适用,但大差不差。步骤1.安装firewalld确保firewalld已
  • 2024-06-24【鸿蒙】ERROR_GET_BUNDLE_INSTALLER_FAILED
    错误信息[ERROR_GET_BUNDLE_INSTALLER_FAILED]Troubleshootingguide$hdcfilesendD:\Huawei\devEcoProjects\entry\build\default\outputs\default\entry-default-unsigned.hap/sdcard/e8a215ea7be1444197e6a58ebda7721f/entry-default-unsigned.hapErrorwhile
  • 2024-06-23ascp: Failed to open TCP connection for SSH, exiting. Session Stop (Error: Failed to open TCP conne
     01、[liujiaxin01@PC1test2]$ascp-i~/.aspera/connect/etc/asperaweb_id_dsa.openssh-l100M-T-P33001fasp-g1k@fasp.1000genomes.ebi.ac.uk:vol1/ftp/release/20100804/ALL.2of4interp.20100804.genotypes.vcf.gz.ascp:FailedtoopenTCPconnectionforSSH,
  • 2024-06-20svn cleanup 系统找不到指定路径_SVN:cleanup failed to process the following paths 错误
    svn执行清理,提示“系统找不到指定的文件。”下面看一下如何解决这个问题吧:1.在sqlite官网(https://www.sqlite.org/download.html)下载sqlite-tools-win32-x86-3310100.zip(资源我会放在后面)下载下来打开如下图所示:2.将其中的sqlite3.exe文件复制到.svn目录下与wc.db同级
  • 2024-06-13multipass创建虚拟launch failed: Remote "" is unknown or unreachable的错误
    安装multipass后,选择的windows自带的hyperv执行命令:multipasslaunch-nznxs01报错:launchfailed:Remote""isunknownorunreachable网上找了个解决办法,全是安装virturalbox,各种操作,试过没有一个能行后面我自己找到原因了无法从远程服务器活动基础镜像,但网络是通的我对
  • 2024-06-12【CMake系列】10-cmake测试 ctest
    cmake作为一个强大的构建系统指导工具,同时也提供了测试功能,可用于项目的单元测试等,也可以与其他测试框架协作,如googletest,共同完成项目开发中的测试工作,本节我们就来学习如何借助cmake完成测试本专栏的实践代码全部放在github上,欢迎star!!!如有问题,欢迎留言、或加群【392
  • 2024-06-12【解决了一个小问题】因为镜像证书的问题,golang http client出现错误 `tls: failed to verify certificate: x509: certificate sig
    作者:张富春(ahfuzhang),转载时请注明作者和引用链接,谢谢!cnblogs博客zhihuGithub公众号:一本正经的瞎扯一个服务使用Docker打包镜像,部署到k8s后出现如下的错误信息:tls:failedtoverifycertificate:x509:certificatesignedbyunknownauthority出错的位置是
  • 2024-06-01ERROR Failed to compile with 1 error
    解决方法一:重新运行:npmrunserve(每个人情况不定)解决方法二:可能是文件中有中文名,将该项目文件名称及该项目文件的上一层命名为纯英文。重新:npmrunserve解决方法三:修改相关的 webpack 配置文件把 index.html 文件重命名为 index.ejs 文件在 node_nodul
  • 2024-06-01centos 重启挂载错误 failed to mount /backup
    方法一重新挂载即可1、错误界面登录 2、查看错误日志journalctl-xb 3、查到是failedtomount/backup挂载错误,打开fstab文件vi/etc/fstab 4、退出重启,卸载后重新挂载,再次打开 vi/etc/fstab取消注销,重启即可umount/dev/sdb1/backupmount/dev/sdb1
  • 2024-05-31xcode 15打包报错
    1、报错信息Assertionfailed:(aliasSectionNum==sectionNum&&"aliasanditstargetmustbelocatedinthesamesection"),functionassignAliasAtomOffsetInSection,fileLayout.cpp,line3358.Linkercommandfailedwithexitcode1(use-vto
  • 2024-05-31Failed to resolve org.junit.jupiter:junit-jupiter-engine:5.3.1
    跟着尚硅谷学SSM测试这块老不对就没按视频里的用的junit4平替了今天的@BeforeEach平替不了搜了半天找不到解决方法就把报错的都整到依赖里了然后就好了也不知道具体咋回事<dependency><groupId>org.junit.jupiter</groupId><artifactId>junit
  • 2024-05-31**static assertion failed:no q_object in the class with the signal**
    staticassertionfailed:noq_objectintheclasswiththesignal这个问题主要是由于未添加Q_OBJECT,找不到信号定义如图所示,正是由于未点击Add下面的选项,即使在后续手动添加Q_OBJECT也会报错解决的方法可以在原先的情况下进行添加新的文件(这里我是定义了Student2,Tea
  • 2024-05-30【已解决】Swagger配置问题—Failed to start bean ‘documentationPluginsBootstrapper‘
    项目场景:swagger-demo编写SwaggerConfig.java后运行SwaggerDemoApplication.java不能成功问题描述ErrorstartingApplicationContext.Todisplaytheconditionsreportre-runyourapplicationwith'debug'enabled.org.springframework.context.ApplicationCont
  • 2024-05-29GD32 使用ST-Link进行调试出现Error:Flash Download Failed-“Cortex-M3“ 解决方案
    项目场景:原来一直使用STM32,最近有个项目发项工程师打板采用的是GD32,外部引脚是一一对应的,STM32的各种下载工具和方法也是基本相同的。问题描述`前期就是库函数和芯片包要改成GD32的。前期工作都完成了,剩下最后一公里,就是下载程序。在MDK5中,采用STLINK,选好芯片型号,准备下载,但出现了Error:FlashDow
  • 2024-05-28踩坑记录: nohup: failed to run command ‘java‘: No such file or directory
    执行一个shell脚本直接在终端可以执行但是在云效流水线上就会出现这个问题 先查看一下java-version 已经安装好了的话还是出现这个问题解决方案1:在执行Java包的前面加上这个 source/etc/profile还是不可以的话 解决方案2:先查看自己的jdk安装路径 which
  • 2024-05-28pnpm安装依赖出现ELIFECYCLE  Command failed with exit code 1 Build failed
    这种情况一般是安装了nvm的情况下会出现,错误提示一般如下Progress:resolved1713,reused1633,downloaded0,added1632,donenode_modules/.pnpm/[email protected]/node_modules/core-js:Runningpostinstallscript,donein118msnode_modules/.pnpm/[email protected]/nod
  • 2024-05-28Nginx: stat() failed (13: permission denied)
    解决server{listen[::]:80default_server;#SSLconfiguration##listen443ssldefault_server;#listen[::]:443ssldefault_server;##Note:YoushoulddisablegzipforSSLtraffic.#S
  • 2024-05-27Job for nginx.service failed because the control process exited with error code. See “systemctl stat
    使用systemctlstartnginx启动nginx的时候,报错:Jobfornginx.servicefailedbecausethecontrolprocessexitedwitherrorcode.See“systemctlstat。我们可以通过命令查看nginx的配置文件是否修改正确[root@localhost/etc/nginx]$sudonginx-tnginx:[emerg]unexpec
  • 2024-05-27宝塔:续签SSL证书报错Verification failed, domain name resolution error or verification URL cannot be accessed
    网站SSL证书因为忘了续签,导致过期后无法进行续签,点击续签验证报错:Verificationfailed,domainnameresolutionerrororverificationURLcannotbeaccessed! 解决方法:1.点击SSL,在面板中选择“Let'sEncrypt”,1.1、选择DNSVerification(Wildcardsupport);1.2、
  • 2024-05-26KubeSphere系列---【离线安装kubeSphere时报错:failed: [k8s_node02] failed to connect to 192.168.137.102: could n
    1.报错信息[root@k8s_masterkubesphere-3.4.1-1.23.15-offline-package]#./kkinitregistry-fconfig-sample.yaml-akubesphere.tar.gz_______||//||||//||//__||_____||//_____
  • 2024-05-26解决ardunioIDE无法连接github下载的问题
    问题:        使用arduinoIDE下载对应开发板时即使打开了代理还是无法访问github。错误信息如下:Failedtoinstallplatform:'esp32:esp32:2.0.16'.Error:2UNKNOWN:Get"https://github.com/espressif/arduino-esp32/releases/download/2.0.7/esptool-v4.5.1-wi
  • 2024-05-24The configuration for MySQL Server 8.0.27 has failed You can find more information about the failure
    遇见这种情况,作者当时也是痛苦万分,网上找了许许多多的方法试了好多次都不行。分析问题出现这种问题是因为我们之前安装过但是没有安装完全就取消了,电脑里面已经存储了。重新安装的时候把安装位置和数据存放的位置路径全部使用英文,例如:之前我的安装路径:D:\用户\app\mysql
  • 2024-05-24tdmpc2 Failed to make environment
    问题描述https://github.com/nicklashansen/tdmpc2readme文档的例子是pythontrain.pytask=dog-runsteps=7000000,然后我想跑下metaworld中的assembly-v2任务,就得到下面的错误$pythontrain.pytask=assemblyValueError:Failedtomakeenvironment"assembly":ple