#SysAdmin
共 175 篇文章
解决网络报错 No route to host: 防火墙拦截与 NAT 转发排查
排查与解决 Linux 下连接远程服务提示 No route to host 错误,分析 iptables REJECT 规则、firewalld 端口策略与内核转发。
解决 Systemd 报错 Start request repeated too quickly 启动频次受限修复
排查 托管在 systemd 下的服务在快速崩溃重试后,被系统锁定并报 Unit entered failed state. Start request repeated too quickly,分析 StartLimitIntervalSec 与 StartLimitBurst 防抖保护机制。
解决 Linux 报错 dev null Permission denied 设备权限异常
分析 Linux 下 /dev/null 权限被误修改为普通文件导致所有重定向报 Permission denied 的 mknod 重建方案。
解决 Linux 报错 swapon: swapon failed: Device or resource busy 修复
排查 Linux 启用交换分区报 swapon failed: Device or resource busy,分析 swapfile 格式化、既有激活状态与 fstab 冲突。
解决 Redis 报错 MISCONF Redis is configured to save RDB snapshots 磁盘不可写排查
排查 Redis 写入报错 MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist to disk,解决磁盘满与权限问题。
解决 Linux systemd 报错 start request repeated too quickly 启动频率超限修复
排查 systemctl start 提示 Job for my-service.service failed because start request repeated too quickly,重置 RestartSec 与排查退出根因。
解决 Linux 报错 System clock unsynchronized time drift 时钟漂移修复
排查 Linux 分布式服务器节点间系统时钟漂移(Time Drift),导致 Raft 共识分裂、SSL 握手拒绝或 Token 鉴权失败,timedatectl 报 System clock synchronized: no,分析 chrony / NTP 服务配置与硬件 RTC 漂移。
解决 Jenkins 报错 ChannelClosedException: Channel was closed 节点掉线修复
排查 Jenkins 运行构建时 Agent 突发断连报 hudson.remoting.ChannelClosedException: Channel was closed,分析 OOM 崩溃与网络抖动。
解决 Linux 报错 Too many open files: file-max 与 nofile 限制解析与修复
分析 Linux 环境下系统级 file-max 与进程级 nofile 差异,排查并修复 Too many open files 错误。
解决 ClickHouse 报错 Cannot allocate thread 系统线程数耗尽修复
排查 ClickHouse 遇到并发写入抛出 DB::Exception: Cannot allocate thread (pthread_create failed) 错误,调优 max_threads 与 Linux nproc 配额。
解决 Cloudflare 报错 Error 521 Web server is down 80/443 端口与防火墙放行指南
排查 Cloudflare 访问报 Error 521 Web server is down,分析源站 Web 服务未运行、回源端口监听及源站防火墙拦截 Cloudflare IP。
解决 MySQL 报错 ERROR 1040 (HY000): Too many connections 连接池与上限调优
排查 MySQL 数据库突发 ERROR 1040 Too many connections 拒绝连接,分析长连接泄漏、线程池饱和与 max_connections 动态调优。
解决 Linux 磁盘变只读 Read-only file system 错误排查与修复
排查 Linux 根分区或挂载点突发 Read-only file system 只读文件系统错误,分析 ext4/xfs 保护机制并执行 fsck 修复。
解决 Linux 报错 error while loading shared libraries 动态链接库缺失修复
排查 Linux 运行程序提示 error while loading shared libraries: libssl.so.1.1: cannot open shared object file,配置 ldconfig 与 LD_LIBRARY_PATH 路径。
解决 GitLab CI 报错 stuck in pending this job is stuck 标签未匹配修复
排查 GitLab CI 作业一直处于挂起状态提示 This job is stuck because you don't have any active runners that can run this job,分析 tags 配置。
解决 Linux 报错 blk_update_request: I/O error dev sda 存储链路中断修复
排查 Linux 核心日志密集报错 blk_update_request: I/O error, dev sda, sector ...,分析 HBA 卡重置与 NVMe 超时。
解决 SonarQube 报错 max virtual memory areas too low 启动阻断修复
排查 部署 SonarQube 抛出 bootstrap check failure [1] of [1]: max virtual memory areas vm.max_map_count [65530] is too low。
解决 NVIDIA 报错 Failed to initialize NVML: Driver/library version mismatch 驱动失配修复
排查 在使用 apt/yum 自动更新系统内核或驱动后,运行 nvidia-smi 报 Failed to initialize NVML: Driver/library version mismatch,导致全站 GPU 服务瘫痪,分析 内存运行模块与磁盘新版本动态库冲突。
解决 Linux 报错 user is not in the sudoers file 的排查指南
排查与解决 Linux 用户执行 sudo 提示 user is not in the sudoers file. This incident will be reported 的完整方案。
解决 Redis 报错 LOADING Redis is loading the dataset in memory 启动阻塞排查
排查 Redis 服务启动或主从同步时提示 LOADING Redis is loading the dataset in memory 拒绝请求,优化 RDB/AOF 加载速度与只读副本配置。


