![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
报错
报错
沉默寡言的托马斯
擅于面向百度编程,人称ctrl+c crtl+v ,crud攻城狮。
展开
-
java 记录生产上的一次OOM
后面debu 发现是 查询Mysql 有一百万的数据 List.addAll() 数组累加对象导致的堆溢出原创 2022-07-14 17:05:11 · 941 阅读 · 0 评论 -
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022yum -y install mysql-server原创 2022-05-13 15:12:20 · 1038 阅读 · 0 评论 -
kafka Invalid credential property SCRAM_SHA_512 报错
ERROR [Controller id=0, targetBrokerId=0] Connection to node 0 failed authentication due to: Authentication failed due to invalid credentials with SASL mechanism SCRAM-SHA-256 (org.apache.kafka.clients.NetworkClient).kafka 未进行角色权限认证原创 2022-03-28 18:58:09 · 3076 阅读 · 1 评论 -
nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
netstat -ntplkill -9 PID原创 2022-02-25 15:06:28 · 4557 阅读 · 0 评论 -
maven 找不到符号
原创 2022-02-17 17:13:50 · 423 阅读 · 0 评论 -
linux cannot create temp file for here-document: No space left on device
磁盘满了原创 2022-02-08 10:38:41 · 497 阅读 · 0 评论 -
The producer has been rejected from the broker because it tried to use an old epoch with the
消息过期原创 2022-02-08 10:37:25 · 462 阅读 · 0 评论 -
vim Found a swap file by the name
此问题是因为之前的编辑此文件的时候没有正常退出引起的。同时在当前目录下产生了一个.swp文件。rm .swp 把隐藏文件删除原创 2022-02-02 14:04:45 · 450 阅读 · 0 评论 -
linux iptables:No chain/target/match by the name
systemctl restart docker原创 2022-01-28 11:51:28 · 1332 阅读 · 0 评论 -
linux /bin/bash^M: bad interpreter: No such file or directory
在 Windows 环境中创建脚本然后移植到 Unix 环境中运行时,会出现这个报错。Unix 使用不同的行尾,因此无法读取在 Windows 上创建的文件。因此它将 ^M 视为非法字符。如果想在 Windows 上编写文件然后移植过来,请确保的编辑器设置为以 UNIX 格式创建文件。在屏幕右下角的 notepad++ 中,可以看到文档格式。默认情况下,Dos\Windows. 要更改它,请转到1. 设置->首选项2. 新文档/默认目录选项卡3. 创建一个新文档...原创 2022-01-28 10:25:58 · 405 阅读 · 0 评论 -
liinux FirewallD is not running
systemctl status firewalldsystemctl start firewalld原创 2022-01-28 10:12:26 · 381 阅读 · 0 评论 -
ll su command not found
profile文件没有写正确,导致在命令行下 ll等命令不能够识别。重置即可export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin原创 2022-01-27 18:47:49 · 273 阅读 · 0 评论 -
python UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte
UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 报错最近在爬取网页的时候报了一个这样的错 python UnicodeDecodeError: ‘utf-8’ codec can’t decode byte修改字符集参数,一般这种情况出现得较多是在国标码(GBK)和utf8之间选择出现了问题。出现异常报错是由于设置了decode()方法的第二个参数errors为严格(strict)形式造成的,因为默认就是这个参数,将其更改为ignore等即可。原创 2020-11-12 10:16:01 · 9171 阅读 · 3 评论 -
gyp ERR stack Error: Can ‘t find Python executable python2.7, you can set the PYTHON env variable.
在公司部署前端项目的时候,npm install 安装依赖的时候出现了问题,发现是node-sass这个包下载失败我在想是不是没安装什么呢,因为我是面向百度编程的,所以就百度了一下,发现需要安装编译环境npm install -g node-gyp npm install --global --production windows-build-too (这条命令需管理员运行)然后卸载安装失败的包npm uninstall node-sass然后重新安装npm install no原创 2020-05-27 16:24:41 · 7089 阅读 · 2 评论