会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
太阳的阳ฅ
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
10
下一页
2024年1月30日
MySQL-8.0.30升级MySQL-8.0.34
摘要: 记录一次MySQL漏洞升级操作 升级背景:Oracle MySQL官方发布MySQL-8.0.30版本高危漏洞CVE-2022-32221、CVE-2022-37434等,受影响版本涉及到8.0.32,官方建议升级至8.0.33,最好使用8.0.34,这里我们将MySQL-8.0.30升级至MySQ
阅读全文
posted @ 2024-01-30 14:49 太阳的阳ฅ
阅读(625)
评论(0)
推荐(0)
2024年1月4日
filebeat-8.6 收集日志配置样例
摘要: filebeat.yml filebeat.inputs: # Each - is an input. Most options can be set at the input level, so # you can use different inputs for various configur
阅读全文
posted @ 2024-01-04 14:56 太阳的阳ฅ
阅读(5)
评论(0)
推荐(0)
2023年12月29日
虚拟用户FTP登录530——vsftpd[671402]: pam_userdb(vsftpd:auth): user_lookup: could not init database `/etc/vsftpd/vir_user': No such file or directory
摘要: /var/log/serect 日志如下: 因为pam_userdb使用的数据库由bdb换成了gdbm,需要更换格式。 安装gdbm,使用以下命令创建数据库,增加用户: gdbmtool -n /etc/vsftpd/vir_user.pag open gdbmtool /etc/vsftpd/vi
阅读全文
posted @ 2023-12-29 09:20 太阳的阳ฅ
阅读(32)
评论(0)
推荐(0)
2023年12月8日
文件系统Inode使用率 80%——告警问题处理
摘要: 1、使用df -i命令查看inode使用情况: df -i 这将显示文件系统的inode使用情况,包括已用inode数、可用inode数和inode使用率。 2、查找占用inode较多的目录或文件: 我得是根文件系统告警 find / -xdev -printf '%h\n' | sort | un
阅读全文
posted @ 2023-12-08 09:16 太阳的阳ฅ
阅读(545)
评论(0)
推荐(0)
2023年11月17日
ES索引数据清理脚本示例
摘要: 说明:我得索引是按月份创建的,索引名后面都有yyyy.MM 需求:删除三个月以前的索引,清理收集的应用日志数据,释放磁盘空间 1、 #!/bin/bash # 定义 Elasticsearch 节点的地址 ELASTICSEARCH_HOST="192.168.53.100" ELASTICSEAR
阅读全文
posted @ 2023-11-17 11:13 太阳的阳ฅ
阅读(235)
评论(0)
推荐(0)
2023年11月16日
k8s1.27.x 新版本二进制方式部署
该文被密码保护。
阅读全文
posted @ 2023-11-16 14:25 太阳的阳ฅ
阅读(0)
评论(0)
推荐(0)
2023年11月15日
配置Filebeat 来收集当前月份的日志
摘要: 假设你要收集/var/log/myapp.log日志文件中当前月份的日志 在你的Filebeat配置文件中(例如filebeat.yml),添加如下配置: filebeat.inputs: - type: log enabled: true paths: - /var/log/myapp.log s
阅读全文
posted @ 2023-11-15 15:50 太阳的阳ฅ
阅读(8)
评论(0)
推荐(0)
Filebeat 仅收集命名规则为 myapp_20231114.log 这种当月产生的日志,以及 myapp.log 新产生的当天的日志
摘要: Filebeat 仅收集命名规则为 myapp_20231114.log 这种当月产生的日志,以及 myapp.log 新产生的当天的日志,可以通过以下配置来实现: filebeat.inputs: - type: log enabled: true paths: - /data/myapp/log
阅读全文
posted @ 2023-11-15 10:23 太阳的阳ฅ
阅读(7)
评论(0)
推荐(0)
2023年11月10日
编译Fastdfs报错——In file included from ../common/fdfs_global.c:21:0: ../common/fdfs_global.h:15:26: 致命错误:sf/sf_global.h:没有那个文件或目录
摘要: 记录一下安装 fastdfs 时编译报错,报错信息如下: 原因: 这是因为我们在安装 fastdfs-6.08 及以上版本时,从github 下载得安装包缺少文件,缺少了 libserverframe 网络框架 解决方法:安装 libserverframe 网络框架 安装包下载地址:https://
阅读全文
posted @ 2023-11-10 10:53 太阳的阳ฅ
阅读(1058)
评论(0)
推荐(1)
2023年6月25日
"Failed to destroy network for sandbox" 错误处理分享
摘要: 问题说明:calico pod突然报错,如下截图 最后排查到containerd 的cni插件有问题,官方文档说的是:如果你使用 containerd v1.6.0-v1.6.3 并遇到 "Incompatible CNI versions" 或者 "Failed to destroy networ
阅读全文
posted @ 2023-06-25 16:47 太阳的阳ฅ
阅读(1293)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
10
下一页
公告