4

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?

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
  • All I get is "error: couldn't connect to server" – puk Dec 5 '13 at 9:18
  • Scratch that, it is magically working now. I guess it needed time... – puk Dec 5 '13 at 10:22
  • @puk yea, I forgot about that. Sometimes it can take a minute or two to warm up – Earlz Dec 5 '13 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 '13 at 15:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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