简体   繁体   中英

Solana start solana-test-validator on Linux / Ubuntu blockstore error

When trying to start the solana-test-validator on my Ubuntu machine I received the following error:

Error: failed to start validator: Failed to create ledger at test-ledger: blockstore error

When taking a detailed look at the error logs I noticed the following issue:

[0m[38;5;8m[[0m2021-12-11T10:29:28.942979023Z [0m[1m[31mERROR[0m solana_ledger::blockstore[0m[38;5;8m][0m tar stderr: /bin/sh: 1: bzip2: not found

The issue can be fixed by installing bzip2 . The following line should fix the issue:

sudo apt-get install bzip2

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM