<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>故障 - Tag - LenBlog</title><link>http://lennert.site/tags/%E6%95%85%E9%9A%9C/</link><description>故障 - Tag - LenBlog</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>1416679017@qq.com (Lennert)</managingEditor><webMaster>1416679017@qq.com (Lennert)</webMaster><lastBuildDate>Wed, 24 Sep 2025 15:50:21 +0800</lastBuildDate><atom:link href="http://lennert.site/tags/%E6%95%85%E9%9A%9C/" rel="self" type="application/rss+xml"/><item><title>MongoDB错误处理【1053】【1067】（意外断开读写中的数据库）</title><link>http://lennert.site/posts/mongodb%E6%95%85%E9%9A%9C%E6%8E%92%E6%9F%A5/</link><pubDate>Wed, 24 Sep 2025 15:50:21 +0800</pubDate><author>1416679017@qq.com (Lennert)</author><guid>http://lennert.site/posts/mongodb%E6%95%85%E9%9A%9C%E6%8E%92%E6%9F%A5/</guid><description>&lt;p>&lt;strong>摘要：&lt;/strong> 本文记录了Windows服务器因意外断电导致MongoDB服务无法启动的解决方案。主要处理了两个错误：1053错误（通过删除并重建MongoDB服务解决）和1067错误（通过修复受损数据文件解决）。重点介绍了使用repair命令修复数据的方法，该过程可能耗时较长（千万级数据需近一天）。最后强调在数据库读写过程中切勿随意断开连接，以免造成数据损坏。解决方案同样适用于Linux系统。&lt;/p></description></item></channel></rss>