Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I go to bitcoind using "bitcoind -daemon" in Windows 7, it won't run in the background. When I type that, it just sits there and does nothing. If I keep it like that and open another command prompt and use eg. "bitcoind getpeerinfo" , it says it can't get a lock on some directory.

share|improve this question

What are you expecting it to do? It is a daemon (server) that is waiting for RPC connections on port 8333.

Your bitcoin.conf needs to have configured the rpcuser and rpcpassword. Then you can access the bitcoin API.

With Bitcoin-Qt version 0.7 and higher, the Debug window gives you access to run a console, so you don't need to run bitcoind if you are just trying to execute some commands interactively.

share|improve this answer
Thanks, I didn't really know what to expect from bitcoind. I thought it would return a response. – Joseph Havens Nov 4 '12 at 13:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.