hyperledger-archives / iroha

Iroha - A simple, decentralized ledger

Home Page:http://iroha.tech

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Launching Iroha Daemon error

raymondfx opened this issue · comments

root@745c2152a998:/opt/iroha_data# irohad --config config.docker --genesis_block genesis.block --keypair_name node0
[2018-07-08 10:57:15.856448300][th:11][info] MAIN start
[2018-07-08 10:57:15.859868300][th:11][info] MAIN config initialized
[2018-07-08 10:57:15.865888800][th:11][info] IROHAD created
[2018-07-08 10:57:15.866111200][th:11][info] StorageImpl:initConnection Start storage creation
[2018-07-08 10:57:15.866274000][th:11][info] StorageImpl:initConnection block store created
[2018-07-08 10:57:15.872416600][th:11][error] IROHAD Connection to PostgreSQL broken: could not translate host name "some-postgres" to address: Name or service not known

[2018-07-08 10:57:15.872540800][th:11][info] IROHAD [Init] => storage
terminate called after throwing an instance of 'pqxx::broken_connection'
what(): could not translate host name "some-postgres" to address: Name or service not known

Aborted

@raymondfx does it work now? You have written in chat that it works. Could you tell us what was wrong?

commented

Since there's no activity there I'm closing an issue.

For the future lurkers: the issue probably is in the configuration file, particularly postgresql hostname some-postgres in pg_opt. You may review psql docs for more detailed info