Bitcoin Forum
November 14, 2024, 08:02:42 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: raspberry pi errors 0.17.0.1  (Read 158 times)
mattbellme (OP)
Member
**
Offline Offline

Activity: 135
Merit: 10


View Profile
October 31, 2018, 08:30:04 PM
 #1

Getting this error:

LevelDB read failure: Corruption: not an sstable (bad magic number)
2018-10-31T20:27:25Z Fatal LevelDB error: Corruption: not an sstable (bad magic number)
2018-10-31T20:27:25Z You can use -debug=leveldb to get more complete diagnostic messages
2018-10-31T20:27:25Z

************************
EXCEPTION: 15dbwrapper_error       
Fatal LevelDB error: Corruption: not an sstable (bad magic number)       
bitcoin in AppInit()       

2018-10-31T20:27:25Z Shutdown: In progress...
2018-10-31T20:27:25Z scheduler thread interrupt
2018-10-31T20:27:26Z Shutdown: done


Anyone know how to fix it?  I followed this guide to set it up https://github.com/Stadicus/guides/blob/master/raspibolt/raspibolt_20_pi.md

▰   SEMUX   -   An innovative high-performance blockchain platform   ▰
■▬▬▬▬▬      Powered by Semux BFT consensus algorithm      ▬▬▬▬▬■
Github   -   Discord   -   Twitter   -   Telegram   -   Get Free Airdrop Now!
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3542
Merit: 6886


Just writing some code


View Profile WWW
October 31, 2018, 08:36:42 PM
 #2

Your databases are corrupt. Start bitcoind with -reindex.

bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
October 31, 2018, 08:37:01 PM
 #3

This means your data is somehow corrupted.

Did you connect a hard drive via USB ?
Data might get corrupted if there isn't a continuous connection to the hard drive. And USB connections tend to be interrupted quite often.

Usually it should be enough to run core with the -reindex parameter to fix that.

mattbellme (OP)
Member
**
Offline Offline

Activity: 135
Merit: 10


View Profile
November 01, 2018, 08:16:21 AM
 #4

blocks are on a usb drive

did -reindex got the same error

now i get this error

Binding RPC on address ::1 port 8332 failed.
2018-11-01T08:14:51Z Binding RPC on address 127.0.0.1 port 8332 failed.
2018-11-01T08:14:51Z Unable to bind any endpoint for RPC server
2018-11-01T08:14:51Z Error: Unable to start HTTP server. See debug log for details.
2018-11-01T08:14:51Z Shutdown: In progress...
2018-11-01T08:14:51Z scheduler thread interrupt
2018-11-01T08:14:51Z Shutdown: done



▰   SEMUX   -   An innovative high-performance blockchain platform   ▰
■▬▬▬▬▬      Powered by Semux BFT consensus algorithm      ▬▬▬▬▬■
Github   -   Discord   -   Twitter   -   Telegram   -   Get Free Airdrop Now!
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
November 01, 2018, 08:27:37 AM
 #5

now i get this error

Binding RPC on address ::1 port 8332 failed.
[...]

This means that bitcoind couldn't bind the port 8332.

Can you check whether anything else is using this port currently ?

If there isn't anything else running (which is probably the case on a PI), you might want to try to either:
(1) shutdown the daemon by executing bitcoin-cli stop or
(2) rebooting your PI.

mattbellme (OP)
Member
**
Offline Offline

Activity: 135
Merit: 10


View Profile
November 03, 2018, 08:49:53 AM
 #6

Thanks for the help

I ended up having to wipe my hdd and start again, now it works.

▰   SEMUX   -   An innovative high-performance blockchain platform   ▰
■▬▬▬▬▬      Powered by Semux BFT consensus algorithm      ▬▬▬▬▬■
Github   -   Discord   -   Twitter   -   Telegram   -   Get Free Airdrop Now!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!