排错
房东为什么不退押金
这个作者很懒,什么都没留下…
展开
-
Unable to negotiate with 192.168.7.203 port 22: no matching key exchange method found. Their offer:
Unable to negotiate with 192.168.7.203 port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1ssh远程时提示算法错误。原创 2022-11-03 23:08:17 · 1122 阅读 · 1 评论 -
【k8s主机重启后服务异常】
【k8s主机重启后服务异常】主要表现:主机上相关k8s相关组件均未启动,使用kubectl命令报错(The connection to the server localhost:6443 was refused - did you specify the right host or port?)重启docker与kubelet服务,启动k8s相关组件服务[root@master01 opt]# systemctl restart docker[root@master01 opt]# systemc原创 2022-03-28 21:41:45 · 1849 阅读 · 2 评论 -
ifconfig命令无输出
亲爱的达瓦里氏,资本是不会休息的转载 2021-12-05 13:23:35 · 1183 阅读 · 0 评论 -
python中ValueError: unexpected ‘{‘ in field name
错误:ValueError: unexpected '{' in field nameValueError: Single '}' encountered in format string错误原因:在python中如果 { 不是以占位符出现,是以字符出现,需要为双如:b = 'dsd'a = 'dfdf fd {{ {}'.format(b)print(a)...原创 2021-03-20 00:26:53 · 2119 阅读 · 0 评论 -
keepalived实现双vip部署
keepalived实现双vip部署首先至少需要准备:两台主机四个IP:192.168.100.226192.168.100.224192.168.100.201(VIP)192.168.100.202(VIP)keepalived的安装方式有两种:一种是通过yum源进行安装,另一种是通过源码安装。使用yum装比较简单省事,还能自动解决依赖问题。华为、阿里的网络yum源镜像都有keepalived的yum安装包;~]# yum -y install keepalived源码安装一原创 2020-11-12 00:18:34 · 2296 阅读 · 0 评论 -
centos误删系统python2.7导致yum无法使用
误删系统默认的python后使用yum报错,重装python后依然无法使用:There was a problem importing one of the Python modulesrequired to run yum. The error leading to this problem was:No module named yumPlease install a package which provides this module, orverify that the module is转载 2020-07-21 10:02:45 · 263 阅读 · 0 评论 -
华为云主机的两次故障
第一次短时间内我后端API服务器调用数据库服务查询过大(我服务走的内网),造成宽带占满。华为云自动关闭我API服务器与止后我后端API接口可通过公网继续调用,但是无法通过内网调用数据库,查看firewalld出于关闭状态,经排查为在华为云因为一段时间内的流量过大,将我API服务器视为攻击我数据库服务器,自动将其加入了iptables,禁止连接,删除iptables规则即可第二次今天收到华为的短信我登录检查服务器先第一步使用top命令查看占用cpu的进程这里可以看到一个叫Playstation原创 2020-06-15 17:29:12 · 206 阅读 · 0 评论