Author

Topic: bitcoind crashing on raspberry (Read 1444 times)

legendary
Activity: 1036
Merit: 1001
/dev/null
August 22, 2015, 07:57:17 AM
#5
where is location of blockchain folder? somewhere on SD card or on some external USB storage/remote location.

I stopped using RPi because of frequent filesystem corruptions and it seems that this is the case. if you are running some applications require lot of writes, I bet that corruption is the issue.

try:

tune2fs -c 3 /dev/mmcblkp** (some number for your card) - triggers FS check after each 3 reboots.

open /etc/default/rcS and add/edit line "FSCKFIX=yes" for auto correction.

but anyway, FS corruption on RPi is not anything new or rare...sadly.
legendary
Activity: 1540
Merit: 1002
August 19, 2015, 07:42:15 PM
#4
silly question if it keeps failing at the same point.... is there enough room? dont forget most images for PI are based on 1 or 2 GB sd cards and partitions need to be changed
legendary
Activity: 1512
Merit: 1012
August 15, 2015, 07:24:35 AM
#3
If the issue is indeed in the wallet file and if you are simply running a full node, you can disable wallet support altogether, using the -disablewallet command
staff
Activity: 3458
Merit: 6793
Just writing some code
August 14, 2015, 01:52:43 PM
#2
Looks like you have a problem with the wallet file. If you don't have any bitcoin one it yet and haven't given out any addresses from it, then just delete the file and you will get a new wallet. Otherwise, you will need to use the salvagewallet command.
newbie
Activity: 6
Merit: 0
August 14, 2015, 08:08:38 AM
#1
Hi all, i am trying to run bitcoin fullnode in RaspberryPi 2 model B. But when I run bitcoind to syncronize blockchain  it fails after 200K downloaded blocks every time. In db.log:
Quote
__db_meta_setup: /home/storage/chain/wallet.dat: unexpected file type or format
when I try "getinfo" command, and
Quote
Page 0: metadata page corrupted
Page 0: could not check metadata page
wallet.dat: DB_VERIFY_BAD: Database verification failed
__db_meta_setup: /home/storage/chain/wallet.dat: unexpected file type or format
when I try to stop&start daemon
last lines in debug.log is :
Quote
2015-08-14 12:40:11 UpdateTip: new best=0000000000000036287f1d1a4db901076eb338a343c9b6f587e42d02                                                                                                     eb08c1ac  height=193743  log2_work=68.532392  tx=5928891  date=2012-08-13 19:57:49 progress=0.03                                                                                                     2217  cache=41.4MiB(119230tx)
2015-08-14 12:40:11 msghand thread interrupt
2015-08-14 12:40:11 Shutdown: In progress...
2015-08-14 12:40:11 StopNode()
when it works and
Quote
2015-08-14 12:41:58 Using wallet wallet.dat
2015-08-14 12:41:58 init message: Verifying wallet...
2015-08-14 12:41:58 CDBEnv::Open: LogDir=/home/storage/chain/database ErrorFile=/home/storage/ch                                                                                                     ain/db.log
2015-08-14 12:41:58 Failed to rename wallet.dat to wallet.1439556118.bak
2015-08-14 12:41:58 Error:
2015-08-14 12:41:58 Shutdown: In progress...
2015-08-14 12:41:58 scheduler thread interrupt
2015-08-14 12:41:58 StopNode()
2015-08-14 12:41:58 Shutdown: done
when I try to restart.
Can somebody help me with this problem?

Jump to: