[SERVER-34066]  file:WiredTiger.wt, connection: unable to read root page from file:WiredTiger.wt: WT_ERROR: non-specific WiredTiger error Created: 22/Mar/18  Updated: 14/Aug/18  Resolved: 24/Mar/18

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

Type: Bug Priority: Major - P3
Reporter: trendtao Assignee: Kelsey Schubert
Resolution: Done Votes: 0
Labels: docker, envc, rns, rps, trcf, wtc
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Docker Container


Attachments: File WiredTiger.turtle     File WiredTiger.turtle     File WiredTiger.wt     File WiredTiger.wt     File repair_attempt.tar.gz    
Operating System: Linux
Participants:

 Description   

Dear all,
I met a mongo problem in docker container, this wrong message is as follows, someone help me solve? Thanks

Error Message:
MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=2dc35ebfdd81
db_1 | 2018-03-22T13:23:21.273+0000 I CONTROL [initandlisten] db version v3.4.10
db_1 | 2018-03-22T13:23:21.273+0000 I CONTROL [initandlisten] git version: 078f28920cb24de0dd479b5ea6c66c644f6326e9
db_1 | 2018-03-22T13:23:21.273+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1t 3 May 2016
db_1 | 2018-03-22T13:23:21.273+0000 I CONTROL [initandlisten] allocator: tcmalloc
db_1 | 2018-03-22T13:23:21.273+0000 I CONTROL [initandlisten] modules: none
db_1 | 2018-03-22T13:23:21.273+0000 I CONTROL [initandlisten] build environment:
db_1 | 2018-03-22T13:23:21.273+0000 I CONTROL [initandlisten] distmod: debian81
db_1 | 2018-03-22T13:23:21.273+0000 I CONTROL [initandlisten] distarch: x86_64
db_1 | 2018-03-22T13:23:21.273+0000 I CONTROL [initandlisten] target_arch: x86_64
db_1 | 2018-03-22T13:23:21.274+0000 I CONTROL [initandlisten] options: { storage: { mmapv1:

{ smallFiles: true }

} }
db_1 | 2018-03-22T13:23:21.274+0000 W - [initandlisten] Detected unclean shutdown - /data/db/mongod.lock is not empty.
db_1 | 2018-03-22T13:23:21.296+0000 I - [initandlisten] Detected data files in /data/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
db_1 | 2018-03-22T13:23:21.296+0000 W STORAGE [initandlisten] Recovering data from the last clean checkpoint.
db_1 | 2018-03-22T13:23:21.296+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=1382M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,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),
db_1 | 2018-03-22T13:23:21.302+0000 E STORAGE [initandlisten] WiredTiger error (-31802) [1521725001:302961][1:0x7f7d375bed40], file:WiredTiger.wt, connection: unable to read root page from file:WiredTiger.wt: WT_ERROR: non-specific WiredTiger error
db_1 | 2018-03-22T13:23:21.303+0000 E STORAGE [initandlisten] WiredTiger error (0) [1521725001:303007][1:0x7f7d375bed40], file:WiredTiger.wt, connection: WiredTiger has failed to open its metadata
db_1 | 2018-03-22T13:23:21.303+0000 E STORAGE [initandlisten] WiredTiger error (0) [1521725001:303016][1:0x7f7d375bed40], file:WiredTiger.wt, connection: This may be due to the database files being encrypted, being from an older version or due to corruption on disk
db_1 | 2018-03-22T13:23:21.303+0000 E STORAGE [initandlisten] WiredTiger error (0) [1521725001:303023][1:0x7f7d375bed40], file:WiredTiger.wt, connection: You should confirm that you have opened the database with the correct options including all encryption and compression options
db_1 | 2018-03-22T13:23:21.303+0000 I - [initandlisten] Assertion: 28595:-31802: WT_ERROR: non-specific WiredTiger error src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 276
db_1 | 2018-03-22T13:23:21.304+0000 I STORAGE [initandlisten] exception in initAndListen: 28595 -31802: WT_ERROR: non-specific WiredTiger error, terminating
db_1 | 2018-03-22T13:23:21.304+0000 I NETWORK [initandlisten] shutdown: going to close listening sockets...
db_1 | 2018-03-22T13:23:21.304+0000 I NETWORK [initandlisten] removing socket file: /tmp/mongodb-27017.sock
db_1 | 2018-03-22T13:23:21.304+0000 I NETWORK [initandlisten] shutdown: going to flush diaglog...
db_1 | 2018-03-22T13:23:21.304+0000 I CONTROL [initandlisten] now exiting
db_1 | 2018-03-22T13:23:21.304+0000 I CONTROL [initandlisten] shutting down with code:100



 Comments   
Comment by trendtao [ 24/Mar/18 ]

Hi Kelsey ,
Thank you very much, this problem is solved,Thank you for your file,

Comment by Kelsey Schubert [ 23/Mar/18 ]

Hi ht,

I've attached a repair attempt (repair_attempt.tar.gz) of the files you provided. Please extract these files and replace them in your $dbpath and let us know if it resolves the issue. If you are still seeing errors after replacing these files, please provide the complete logs from the affected node so that we can further investigate.

Thank you,
Kelsey

Comment by trendtao [ 23/Mar/18 ]

Hi Kelsey,
Thank you for your reply,I upload the attach WiredTiger.turtle and WiredTiger.wt files in Email , please help me,
Thanks
Trendtao

Comment by Kelsey Schubert [ 22/Mar/18 ]

Hi ht,

Would you please upload the WiredTiger.turtle and WiredTiger.wt files at the same time (or just the WiredTiger.turtle file, if you the WiredTiger.wt hasn't been subsequently modified) so we can attempt a repair?

Thank you,
Kelsey

Generated at Thu Feb 08 04:35:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.