簡體   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