How to install Jormungandr Networking (Linux)

Follow

Comments

9 comments

  • Avatar
    Dimcho Spasov

    Hi Alejandro,

    I use your guidance to start the node, but it looks like the beta-config.yaml file is not in the correct format as keep showing me the same error as per below:

    $ RUST_BACKTRACE=full ./jormungandr --config ./beta-config.yaml --genesis-block-hash 27668e95121566df0bb2e2c11c5fd95dfe59efd570f8f592235ecff167ca3f29

    Error in the overall configuration of the node
    |-> Error while parsing the node configuration file: log: invalid type: map, expected a sequence at line 2 column 10
    |-> log: invalid type: map, expected a sequence at line 2 column 10

     

    Could you please check the beta-config.yaml file and confirm if it is correct?

    Or am I missing something here?

    I am using the latest release v0.8.0-rc6.

    my beta-config.yaml file is amended as you requested here.

    Please check and advise where is the issue here not able to start the node?

    Thanks
     

    0
    Comment actions Permalink
  • Avatar
    Alejandro

    Hi Dimcho, thanks for your questions. 

    There was an issue with the beta-config.yaml file I think it is already solved and it should work if you download it again.

    But it is a very easy fix, you can do it yourself.  You just need to add a couple of [ ] after "log": and at the end of the block before the coma.  Like in the following: 


    {
    "log": [{                   # <--- here
    "format": "plain",
    "level": "info",
    "output": "stderr",
    }],                          #<--- and here 


     

     

     

     

    0
    Comment actions Permalink
  • Avatar
    Jcgack

    Hello,

    I do not find a valid genesis block hash in beta-genesis.yaml!

    2
    Comment actions Permalink
  • Avatar
    Jcgack

    When I understand it right, Cardano node (Jormunandr) stops when terminal window is closed.

    How can I let it run permanently 24/7 when I run it via ssh on a remote machine?

    1
    Comment actions Permalink
  • Avatar
    Cenk Pekiner

    this is instructions for Linux and the first line still says MacOS

    0
    Comment actions Permalink
  • Avatar
    Cenk Pekiner

    There is no genesis hash in the given https://hydra.iohk.io/build/1438536/download/1/beta-genesis.yaml file.

    And just running the jormungandr tool with the provided hash from the page ends up showing the following error:

    jormungandr --config beta-config.yaml --genesis-block-hash 27668e95121566df0bb2e2c11c5fd95dfe59efd570f8f592235ecff167ca3f29

     

    Dec 09 01:42:34.745 WARN failed to download block, error: GetBlocksStream { source: Error { code: InvalidArgument, source: Custom { kind: InvalidInput, error: StructureInvalid("Invalid config parameter tag") } } }, peer_address: 13.57.72.175:3000, block: 27668e95121566df0bb2e2c11c5fd95dfe59efd570f8f592235ecff167ca3f29, task: initError fetching the genesis block from the network

    0
    Comment actions Permalink
  • Avatar
    Cenk Pekiner

    Here is my beta-config.yml

    {
    "log": [{
    "format": "plain",
    "level": "info",
    "output": "stderr"
    }],
    "p2p": {
    "listen_address": "/ip4/{my public ip address}/tcp/3100",
    "public_address": "/ip4/{my public ip address}/tcp/3100",
    "topics_of_interest": {
    "blocks": "high",
    "messages": "high"
    },
    "trusted_peers": [
    {
    "address": "/ip4/52.9.85.113/tcp/3000",
    "id": "7f47c880339670ad98d38ad3b379e1f7853479f8ef4f6fc7"
    },
    {
    "address": "/ip4/13.57.72.175/tcp/3000",
    "id": "b8b20f58b34dd7a485c8cff0d67f800149b1ff220b826632"
    },
    {
    "address": "/ip4/52.8.62.219/tcp/3000",
    "id": "f51aa0ce82b7f061e12762bd22b84424129f690655441b8e"
    },
    {
    "address": "/ip4/52.194.124.233/tcp/3000",
    "id": "255df5de725cd9d1087b8a3e4ff66d65572c36ceed791679"
    },
    {
    "address": "/ip4/52.197.220.18/tcp/3000",
    "id": "50768a0bb41781baa551cd96fb46a62e666e97874bca1cf5"
    },
    {
    "address": "/ip4/3.125.20.154/tcp/3000",
    "id": "ddfea960bc2fe1aa45af9b385b6bd3e949c050df61b5b451"
    },
    {
    "address": "/ip4/3.124.255.35/tcp/3000",
    "id": "2b7216b51b890ef1e8ade8e513dd6f2b35173e46b08ac1a9"
    }
    ]
    },
    "rest": {
    "listen": "127.0.0.1:3100"
    }
    }

    0
    Comment actions Permalink
  • Avatar
    James Lorger

    There is no hash in the beta-genesis.yaml file.

    Is this documentation still up to date and how is it different from https://testnet.iohkdev.io/en/cardano/shelley/get-started/setting-up-the-networking-node/ ?

     

    0
    Comment actions Permalink
  • Avatar
    Alejandro

    James, the config file does not carry the genesis block hash. The hash goes with the --genesis-block-hash command when starting jormungandr. 

     

     

     

    0
    Comment actions Permalink

Please sign in to leave a comment.