[SERVER-45219] file:WiredTiger.wt, connection: unable to read root page from file:WiredTiger.wt Created: 18/Dec/19  Updated: 25/Feb/20  Resolved: 25/Feb/20

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

Type: Bug Priority: Major - P3
Reporter: Luong Tung Assignee: Carl Champain (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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

 Description   

I am running MongoDB v3.4.10 on CentOS 6.9 final.
I am stop mongo service and move /var/lib/mongo to /opt/lib/mongo, then i config dbpath to /opt/lib/mongo.

But when i  start mongodb, i take some error:

2019-12-17T10:51:06.266+0900 E STORAGE  [initandlisten] WiredTiger error (-31802) [1576547466:266213][7497:0x7ff2b4216dc0], file:WiredTiger.wt, connection: unable to read root page from file:WiredTiger.wt: WT_ERROR: non-specific WiredTiger error
2019-12-17T10:51:06.266+0900 E STORAGE  [initandlisten] WiredTiger error (0) [1576547466:266239][7497:0x7ff2b4216dc0], file:WiredTiger.wt, connection: WiredTiger has failed to open its metadata
2019-12-17T10:51:06.266+0900 E STORAGE  [initandlisten] WiredTiger error (0) [1576547466:266249][7497:0x7ff2b4216dc0], 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
2019-12-17T10:51:06.266+0900 E STORAGE  [initandlisten] WiredTiger error (0) [1576547466:266278][7497:0x7ff2b4216dc0], file:WiredTiger.wt, connection: You should confirm that you have opened the database with the correct options including all encryption and compression options



 Comments   
Comment by Carl Champain (Inactive) [ 25/Feb/20 ]

Hi,

We haven’t heard back from you for some time, so I’m going to mark this ticket as resolved. If this is still an issue for you, please provide additional information and we will reopen the ticket.

Regards,
Carl

Comment by Luong Tung [ 20/Dec/19 ]

Thank you so much, i will try do it.

Comment by Carl Champain (Inactive) [ 19/Dec/19 ]

luongkhactung@gmail.com,

I've attached a repair attempt of the files you provided as repair_attempt.tar.gz. Please extract these files, replace them in your $dbpath, and let us know if it resolves the issue.

Comment by Luong Tung [ 19/Dec/19 ]

I was attach the files.

Thanks you so much

Comment by Carl Champain (Inactive) [ 19/Dec/19 ]

Hi luongkhactung@gmail.com,

Is it possible that you attach the files here?

Thank you,
Carl

Comment by Luong Tung [ 19/Dec/19 ]

Hi Carl Champain,

I was send wiretiger.wt and wiredtiger.turtle files to you by email `tung.luong@ntq-solution.com.vn`. Please check it.

Thanks you,
Tung

Comment by Carl Champain (Inactive) [ 18/Dec/19 ]

Hi luongkhactung@gmail.com,

Thanks for the report.
Can you please attach copies of the original wiredTiger.wt and wiredTiger.turtle files (not the ones you obtained from SERVER-34066) and we can attempt a metadata-only repair effort using internal tools?
Please keep in mind that this repair effort may not be successful, and that diagnosing corruption issues requires significant information and effort.

Kind regards,
Carl
 

Comment by Luong Tung [ 18/Dec/19 ]

I use solution at https://jira.mongodb.org/browse/SERVER-34066

But i take some other error:

2019-12-18T13:35:31.905+0900 I CONTROL [main] ***** SERVER RESTARTED *****
 2019-12-18T13:35:31.929+0900 I CONTROL [initandlisten] MongoDB starting : pid=23189 port=21017 dbpath=/opt/lib/mongo 64-bit host=STL-APDB-02
 2019-12-18T13:35:31.929+0900 I CONTROL [initandlisten] db version v3.4.10
 2019-12-18T13:35:31.929+0900 I CONTROL [initandlisten] git version: 078f28920cb24de0dd479b5ea6c66c644f6326e9
 2019-12-18T13:35:31.929+0900 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013
 2019-12-18T13:35:31.929+0900 I CONTROL [initandlisten] allocator: tcmalloc
 2019-12-18T13:35:31.929+0900 I CONTROL [initandlisten] modules: none
 2019-12-18T13:35:31.929+0900 I CONTROL [initandlisten] build environment:
 2019-12-18T13:35:31.929+0900 I CONTROL [initandlisten] distmod: rhel62
 2019-12-18T13:35:31.929+0900 I CONTROL [initandlisten] distarch: x86_64
 2019-12-18T13:35:31.929+0900 I CONTROL [initandlisten] target_arch: x86_64
 2019-12-18T13:35:31.929+0900 I CONTROL [initandlisten] options: { config: "mongod_test.conf", net:
 
{ bindIp: "0.0.0.0", port: 21017 }
 
, processManagement: \{ fork: true, pidFilePath: "/var/run/mongodb/mongod_test.pid" }, replication: \{ oplogSizeMB: 262144, replSetName: "stlRStGIO2" }, security: \{ authorization: "enabled", keyFile: "/etc/mongod/mongodb-keyfile" }, storage: { dbPath: "/opt/lib/mongo", journal:
 
{ enabled: true }
 
}, systemLog: \{ destination: "file", logAppend: true, path: "/var/log/mongodb/mongod_test.log" } }
 2019-12-18T13:35:31.948+0900 I - [initandlisten] Detected data files in /opt/lib/mongo created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
 2019-12-18T13:35:31.948+0900 I STORAGE [initandlisten]
 2019-12-18T13:35:31.948+0900 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
 2019-12-18T13:35:31.948+0900 I STORAGE [initandlisten] ** See [http://dochub.mongodb.org/core/prodnotes-filesystem]
 2019-12-18T13:35:31.948+0900 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=11567M,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),
 2019-12-18T13:35:32.443+0900 E STORAGE [initandlisten] WiredTiger error (0) [1576643732:443965][23189:0x7fa9b3d97dc0], [file:sizeStorer.wt|file:///sizeStorer.wt], WT_SESSION.open_cursor: read checksum error for 4096B block at offset 12288: block header checksum of 4204015500 doesn't match expected checksum of 3842992612
 2019-12-18T13:35:32.444+0900 E STORAGE [initandlisten] WiredTiger error (0) [1576643732:444009][23189:0x7fa9b3d97dc0], [file:sizeStorer.wt|file:///sizeStorer.wt], WT_SESSION.open_cursor: sizeStorer.wt: encountered an illegal file format or internal value
 2019-12-18T13:35:32.444+0900 E STORAGE [initandlisten] WiredTiger error (-31804) [1576643732:444022][23189:0x7fa9b3d97dc0], [file:sizeStorer.wt|file:///sizeStorer.wt], WT_SESSION.open_cursor: the process must exit and restart: WT_PANIC: WiredTiger library panic
 2019-12-18T13:35:32.444+0900 I - [initandlisten] Fatal Assertion 28558 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 361
 2019-12-18T13:35:32.444+0900 I - [initandlisten]
 
***aborting after fassert() failure

Generated at Thu Feb 08 05:08:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.