Newbie question: Can't open console (Ubuntu 14.04)

mikmik Member Posts: 57 ✭✭
I recently installed etherum on Ubuntu 14.04 according to the advices on github.
I started the CLI via command "geth console". I get following messages but no console!?
Does this mean, that it is still loading the blockchain? I ran it for hours, but it doesn't stop importing blocks. I thought it's still a testnet even if it says "ᴡᴇʟᴄᴏᴍᴇ ᴛᴏ ᴛʜᴇ FRONTIER " at start, so the blockchain shouldn't be so big or am I wrong?

Thanks Mik
[email protected]:~$ geth console

ᴡᴇʟᴄᴏᴍᴇ ᴛᴏ ᴛʜᴇ

I0425 07:46:03.344721 2312 backend.go:191] Protocol Version: 60, Network Id: 0
I0425 07:46:03.344768 2312 backend.go:201] Blockchain DB Version: 2
I0425 07:46:03.346106 2312 chain_manager.go:227] Last block (#166096) 3fb035e79c99fa4c3119f20f3eaa3bfdc64e5000e749a5b3c603e20bec2ef03b TD=1351842294847
I0425 07:46:05.066828 2312 ethash.go:94] Making cache for epoch: 5 (166096) (f2e59013a0a379837166b59f871b20a8a0d101d1c355ea85d35329360e69c000)
I0425 07:46:06.452717 2312 ethash.go:99] Took: 1.385833341s
I0425 07:46:06.467249 2312 cmd.go:116] Starting Geth/v0.9.11/linux/go1.4.2
I0425 07:46:06.467394 2312 server.go:183] Starting Server
I0425 07:46:06.467471 2312 nat.go:94] mapping error: no devices discovered
I0425 07:46:06.467518 2312 udp.go:157] Listening, enode://e4b974f161176c4735f258d24c76aa1f43ad760dbd06233bdcd27aa9c1f9f197f[email protected][::]:30303
I0425 08:02:45.594937 2532 whisper.go:142] Whisper started
I0425 08:02:45.594958 2532 backend.go:398] Server started
I0425 08:02:45.594966 2532 server.go:306] Listening on [::]:30303
I0425 08:02:45.594985 2532 nat.go:94] mapping error: no devices discovered
> I0425 08:03:00.554772 2532 chain_manager.go:603] imported 6 block(s) 0 queued in 25.434337ms. #171813 [1336b72a / 04e67280]

... and so on


  • CiemonCiemon Member Posts: 5

    You see the > at the beginning of this line:

    > I0425 08:03:00.554772 2532 chain_manager.go:603] imported 6 block(s) 0 queued in 25.434337m

    That's your console prompt I believe. If you press Enter a few times you should see that > at the beginning of each new line.
  • mikmik Member Posts: 57 ✭✭
    Tx Ciemon,
    it looks like the prompt, but I cant enter anything cause this 'chain_manager' ticks every fraction of a second. Is this still the blockchain? How long does the download last?
  • CiemonCiemon Member Posts: 5
    Well, according to the stats page at block #172,019 has just gone through, and you're on about block #171813. It shouldn't take too long, they import in blocks of 256.

    You can of course control how much info you see using loglevels, this is the command I use to start geth:

    geth --unlock=primary --loglevel=3 --maxpeers=50 console

    Loglevel 3 works for me, 5 is far too much. Even so, from what I've been doing, if you type blindly after you've seen the console prompt, your command will be taken.
  • mikmik Member Posts: 57 ✭✭
    Ok, tx Ciemon, you helped a lot!
Sign In or Register to comment.