Skip to content

[Improvement]: Mainnet Validator Node #219

@catena2w

Description

@catena2w

Type

Content improvement

Page URL

https://docs.0g.ai/run-a-node/validator-node

Description

Mainnet (Aristotle) Setup Guide shows the “Head block is not reachable” error at step 4, Initialize Geth (https://docs.0g.ai/run-a-node/validator-node#4-initialize-geth):

og@Ubuntu-2404-noble-amd64-base:~/aristotle-v1.0.2$ ./bin/geth init --datadir ~/0gdata/0g-home/geth-home ./geth-genesis.json
INFO [10-29|15:06:41.860] Maximum peer count                       ETH=50 total=50
INFO [10-29|15:06:41.861] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
INFO [10-29|15:06:41.864] Set global gas cap                       cap=50,000,000
INFO [10-29|15:06:41.865] Initializing the KZG library             backend=gokzg
INFO [10-29|15:06:41.866] Defaulting to pebble as the backing database
INFO [10-29|15:06:41.866] Allocated cache and file handles         database=/home/og/0gdata/0g-home/geth-home/geth/chaindata cache=16.00MiB handles=16
INFO [10-29|15:06:42.049] Opened ancient database                  database=/home/og/0gdata/0g-home/geth-home/geth/chaindata/ancient/chain readonly=false
INFO [10-29|15:06:42.049] State schema set to default              scheme=path
ERROR[10-29|15:06:42.049] Head block is not reachable
INFO [10-29|15:06:42.185] Opened ancient database                  database=/home/og/0gdata/0g-home/geth-home/geth/chaindata/ancient/state readonly=false
INFO [10-29|15:06:42.185] Initialized path database                cache=16.00MiB buffer=64.00MiB history=90000
INFO [10-29|15:06:42.185] Writing custom genesis block
INFO [10-29|15:06:42.339] Successfully wrote genesis state         database=chaindata hash=2a737b..681589

Suggested Solution

This message doesn’t appear to be critical, initialization completes successfully. I suggest changing its severity from error to warning, or adding a note in the guide clarifying that this message can be safely ignored.

Checklist

  • I've checked existing issues
  • This would help other users

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions