You are viewing a single comment's thread from:

RE: 如何搭建见证人节点

in #cn7 years ago

每次run 的是始终config不好。 怎么debug config哪里出错了?
Error parsing logging config from config file /steem/witness_node_data_dir/config.ini, using default config

Sort:  

docker logs 容器名字
你用这条指令查看容器的输出。

也是这个错误


3501216ms th_a main.cpp:133 main ] Error parsing logging config from config file /steem/witness_node_data_dir/config.ini, using default config
3501216ms th_a main.cpp:172 main ] parsing options
3501216ms th_a main.cpp:174 main ] initializing node
3501216ms th_a main.cpp:176 main ] initializing plugins
3501216ms th_a application.cpp:1148 initialize_plugins ] Initializing plugin witness
3501335ms th_a main.cpp:179 main ] starting node
3501335ms th_a application.cpp:259 startup ] Backtrace on segfault is enabled
3501335ms th_a application.cpp:263 startup ] shared_file_size is 16106127360 bytes
3501336ms th_a application.hpp:105 register_api_factory ] name: login_api
3501336ms th_a application.hpp:105 register_api_factory ] name: database_api
3501336ms th_a application.hpp:105 register_api_factory ] name: network_node_api
3501336ms th_a application.hpp:105 register_api_factory ] name: network_broadcast_api
3501336ms th_a application.cpp:281 startup ] Starting Steem node in write mode.
3501336ms th_a application.cpp:304 startup ] Replaying blockchain on user request.
3501337ms th_a database.cpp:151 reindex ] Reindexing Blockchain
3501465ms th_a block_log.cpp:130 open ] Log is nonempty
3501471ms th_a block_log.cpp:161 open ] Index is empty
3501471ms th_a block_log.cpp:283 construct_index ] Reconstructing Block Log Index...
^C

你第四步执行了吗?就是这个命令 ./run.sh dlblocks
如果你执行了 ./run.sh dlblocks ,那么就用 ./run.sh replay 启动,否则用 ./run.sh start 启动。

我第四部已经下好了block
你可以看到90G

然后也启动好了dockercontainer

但是./run.sh logs 去 check logs里面始终是下面的这个错误

删掉 block_log.index,然后用./run.sh replay重启容器试试。

还是一样的结果

你在reconstructing block log index这一步最长等了多久,这一步是重建索引,现在的一般可能需要大约2、3天。

等了一天没有任何结果。 我觉得他重建应该总的有一个中间结果?

Coin Marketplace

STEEM 0.26
TRX 0.20
JST 0.038
BTC 97158.43
ETH 3589.50
USDT 1.00
SBD 3.86