#SysAdmin
共 175 篇文章
解决 Linux 报错 UDP receive drops ENOBUFS wmem_max 套接字缓冲溢出修复
排查 Linux 系统承载 DNS、Syslog 或流媒体高频 UDP 流量时,netstat -s 显示 receive buffer errors 快速增加,应用报 ENOBUFS,分析 内核接收队列与 rmem_max 调优。
解决 Linux 报错 kernel tainted 标志解析与硬件故障排查修复
排查 Linux 系统不稳定输出 tainted: G ... 与 Call Trace,分析非开源内核模块(P)、硬件 MCE 错误(H)等内核受污标志。
解决 Linux 报错 No journal files were found 的排查指南
排查与解决 Linux 执行 journalctl 命令提示 No journal files were found 系统日志丢失或未持久化的完整方案。
解决 Linux 报错 su: Authentication failure 的排查指南
排查与解决 Linux 执行 su 或 su - 切换 root 用户提示 Authentication failure 认证失败的完整方案。
解决 Apache 报错 Failed to enable APR_TCP_DEFER_ACCEPT 的排查指南
排查与解决 Apache 启动输出 Failed to enable APR_TCP_DEFER_ACCEPT 告警的完整方案。
解决 Linux 报错 chroot failed to run command bin bash 异常
分析 Linux 在执行 chroot 时提示 failed to run command /bin/bash: No such file or directory 的动态库缺失与挂载修复方案。
解决 Linux Samba 报错 NT_STATUS_LOGON_FAILURE 认证失败修复
排查 smbclient 连接 Windows 或 Linux Samba 共享提示 NT_STATUS_LOGON_FAILURE,使用 smbpasswd 创建专用密码与检查 smb.conf 权限。
解决 Linux 报错 grep write error Broken pipe 管道破裂异常
分析 Linux 在 grep 与 head/tail 管道组合时输出 grep: write error: Broken pipe 的下游提前退出根因与静默处理方案。
解决 Nginx 报错 bind() to 0.0.0.0:443 failed (98: Address already in use) 的排查指南
排查与解决 Nginx 启动或重载时提示 443 端口被占用无法绑定套接字的完整方案。
解决 Linux 报错 xargs unmatched single quote 单引号异常
分析 Linux 使用 find 与 xargs 配合时因文件名包含单引号或空格报 unmatched single quote 的根因,提供 -print0 解决方案。
解决 Linux 报错 Input/output error 硬件坏道只读修复
排查 Linux 复制或访问特定文件报 Input/output error (EIO),分析 smartctl 坏道检测、ddrescue 数据抢救与更换硬盘。
解决 Linux 报错 inotify max_user_watches limit reached 监听耗尽修复
排查 前端开发热更新、Tailscale 或 Kubernetes 节点由于监听海量文件报 Error: ENOSPC: System limit for number of file watchers reached,分析 inotify 监听器上限与 fs.inotify 调优。
解决 Linux 报错 watchdog: BUG: soft lockup - CPU stuck 修复
排查 Linux 服务器高负载时报 watchdog: BUG: soft lockup - CPU#2 stuck for 22s!,分析死锁、中断失控与内核看门狗。
解决 Linux 报错 useradd: cannot create directory /home/user 的排查指南
排查与解决 Linux 使用 useradd 创建新用户提示 cannot create directory 主目录创建失败的完整方案。
解决 Keepalived 报错 check script failed with exit status 1 修复
排查 Keepalived 运行中频繁输出 Script ... failed with exit status 1 导致 VIP 疯狂震荡,分析 检测脚本内部逻辑与返回码捕获。
解决 nftables 报错 No such file or directory 表不存在修复
排查 nftables 添加规则报 Error: Could not process rule: No such file or directory,分析 table 声明缺失与链层级架构。
解决 Linux 报错 systemd-udevd worker timeout killed 设备卡死修复
排查 Linux 开机挂起或插拔设备日志输出 systemd-udevd worker ... timed out, killing,分析 udev rules 自定义脚本阻塞问题。
解决 SSH 报错 Host key verification failed 凭证异常
分析 SSH 连接服务器提示 Host key verification failed 的机器重装或公钥变更原因,提供 ssh-keygen -R 安全更新方法。
解决 Linux 报错 Network is unreachable 的排查指南
排查与解决 Linux 执行网络请求提示 connect: Network is unreachable 路由缺失的完整方案。
解决 Linux curl 报错 curl 6 Could not resolve host DNS 域名解析失败修复
排查 Linux 执行 curl 抛出 curl: (6) Could not resolve host: example.com 错误,配置 /etc/resolv.conf 与排查 systemd-resolved 状态。


