[SERVER-19949] Fatal Assertion 28561 on startup due to corrupt WiredTiger.basecfg file Created: 14/Aug/15  Updated: 14/Aug/15  Resolved: 14/Aug/15

Status: Closed
Project: Core Server
Component/s: WiredTiger
Affects Version/s: 3.0.5
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Vitaly [X] Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

Hello,
MongoDB crashes after Fatal Assertion 28561
I try run mongod through command:
$ mongod --storageEngine wiredTiger --dbpath ~/tmp/db/meteor_3.0 --port 3001

2015-08-14T12:36:06.021+0300 I STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=8G,session_max=20000,eviction=(threads_max=4),statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),
2015-08-14T12:36:06.022+0300 E STORAGE  [initandlisten] WiredTiger (22) [1439544966:22251][1160:0x7fff732a7300], wiredtiger_open: Error parsing '(major=2\nminor=5)' at byte 15: Value already complete: Invalid argument
2015-08-14T12:36:06.022+0300 E STORAGE  [initandlisten] WiredTiger (22) [1439544966:22285][1160:0x7fff732a7300], wiredtiger_open: Error parsing '(major=2\nminor=5)' at byte 15: Value already complete: Invalid argument
2015-08-14T12:36:06.022+0300 I -        [initandlisten] Fatal Assertion 28561
2015-08-14T12:36:06.022+0300 I -        [initandlisten]

How can I fix this and how do I keep as much of my data as possible?



 Comments   
Comment by Vitaly [X] [ 14/Aug/15 ]

Thx, it works.
It happened in realtime, simply stopped creating new mongo connections.

Vitaly

Comment by Michael Cahill (Inactive) [ 14/Aug/15 ]

Laboratory, since the version config mentioned in the error message does not appear in the wiredtiger_open config in mongod.log, this looks like the WiredTiger.basecfg file has become corrupted. Do you know if that file has been edited since the database was created?

It is probably safe to rename WiredTiger.basecfg to WiredTiger.basecfg.old or similar: mongod should start correctly without it.

Generated at Thu Feb 08 03:52:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.