Bitcoin Forum
May 07, 2024, 11:22:04 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Cannot start node after syncing blocks from windows  (Read 695 times)
xenostar (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 1


View Profile
August 08, 2015, 09:00:39 PM
Last edit: August 09, 2015, 06:00:42 PM by xenostar
 #1

Im trying to get a node going on a raspberry pi 2 and synced the blockchain on my windows box after getting fedup with the pi taking weeks to sync.

I used paragon ext2fs to copy the blocks and chainstate directories to my /home/pi/.bitcoin dir on my SD card.

Upon running bitcoind I get the following output:

http://pastebin.com/6m0UXiJF

At first it couldnt open LevelDB saying permission denied and i noticed that the dir's were owned by root.root. So I did 'sudo chown pi:pi -R *' while in the .bitcoin dir and got the LevelDB permission error gone, but now its doing the same thing just later saying "Error opening block database." and wont allow me to rebuild if I do bitcoind -reindex

Could someone please let me know what I can do to correct the situation and get this running?

thanks!
1715124124
Hero Member
*
Offline Offline

Posts: 1715124124

View Profile Personal Message (Offline)

Ignore
1715124124
Reply with quote  #2

1715124124
Report to moderator
1715124124
Hero Member
*
Offline Offline

Posts: 1715124124

View Profile Personal Message (Offline)

Ignore
1715124124
Reply with quote  #2

1715124124
Report to moderator
1715124124
Hero Member
*
Offline Offline

Posts: 1715124124

View Profile Personal Message (Offline)

Ignore
1715124124
Reply with quote  #2

1715124124
Report to moderator
Unlike traditional banking where clients have only a few account numbers, with Bitcoin people can create an unlimited number of accounts (addresses). This can be used to easily track payments, and it improves anonymity.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715124124
Hero Member
*
Offline Offline

Posts: 1715124124

View Profile Personal Message (Offline)

Ignore
1715124124
Reply with quote  #2

1715124124
Report to moderator
1715124124
Hero Member
*
Offline Offline

Posts: 1715124124

View Profile Personal Message (Offline)

Ignore
1715124124
Reply with quote  #2

1715124124
Report to moderator
1715124124
Hero Member
*
Offline Offline

Posts: 1715124124

View Profile Personal Message (Offline)

Ignore
1715124124
Reply with quote  #2

1715124124
Report to moderator
Xialla
Legendary
*
Offline Offline

Activity: 1036
Merit: 1000


/dev/null


View Profile
August 08, 2015, 09:09:55 PM
 #2

I bet, that you still have problems with permissions (based on my experience, it is cause of majority linux "problems")

can you please send here output from:
Code:
ls -la /home/pi/.bitcoin/blocks/index
xenostar (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 1


View Profile
August 09, 2015, 12:06:48 AM
 #3

I bet, that you still have problems with permissions (based on my experience, it is cause of majority linux "problems")

can you please send here output from:
Code:
ls -la /home/pi/.bitcoin/blocks/index

http://pastebin.com/NUQS91sx

Added a few other dirs output incase needed.
vm1990
Legendary
*
Offline Offline

Activity: 1540
Merit: 1002



View Profile
August 09, 2015, 09:40:15 AM
 #4

try changing the owner to pi 

the pis got a funny file system even by liunx standards


xenostar (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 1


View Profile
August 09, 2015, 06:01:07 PM
Last edit: August 09, 2015, 06:23:06 PM by xenostar
 #5

try changing the owner to pi  

the pis got a funny file system even by liunx standards



Oops, I accidentally stated root.root in OP, but it was really supposed to be pi:pi

All files are owned by pi.

BTW I think I have it fixed thanks to:

https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=48958

Which covers permissions and ownership very thoroughly.

Now im retransferring the BC and will hopefully have this resolved.
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!