[SERVER-27777] file:WiredTiger.wt, connection: unable to read root page from file:WiredTiger.wt: WT_ERROR: non-specific WiredTiger error Created: 22/Jan/17  Updated: 13/Aug/18  Resolved: 28/Jan/17

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

Type: Bug Priority: Major - P3
Reporter: frankzou Assignee: Kelsey Schubert
Resolution: Done Votes: 0
Labels: envns, rpo, rps, trcf, wtc
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File WiredTiger.turtle     File WiredTiger.wt     File repair_attempt-2.tar.gz     File repair_attempt.tar.gz     File wt-bak.rar    
Operating System: Linux
Participants:

 Description   

I am running mongodb 3.2.5 in Cent OS 6.4.

After a unclean down the server.I start mongod server use following command ,but i got failed

please kindly help me.

/home/xiangdong/soft/mongodb/bin/mongod --port 53100 --dbpath /home/xiangdong/mongo/63100/ --storageEngine wiredTiger --wiredTigerCacheSizeGB 1

2017-01-22T08:41:53.602-0400 I CONTROL [initandlisten] MongoDB starting : pid=4827 port=53100 dbpath=/home/xiangdong/mongo/63100/ 64-bit host=localhost.localdomain
2017-01-22T08:41:53.603-0400 I CONTROL [initandlisten] db version v3.2.5
2017-01-22T08:41:53.603-0400 I CONTROL [initandlisten] git version: 34e65e5383f7ea1726332cb175b73077ec4a1b02
2017-01-22T08:41:53.603-0400 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013
2017-01-22T08:41:53.603-0400 I CONTROL [initandlisten] allocator: tcmalloc
2017-01-22T08:41:53.603-0400 I CONTROL [initandlisten] modules: none
2017-01-22T08:41:53.603-0400 I CONTROL [initandlisten] build environment:
2017-01-22T08:41:53.603-0400 I CONTROL [initandlisten] distmod: rhel62
2017-01-22T08:41:53.603-0400 I CONTROL [initandlisten] distarch: x86_64
2017-01-22T08:41:53.603-0400 I CONTROL [initandlisten] target_arch: x86_64
2017-01-22T08:41:53.603-0400 I CONTROL [initandlisten] options: { net:

{ port: 53100 }

, storage: { dbPath: "/home/xiangdong/mongo/63100/", engine: "wiredTiger", wiredTiger: { engineConfig:

{ cacheSizeGB: 1 }

} } }
2017-01-22T08:41:53.656-0400 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=1G,session_max=20000,eviction=(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),
2017-01-22T08:41:53.669-0400 E STORAGE [initandlisten] WiredTiger (-31802) [1485088913:669470][4827:0x7f6d66d3cd40], file:WiredTiger.wt, connection: unable to read root page from file:WiredTiger.wt: WT_ERROR: non-specific WiredTiger error
2017-01-22T08:41:53.669-0400 E STORAGE [initandlisten] WiredTiger (0) [1485088913:669535][4827:0x7f6d66d3cd40], file:WiredTiger.wt, connection: WiredTiger has failed to open its metadata
2017-01-22T08:41:53.669-0400 E STORAGE [initandlisten] WiredTiger (0) [1485088913:669563][4827:0x7f6d66d3cd40], 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
2017-01-22T08:41:53.669-0400 E STORAGE [initandlisten] WiredTiger (0) [1485088913:669588][4827:0x7f6d66d3cd40], file:WiredTiger.wt, connection: You should confirm that you have opened the database with the correct options including all encryption and compression options
2017-01-22T08:41:53.670-0400 I - [initandlisten] Assertion: 28595:-31802: WT_ERROR: non-specific WiredTiger error
2017-01-22T08:41:53.671-0400 I STORAGE [initandlisten] exception in initAndListen: 28595 -31802: WT_ERROR: non-specific WiredTiger error, terminating
2017-01-22T08:41:53.671-0400 I CONTROL [initandlisten] dbexit: rc: 100



 Comments   
Comment by Kelsey Schubert [ 28/Jan/17 ]

Thanks for sharing the good news.

Comment by frankzou [ 28/Jan/17 ]

HI Thomas Schubert

It's working too.Thank you so much.You saved my life.

Comment by Kelsey Schubert [ 24/Jan/17 ]

Hi frankzou,

I'm glad to hear the first repair attempt was successful. I've attached the repair attempt for the second set of files. Please let us know if it resolves the issue.

Kind regards,
Thomas

Comment by frankzou [ 24/Jan/17 ]

Hi Thomas Schubert ,

That's great. It's OK. Can you kindly help me to repair another one(wt-bak.rar)?

Comment by Kelsey Schubert [ 23/Jan/17 ]

Hi frankzou,

I've attached the files after a repair attempt. Would you please extract these files and replace them in you $dbpath and let us know if it resolves the issue?

Thank you,
Thomas

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