Bitcoin Forum
May 15, 2024, 08:28:27 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin Daemon Vagrant DataDir  (Read 968 times)
toasterthegamer (OP)
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?
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:  

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