Eos: can not run eosd after building:unable to find genesis file

Created on 27 Dec 2017  路  4Comments  路  Source: EOSIO/eos

Detailed information are listed below:
818966ms chain_plugin.cpp:126 plugin_initialize ] initializing chain plugin
1818966ms wasm_interface.cpp:757 get ] Runtime::init
1818966ms http_plugin.cpp:138 plugin_initialize ] host: 127.0.0.1 port: 8888
1818966ms http_plugin.cpp:141 plugin_initialize ] configured http to listen on 127.0.0.1:8888
1818966ms net_plugin.cpp:2357 plugin_initialize ] Initialize net plugin
1818966ms net_plugin.cpp:2377 plugin_initialize ] Setting net_plugin logging level to info
1818966ms net_plugin.cpp:2402 plugin_initialize ] host: 0.0.0.0 port: 9876
1818966ms net_plugin.cpp:2481 plugin_initialize ] my node_id is 733d4d93ded55a69c2d5b1a09bf7493ee4917e33b1c03200cdb42d8f1bce5635
1818966ms main.cpp:59 main ] eosd version 233ba4e5
1818967ms main.cpp:63 main ] 10 assert_exception: Assert Exception
fc::exists( my->genesis_file ): unable to find genesis file '', check --genesis-json argument
{"f":""}
chain_plugin.cpp:228 plugin_startup

{"my->genesis_file.generic_string()":""}
  chain_plugin.cpp:257 plugin_startup

Most helpful comment

I ran into this problem too. I fixed it by adding genesis-json = {path-to-eos-folder}/eos/genesis.json to the file: {path-to-eos-folder}/eos/build/programs/eosd/data-dir/config.ini. I run osx high sierra btw.

I also added the other config options in the getting started section. Be careful though, the enable-stale-production is already in the config file so if you copy-paste the config options, you'll have a duplicate and need to delete the other one or else you'll get an error.

All 4 comments

I ran into this problem too. I fixed it by adding genesis-json = {path-to-eos-folder}/eos/genesis.json to the file: {path-to-eos-folder}/eos/build/programs/eosd/data-dir/config.ini. I run osx high sierra btw.

I also added the other config options in the getting started section. Be careful though, the enable-stale-production is already in the config file so if you copy-paste the config options, you'll have a duplicate and need to delete the other one or else you'll get an error.

@egmracer01 thank you, problem solved.

which one are you supposed to delete the first or second?

@tcpinedo I believe you are suppose to delete the first one that is set to false.
I am still having trouble though. The config.ini is referencing the correct genesis.json file, but I receive the following error

2535586ms            main.cpp:63                   main                 ] 10 assert_exception: Assert Exception
fc::exists( my->genesis_file ): unable to find genesis file '', check --genesis-json argument
    {"f":""}
      chain_plugin.cpp:228 plugin_startup

    {"my->genesis_file.generic_string()":""}
      chain_plugin.cpp:257 plugin_startup

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Npizza picture Npizza  路  3Comments

jcalfee picture jcalfee  路  3Comments

jiazechen picture jiazechen  路  3Comments

zxf969175364 picture zxf969175364  路  3Comments

williamleecn picture williamleecn  路  3Comments