[SERVER-40214] file:WiredTiger.wt, connection: WiredTiger.turtle: encountered an illegal file format or internal value Created: 19/Mar/19 Updated: 22/Mar/19 Resolved: 22/Mar/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 3.4.3 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Alexandre Baril-Lagace | Assignee: | Danny Hatcher (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | wt-repair-success | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Operating System: | ALL |
| Participants: |
| Description |
|
Hello,
After a bad/crash stop of the mongo instance i can not restart i du to a corupted recovery file i think I have seen other post where it seems possible for you to repair le file and get it back I am currently down on a graylog server using mongo i woul be so greatfull if you could help!
I have attache the 2 WiredTiger files that seem necessary for this
And her are the logs i have on startup
some-mongo_1 | 2019-03-19T15:31:41.376+0000 W - [initandlisten] Detected unclean shutdown - /data/db/mongod.lock is not empty. |
| Comments |
| Comment by Danny Hatcher (Inactive) [ 22/Mar/19 ] | ||
|
Hello Alexandre, I'm glad to hear it! We made some large improvements to our repair functionality in MongoDB 4.0 so please try that process going forward if you run into more issues. We also strongly recommend implementing a replica set across different servers as that will allow you to keep operating if one server goes down. Thanks, Danny | ||
| Comment by Alexandre Baril-Lagace [ 21/Mar/19 ] | ||
|
Hello Dany, That did the trick! I ran
then
And i was able to access de data It works and i learned something. Thank you very much! | ||
| Comment by Danny Hatcher (Inactive) [ 21/Mar/19 ] | ||
|
Hello Alexandre, Please do the following: 1. Ensure you maintain a backup of those files. Does that successfully allow you to start up? Thank you, Danny | ||
| Comment by Alexandre Baril-Lagace [ 20/Mar/19 ] | ||
|
Hello Danny, | ||
| Comment by Danny Hatcher (Inactive) [ 20/Mar/19 ] | ||
|
Hello Alexandre, Could you please attach the mongod.log covering the time period from before the shutdown so that I can determine the source of the error? Thank you, Danny |