Author

Topic: Bitcoin Daemon Vagrant DataDir (Read 987 times)

full member
Activity: 154
Merit: 100
January 14, 2014, 06:07:42 PM
#2
If vagrant is not really that important I wrote a tut on how to set this up
newbie
Activity: 8
Merit: 0
January 13, 2014, 03: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?
Jump to: