Bitcoin Forum
September 27, 2018, 11:07:36 PM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoin Daemon Vagrant DataDir  (Read 902 times)
toasterthegamer
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
January 13, 2014, 08:15:14 PM
 #1

Hi,

I'm using vagrant, a virtual machine development environment, to setup a test server to develop with bitcoin, and I have a script that auto compiles bitcoin on the linux guest and creates a link from home/user/.bitcoin to a shared folder on the host machine(a windows PC). When I start the daemon using: "./bitcoind -daemon" I receive this error(from the log file):

Code:
init message: Loading block index...
Opening LevelDB in /home/vagrant/.bitcoin/blocks/index
: Error opening block database.
Do you want to rebuild the block database now?
Flush(false)
DBFlush(false) ended               1ms
StopNode()
Flushed 0 addresses to peers.dat  5ms
Flush(true)
DBFlush(true) ended               0ms

I made sure that the folder and files within .bitcoin have the correct permissions. I've deleted everything in /home/vagrant/.bitcoin but I still get the same error. I have a feeling this has something to do with the fact that the windows machine is NTFS compared to the linux machine which is ext3.

Has anyone run into any similar issues or have any suggestions on how I can fix this?
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1538089656
Hero Member
*
Offline Offline

Posts: 1538089656

View Profile Personal Message (Offline)

Ignore
1538089656
Reply with quote  #2

1538089656
Report to moderator
1538089656
Hero Member
*
Offline Offline

Posts: 1538089656

View Profile Personal Message (Offline)

Ignore
1538089656
Reply with quote  #2

1538089656
Report to moderator
Shahrukh
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile WWW
January 14, 2014, 11:07:42 PM
 #2

If vagrant is not really that important I wrote a tut on how to set this up

I turned everyone down Sad Sorry for that
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!