繁体   English   中英

Ubuntu 错误关闭后 Mongodb 上的 Wired Tiger 错误

[英]Wired Tiger Error on Mongodb after bad shutdown of Ubuntu

因此,我在没有完全关闭 mongodb 服务的情况下关闭了我的计算机,当我尝试运行“mongod”时,我遇到了一个文件已损坏的错误,所以我使用“mongod --repair”修复了它,现在我遇到了这个错误:

{"t":{"$date":"2022-02-15T09:55:10.002-08:00"},"s":"E", "c":"STORAGE", "id":22435, “ctx”:“initandlisten”,“msg”:“WiredTiger error”,“attr”:{“error”:13,“message”:[1644947710:2946][53343:0x7f12d7777c80],wiredtiger_open:__posix_open_file,808: /data/db/WiredTiger.turtle: handle-open: open: Permission denied"}} {"t":{"$date":"2022-02-15T09:55:10.003-08:00"},"s ":"E", "c":"STORAGE", "id":22435, "ctx":"initandlisten","msg":"WiredTiger error","attr":{"error":13,"message “:[1644947710:3221][53343:0x7f12d7777c80], wiredtiger_open: __posix_open_file, 808: /data/db/WiredTiger.turtle: handle-open: open: Permission denied"}} {"t":{"$date" :"2022-02-15T09:55:10.003-08:00"},"s":"E", "c":"STORAGE", "id":22435, "ctx":"initandlisten","msg ":"WiredTiger 错误","attr":{"错误":13,"消息":[1644947710:3451][53343:0x7f12d7777c80], wiredtiger_open: __posix_open_file, 808: /data/db/WiredTiger.turtle: handle -打开:打开:权限被拒绝"}} {"t":{"$date":"2022-02-15T09:55:10.003-08:00"},"s":"W", "c": “贮存”, "id":22347, "ctx":"initandlisten","msg":"任何兼容版本下启动WiredTiger失败。 这可能是由于升级或降级不受支持。"} {"t":{"$date":"2022-02-15T09:55:10.003-08:00"},"s":"F", " c":"STORAGE", "id":28595, "ctx":"initandlisten","msg":"Terminating.","attr":{"reason":"13: Permission denied"}} {"t ":{"$date":"2022-02-15T09:55:10.003-08:00"},"s":"F", "c":"-", "id":23091, "ctx" :“initandlisten”,“msg”:“致命断言”,“attr”:{“msgid”:28595,“文件”:“src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp”,“line”:687 }} {"t":{"$date":"2022-02-15T09:55:10.003-08:00"},"s":"F", "c":"-", "id": 23092,“ctx”:“initandlisten”,“msg”:“\n\n***在 fassert() 失败后中止\n\n”}

我应该怎么做才能让 mongodb 服务再次运行? 我已经在本地卸载并重新安装了 mongodb。

感谢您的知识和时间。

于是卸载重装MongoDB,问题好像解决了。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM