#SysAdmin
共 175 篇文章
解决 Linux 报错 Cron service is not running 定时任务失效的排查指南
排查与解决 Linux 下 crontab 定时任务不执行、Cron 守护进程未启动或权限异常的完整方案。
解决 Linux 磁盘有剩余空间却报错 No space left on device: inode 耗尽排查
排查 Linux 系统使用 df -h 仍有空闲空间,但写入提示 No space left on device 错误,解决 inode 节点占满故障。
解决 Linux 报错 ARP flux problem dual-homed 双网卡多 IP 流量震荡修复
排查 服务器拥有多张处于同一子网的物理网卡时,局域网 ARP 响应混乱导致网络访问断续,分析 Linux 弱主机模型(Weak Host Model)与 arp_ignore / arp_announce 配置。
解决 Linux 报错 swapon read swap header failed 异常指南
分析 Linux 挂载 Swap 交换分区提示 read swap header failed 的 mkswap 格式化缺失根因与安全配置方案。
解决 Linux 报错 sudo must be owned by uid 0 权限损坏异常
分析 Linux 下 sudo 权限被误修改为普通用户或丢失 setuid 报 must be owned by uid 0 的 pkexec 与救援模式修复方案。
解决 Linux 报错 target is busy umount: device or resource busy 修复
排查 Linux 执行 umount 卸载磁盘报 device or resource busy 或 target is busy,分析占用进程定位与 fuser / lsof 释放。
解决 Linux curl 报错 curl 7 Failed to connect Connection refused 端口连接拒绝修复
排查执行 curl 抛出 curl: (7) Failed to connect to ... port 8080: Connection refused,排查进程端口监听与 localhost 绑定。
解决 Apache 报错 Could not reliably determine the server's fully qualified domain name 的排查指南
排查与解决 Apache 启动或重启时提示 AH00558: Could not reliably determine the server's fully qualified domain name 警告的完整方案。
解决 PostgreSQL 报错 out of shared memory: max_locks_per_transaction 调优指南
排查 PostgreSQL 批量操作或大分区表查询提示 out of shared memory 错误,深度解析共享内存锁表与 max_locks_per_transaction 调优。
解决 Linux 报错 cannot create temp file for here-document 的排查指南
排查与解决 Linux 执行包含 Here-Document 的 Shell 脚本提示 cannot create temp file for here-document 的完整方案。
解决 Grafana 启动报错 database is locked (sqlite3) 并发锁排查与迁移
排查 Grafana 启动或保存仪表盘提示 database is locked 错误,深入分析 SQLite 单写锁冲突并无损迁移至 PostgreSQL/MySQL。
解决 Linux 报错 tune2fs Bad magic number in superblock 异常
分析运行 tune2fs 调整分区参数提示 Bad magic number 的文件系统格式不匹配与分区偏移根因及修复步骤。
解决 Docker 报错 Container killed by OOM killer (Exit Code 137) 的排查指南
排查与解决 Docker 容器因内存耗尽被宿主机内核 OOM Killer 强行终止退出码 137 的完整方案。
解决 CFSSL 报错 x509: certificate signed by unknown authority 信任链断裂修复
排查 客户端调用使用自建 CFSSL CA 签发的 HTTPS API 时抛出 x509: certificate signed by unknown authority,分析 操作系统本地根证书库更新与 fullchain 完整证书链挂载。
解决 Systemd 报错 Failed with result 'exit-code' status=203/EXEC 修复指南
排查 systemd 服务单元启动失败 status 203/EXEC 错误,解决执行权限缺失、脚本解释器缺失及 SELinux 拦截。
解决 Apache 报错 AH00020 Configuration Failed exiting 异常
分析 Apache 启动闪退报 AH00020 Configuration Failed 的日志目录权限与模块冲突排查修复指南。
解决 Linux iptables 报错 Table does not exist 内核模块缺失修复
排查执行 iptables 提示 iptables: Table does not exist (do you need to insmod?),分析 nftables 后端切换与加载 xtables 内核模块。
解决 Linux 报错 bash: fork: retry: Resource temporarily unavailable 进程数超限修复
排查 用户登录终端敲入命令时报错 bash: fork: retry: Resource temporarily unavailable 或 fork failed: Cannot allocate memory,分析 ulimit -u (nproc) 最大进程数限制与多线程耗尽。
解决 Linux 报错 oom_reaper: reaped process 内存溢出终结修复
排查 Linux 系统关键服务突然被干掉,dmesg 出现 oom_reaper: reaped process ... now anon-rss:0kB,分析 oom_score_adj 保护机制。
解决 MySQL 报错 ERROR 2006: MySQL server has gone away 超时与包大小修复
排查与解决 MySQL 客户端执行查询时提示 ERROR 2006: MySQL server has gone away,分析 wait_timeout 空闲回收与 max_allowed_packet 限制。


