随笔分类 -  问题

问题记录
摘要:注册用户出错 现象 Type Status Report Message /api/v1/user/create Description The origin server did not find a current representation for the target resource o 阅读全文
posted @ 2021-04-01 12:40 hiyang 阅读(91) 评论(0) 推荐(0)
摘要:错误 fd: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by fd) 产生原因 由于Linux系统的glibc版本太低,而软件编译时使用了较高版本的glibc引起的! 查看当前版本命令 # strings /lib64/li 阅读全文
posted @ 2020-11-22 23:28 hiyang 阅读(8684) 评论(0) 推荐(1)
摘要:现象 通过监控发现mongodb重启了两次,结合内存监控来看,很有可能是被kill了,时间点也对的上。 查找日志 cd /var/log fgrep -i 'killed process' /var/log/messages 或者 journalctl -xb | fgrep -i 'killed 阅读全文
posted @ 2020-09-18 16:23 hiyang 阅读(1157) 评论(0) 推荐(0)
摘要:缺少插件,故无法识别vboxsf,安装插件vagrant-vbguest即可 vagrant plugin install vagrant-vbguest vagrant destroy && vagrant up 阅读全文
posted @ 2020-08-20 10:55 hiyang 阅读(342) 评论(0) 推荐(0)
摘要:kubernetes 安装 dashboard 后,在chrome通过https访问,结果还是提示: 10.34.254.7 通常会使用加密技术来保护您的信息。Google Chrome 此次尝试连接到 10.34.254.7 时,此网站发回了异常的错误凭据。这可能是因为有攻击者在试图冒充 10.3 阅读全文
posted @ 2020-08-20 00:24 hiyang 阅读(2422) 评论(0) 推荐(0)
摘要:bmon 是一个 实时命令行流量监控软件,但作者在github并没有提供mips64el的版本。下面记录一下编译过程。可以在这里下载bmon.v4.0.linux-mips64el.tar.gz。 环境 OperationSystem CentOSLinux Architecture mips64e 阅读全文
posted @ 2020-08-06 19:20 hiyang 阅读(1516) 评论(0) 推荐(0)
摘要:环境 OperationSystem CentOSLinux Architecture mips64el CPU(s) 8 Modelname Loongson-3AR4(Loongson-3B4000) KernelVersion 4.19.90-1.nk7_5.18.mips64el Memor 阅读全文
posted @ 2020-08-06 19:03 hiyang 阅读(2683) 评论(0) 推荐(0)
摘要:github网络错误处理 [root@node10 kodoe]# git pull origin:dev ssh: Could not resolve hostname origin: Name or service not known fatal: Could not read from rem 阅读全文
posted @ 2020-07-14 11:56 hiyang 阅读(690) 评论(0) 推荐(0)
摘要:redis sentinel redis-failover-no-good-slave 这个处理不一定合理 Redis危险命令重命名、禁用 Redis的危险命令主要有: flushdb:清空数据库 flushall:清空所有记录,数据库 config:客户端连接后可配置服务器 keys:客户端连接后 阅读全文
posted @ 2020-06-15 15:11 hiyang 阅读(160) 评论(0) 推荐(0)
摘要:redis 使用过程中遇到的问题 阅读全文
posted @ 2020-05-07 16:33 hiyang 阅读(982) 评论(0) 推荐(0)
摘要:背景 介绍在 linux 过程中使用过的工具 [TOC] ## rar 解压工具 linux下解压rar文件 ```bash wget http://www.rarsoft.com/rar/rarlinux-x64-5.4.0.tar.gz tar xf rarlinux-x64-5.4.0.tar 阅读全文
posted @ 2020-04-04 14:42 hiyang 阅读(213) 评论(0) 推荐(0)
摘要:编码问题 UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 1: ordinal not in range(128) 转载自cnblog Unicode的编码问题,读取文件时使用的编码默认是ascii而不是utf 阅读全文
posted @ 2020-04-04 13:57 hiyang 阅读(342) 评论(0) 推荐(0)
摘要:Env Debian 9 报错 程序连接数据库报错,mongodb日志中显示 。 初步判定是mongodb的连接数满了。 排错过程 1. 查看mongo连接数 连接数果然满了 2. 尝试修改连接数,mongo启动时增加 参数,重启mongo,一会连接数又满了,一些资料上说最大是 20000,默认是1 阅读全文
posted @ 2020-04-04 13:44 hiyang 阅读(1051) 评论(1) 推荐(0)
摘要:[toc] ⚠️使用yum提示Error: rpmdb open failed的解决方案 1. 清除原rpmdb文件,这一步可能不用操作,直接进行第2步 2. 重建rpm数据库 3. 清除所有yum的缓存 yum和rpm卡住 yum install/clean all 都会卡住,执行rpm系列命令也 阅读全文
posted @ 2020-04-04 09:50 hiyang 阅读(172) 评论(0) 推荐(0)