angelomilan / ethereum-guides

Ethereum guide for dummies
236 stars 83 forks source link

Problem downloading blockchain at Part 2, Step 3 #4

Open ghost opened 9 years ago

ghost commented 9 years ago

I got as far as Part 2, Step 3 following all instructions to the letter. But when I ran the command

geth --genesis /home/ubuntu/genesis_block.json

I entered Yes to the agreement and then saw some output but never saw any output message along the lines of

Imported 256 block(s) (0 queued 0 ignored) in 449.34258ms #block_number

even after about an hour. I was unable to tell if the blockchain was downloading, or what. Any advice or idea what the problem might be, if there is a problem? Sorry I should have copied the output that I did see, but I terminated the instance.

(P.S. overall great guide! thanks for it!)

angelomilan commented 9 years ago

So, we should mention that genesis generation is not needed anymore.

Problem is.. Why you're stuck.

Please see here:

https://www.google.it/search?q=geth+stuck+ipc+service+started&oq=geth+stuck+ipc+service+started&aqs=chrome..69i57.11960j0j4&client=ms-android-motorola&sourceid=chrome-mobile&espv=1&ie=UTF-8

And let me know if and how you solved On Aug 29, 2015 10:18 PM, "basilbasilbasil" notifications@github.com wrote:

I got as far as Part 2, Step 3 following all instructions to the letter. But when I ran the command

geth --genesis /home/ubuntu/genesis_block.json

I entered Yes to the agreement and then saw some output but never saw any output message along the lines of

Imported 256 block(s) (0 queued 0 ignored) in 449.34258ms #block_number

even after about an hour. I was unable to tell if the blockchain was downloading, or what. Any advice or idea what the problem might be, if there is a problem? Sorry I should have copied the output that I did see, but I terminated the instance.

(P.S. overall great guide! thanks for it!)

— Reply to this email directly or view it on GitHub https://github.com/angelomilan/ethereum-guides/issues/4.

angelomilan commented 9 years ago

Since you don't need to generate genesis anymore, you can skip step 2. As for step 3, the command becomes just: geth

ghost commented 9 years ago

Thank you, I'll have a chance to give it a go on the weekend and consult the search link, and I'll let you know what happens this time, skipping step 2 and adjusting step 3.

ghost commented 9 years ago

OK success this time! I can't remember but it's possible that last week I put the extra storage in the EBS volume that AWS adds, instead of in root (oops!). Which would explain why I couldn't download the blockchain.

In any case, I tried it out last night (skipping step 2, adjusting step 3) and it worked very well! One question: if you use the 4 GPUs (g2.8xlarge), then at the stage when we start ethminer three more times

ethminer -G --opencl-device <1..3>

do you run each command in its own screen as we already did for the Geth RPC client and the first miner? This is what I did, so that in all I had 5 screens running (4 for the mining GPUs and 1 for the rpc).

When I did this, I'm pretty sure that when I looked at the output for one of the mining screens, I saw the geth console output. If 5 screens is correct, what's the expected output on each screen? I expected to see the mining logs (you know, with the colored output) in each of the screens where I ran ethminer, but I think I only saw that in one or maybe two of the screens.

angelomilan commented 9 years ago

Glad it worked, thanks to you I will update the guide. Regarding your question... the best way for me is to show you a tiny video I did. https://instagram.com/p/5y6GslOvSg/?taken-by=angelomilan

;-)

ghost commented 9 years ago

Thanks! ok cool the video makes sense, I'll aim to match that setup.