其中一个碎片溢出并坠毁。现在我试图修复它,但它不能修复它,因为没有空间,见下文。
2021-04-16T16:32:09.402+0000 W STORAGE [initandlisten] Failed to start up WiredTiger under any compatibility version.
2021-04-16T16:32:09.402+0000 F STORAGE [initandlisten] Reason: -31804: WT_PANIC: WiredTiger library panic
2021-04-16T16:32:09.402+0000 W
当使用tar备份mongo文件系统时,在复制集中使用辅助文件时,tar表示即使运行了lock命令,文件在tar进程中也发生了变化。对于可靠的备份,不应该发生这种情况。我错过了什么?
devtest:SECONDARY> use admin
switched to db admin
devtest:SECONDARY> db.fsyncLock()
{
"info" : "now locked against writes, use db.fsyncUnlock() to unlock",
"seeAlso
是否有办法重新生成丢失的WiredTiger.wt?我们的MongoDB实例停止工作(奇怪的是),该文件从dbpath文件夹中丢失-似乎这种行为是。
顺便说一句,修复实用程序没有成功:
file:WiredTiger.wt, connection: .//WiredTiger.wt: handle-open: open: No such file or directory
失去数据库是很难接受的。
有什么想法吗?谢谢。
P.S.我们还有其他的.wt文件。
MongoDB版本: 3.4.24
托管在Linux服务器上的MongoDB由于内存的过度使用而突然关闭。
使用:sudo mongod -f /etc/mongodrepair.conf --repair启动mongodb修复
整个数据库为2.5TB,修复/重新索引数据库时,近2.4TB已成功修复,但最后972 db的DB修复由于Invariantfailure错误而失败。
修复日志
2020-07-04T17:17:07.441+0000 I INDEX [initandlisten] building index using bulk method; build
我已经安装了Mongodb 4.2
在跑步的时候
sudo service mongod start|restart
它没有启动服务器,我在mongod.log文件中有下面的日志。
Exception in initAndListen: MustDowngrade: Collection does not have UUID in KVCatalog. Collection: local.startup_log, terminating
下面是更详细的内容:
CONTROL [main] Automatically disabling TLS 1.0, to force-enable T
无法启动MongoDB my Mac OS。下面是堆栈跟踪。
2019-11-25T14:29:58.537+0530 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'
2019-11-25T14:29:58.549+0530 I CONTROL [initandlisten] MongoDB starting : pid=3320 port=27017 dbpath=/data/db 64-bit
修复后尝试重新启动MongoDB 4.0,但将面临以下错误
Failed to start up WiredTiger under any compatibility version.
Reason: 13: Permission denied
Fatal Assertion 28595 at src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 706
我已经将我的mongodb从4.2升级到4.4。我以为我的setFeatureCompatibilityVersion是4.2,但我错了。它是3.x,所以我再次运行4.2实例,将setFeatureCompatibilityVersion设置为4.2,但此操作失败 现在我得到了这个错误 db version v4.2.3
....so setting the active storage engine to 'wiredTiger'
2020-08-26T21:38:45.656+0300 E STORAGE [initandlisten] WiredTiger erro
我的MongoDB在我重启服务器后无法正常启动,并提示我在一个叫WiredTiger的东西上出现错误。我的项目是在PM2上搭建的,参考了网上关于这方面的报错,并尝试删除WiredTiger.lock等文件或执行mongod –dbpath /data/db命令均没有用处(命令无误,执行mongod命令报错下方的内容)。这个项目非常紧急,所以希望能有人来帮我修复这个问题。
报错内容如下:
1|mongodb | 2022-01-31T14:44:47.416+0800 I – [initandlisten] Detected data files in /data/db created by t