failed
ubuntu failed to activate swap/swapfile
Copy from https://www.makeuseof.com/fix-read-error-on-swap-device-ubuntu/ sudo swapoff /swapfile Once the swap file has been disabled, you are ready t ......
小程序wx.request的结果调用success和fail的说明
做过小程序的朋友们应该都知道,小程序中调用ajax的命令是wx.request,其有两个回调,一个是success,一个是fail,那么什么情况下会走success,什么情况下会走fail呢? 大多数人可能认为,success就是我成功请求到数据了,也就是请求返回的状态码是2XX,而返回4XX,5X ......
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol),遇到这个问题,不用多想,基本都是配置了IPv6监听导致,也就是如下配置 server { listen 80 default_s ......
关于flume Closing file: hdfs://PATH/1686250555721.gz.tmp failed. Will retry again in 180 seconds.的问题记录
问题描述:flume每到半夜总是一直报错,关闭某个文件失败,虽然不影响其他日志传输,但是一直有错误日志也很难受,有一种如芒在背的感觉。 部分报错日志: 09 六月 2023 02:55:55,730 INFO [SinkRunner-PollingRunner-DefaultSinkProcesso ......
This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,tensorflow.python.framework.errors_impl.UnknownError: Failed to get convolution ......
Vue跨域配置异常采坑:Request failed with status code 401
本地用Express作为服务端,前端Vue项目配置跨域代理,调用服务端api接口始终报错“Request failed with status code 401”。原来发现是端口3000被占用了,被VSCode的一个插件占用了,修改为其他端口解决。 ......
首次启动Kafka报Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c0000000, 1073741824, 0) failed; error='Cannot allocate memory' (errno=12)
首次启动Kafka报错如下: 原因:内存不足,查看启动配置 调小一些: ......
Failed to bind properties under 'spring.datasource.primary' to javax.sql.DataSource:报错
2023-06-10 11:04:13.778 WARN 22452 [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelli ......
Failed to bind properties under 'spring.datasource.primary' to javax.sql.DataSource:报错
2023-06-10 11:04:13.778 WARN 22452 [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelli ......
Vue学习笔记之gyp: No Xcode or CLT version detected! gyp ERR! stack Error: `gyp` failed with exit code: 1
0x00 现象 MacOS在执行npm install下载项目的依赖包的时候出现的gyp报错,报错内容如下: No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'. No receipt for 'com.apple.pkg. ......
error:java: compilation failed: internal java compiler error
转自:https://xie.infoq.cn/article/537f575c166d556db9773002f java: Compilation failed: internal java compiler error 解决办法: 1、查看项目的 jdk(Ctrl+Alt+shift+S) F ......
Failed to install package 'cv2'
#### 1.报错 无法导入import cv,这里多嘴一句,不是python下载连接问题,也不是外网下载问题,所以根本不是cv2包下载不下来,因为需要下载的根本不是cv包。 ![image](https://img2023.cnblogs.com/blog/3119275/202306/31192 ......
Failed to instantiate [java.util.List]: Specified class is an interface
原代码没加@RequestParam,一直给我报这个错,传这个List根本不行 ```java @RequestMapping(value = "/searchPhoneInfos2", method = RequestMethod.GET) public CommonResult searchPh ......
解决Failed to connect to github.com port 443: Timed out
git提交代码到github的时候遇到了一个问题 错误大致是说连接到github的时候超时了,这个超时是你的代理出了点问题,在git上用几个命令就能够很快搞定。 git config --global --unset http.proxy git config --global --unset ht ......
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
这个异常在springboot,是一个常见的异常,我们引入了mybatis依赖,确没有在.yml文件中配置数据源,这次我配置了数据源,但是因为有二个application.yml和application-dev.yml,没有指定yml的环境,在application.yml中添加指定dev即可 ......
pip 安装错误 Command "python setup.py egg_info" failed with error code
python setup.py install File "setup.py", line 7 def read(rel_path: str) -> str: ^SyntaxError: invalid syntax wget https://bootstrap.pypa.io/pip/2.7/ge ......
fail2ban自动防御暴力尝试服务器密码
```bash yum install fail2ban cd /etc/fail2ban/ cp jail.conf jail.local vim jail.local #1. #ignoreip:本部分允许我们列出 IP 白名单地址列表,Fail2Ban 不会禁止与列表中的地址匹配的主机,解注释 ......
Failed to start docker.service: Unit docker.service not found.
1、卸载docker 2、添加Docker官方的GPG密钥 3、更新源 4、导入证书 5、更新 6、安装docker 7、验证是否安装成功 8、安装docker compose 9、验证是否安装成功 ......
anaconda运行install命令报错:Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)'
运行命令: conda install mpi4py 报错: Retrieving notices: ...working... ERROR conda.notices.fetch:get_channel_notice_response(63): Request error <HTTPSConnec ......
Template execution failed ReferenceError BASE_URL is not defined
错误 Vue Template execution failed: ReferenceError: BASE_URL is not defined ReferenceError: BASE_URL is not defined 解决 替换 index.html 替换前 <link rel="icon ......
Can't operate. Failed to connect to bus: Host is down
» sudo systemctl daemon-reload System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down 尝 ......
解决fatal: unable to access ‘https://github.com……‘: Failed to connect to
问题: git clone时会报如下错误 解决办法: 1. 在cmd下执行 ipconfig/flushdns,清理DNS缓存 2. 重新执行 git clone https://github.com/.../.git 即可成功 ......
Oracle Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: HikariDataSource HikariDataSource (HikariPool-1) has been closed.
这个问题我在多个项目中都出现过,百度了很多都没有解决,有的是数据库服务器升级就消失,有的是数据库表加索引后消失 根据经验总结,这个问题一般是由服务器太拉跨,或者查询优化不够导致查询太慢,等待太久导致的。 ......
Invalid prop: type check failed for prop “value”. Expected String, Number, got Undefined
记录一个报错问题,之前别的同事写的代码,还看了半天有点无语!! 下拉选择部门,联动动态赋值责任人下拉列表警告,导致选择责任人的时候无法正确赋值undefined。 究其原因是封装的表单formItem项中传入了下拉选项的映射字段,如下: 而在选择部门的时候又已经把动态数据遍历处理成了标准的label ......
springboot项目启动访问任何html页面报类型转换错误:Failed to convert value of type...
问题: 2023-05-30T21:35:57.495+08:00 WARN 19900 [nio-8080-exec-8] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.method.ann ......
go 执行ssh 报错ssh: handshake failed: read tcp xxx:->xxx:22: read: connection reset by peer
需求: 解决报错 go 执行ssh 报错ssh: handshake failed: read tcp xxx:->xxx:22: read: connection reset by peer 10个以内,没有问题。10以上就报错 解决: 我的远程(192.168.49.171)服务器ssh默认最大 ......
关于docker容器中使用numpy报错OpenBLAS blas_thread_init: pthread_create failed for thread 1 of 40: Operation not permitted
事件描述: 我在外网docker封装了一个镜像,在外网import numpy时没有问题,但是导入到内网中后,创建容器后import numpy就报题目中的问题。 原因: 外网docker版本是20版本,内网docker版本是18版本,目前好像低版本的docker开始出现这种问题。一般这总情况都是安 ......
config:fail,invalid signature 微信分享报错
奇葩啊奇葩 今天遇到一个奇怪的问题,就是在微信中分享 卡片携带标题以及图片的问题。 基本配置 去 微信公众平台 都能找到 , 遇到的问题 去百度 大部分都能解。 我的问题 有个别网页能分享出卡片并且也能携带出卡片的标题,但是也有个别网页分享不出标题与图片 做法都一摸一样 ,可恶啊 排查了好久, 还得 ......
ES无法启动_OOM_Exception in thread "main" java.lang.RuntimeException: starting java failed with [1]
##1.报错显示 ```java [root@iZ7xv2ya5ap2bnetr231koZ ~]# docker logs es Exception in thread "main" java.lang.RuntimeException: starting java failed with [1] ......