5

I do realize that in the early stages bitcoin has to download a lot (How long does it take to download the blockchain?), however, I assume this is like wget or rsync where it displays the progress. Right now, when I issue the command bitcoind, it just hangs and outputs nothing. Could this be due to closed ports? Is it sufficient that I opened ports on my Ubuntu router, or must I forward those ports? Alternatively, is there a command line parameter I have to issue to get the output of bitcoind?

2 Answers 2

6

No output is normal, it's meant to be run as a daemon. If you want to see progress however, try bitcoind -printtoconsole or tail -f ~/.bitcoin/debug.log.

4

You should be using something like so to run bitcoind as a daemon

bitcoind -daemon

And then, you can check on it like so:

bitcoind getinfo
4
  • All I get is "error: couldn't connect to server"
    – puk
    Dec 5, 2013 at 9:18
  • Scratch that, it is magically working now. I guess it needed time...
    – puk
    Dec 5, 2013 at 10:22
  • @puk yea, I forgot about that. Sometimes it can take a minute or two to warm up
    – Earlz
    Dec 5, 2013 at 15:01
  • Newer builds use bitcoin-cli to connect to the daemon rather than commands with bitcoind. You can pass -rpcwait to this to stop calls failing when the daemon is still checking it's files and starting up.
    – Anonymous
    Dec 5, 2013 at 15:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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