Closed jheleniak closed 4 years ago
got it to go a little further by fixing kafka config, however hung up on StratumServerMain.cc:190] config missing: management.controller_topic
docker run --rm --network=host -v=/work/config:/work/config btccom/btcpool-btc sserver -c /work/config/sserver.cfg I0303 02:09:33.560626 1 StratumServerMain.cc:139] BTC sserver version 2019.09.26-17-support-ckb-mining-85-g28ad61f I0303 02:09:33.561092 1 StratumServerMain.cc:75] createServer type: BTM I0303 02:09:33.561233 1 StratumServer.cc:500] [Option] stale shares will be accepted. I0303 02:09:33.561374 1 StratumServer.cc:619] chain = default, niceHashForced = 0, niceHashMinDiff = 67108864 I0303 02:09:33.561434 1 Kafka.cc:538] producer librdkafka version: 0.9.1 I0303 02:09:33.561475 1 Kafka.cc:538] producer librdkafka version: 0.9.1 I0303 02:09:33.561489 1 Kafka.cc:538] producer librdkafka version: 0.9.1 I0303 02:09:33.561507 1 Kafka.cc:81] consumer librdkafka version: 0.9.1 I0303 02:09:33.561617 1 UserInfo.cc:47] UserInfo: user name will be case insensitive I0303 02:09:33.561659 1 UserInfo.cc:68] UserInfo: suffix _* will be stripped from user name I0303 02:09:33.577307 1 StratumServer.cc:785] current mining model : subaccount I0303 02:09:33.577656 1 StratumServer.cc:161] set max job lifetime to 300s I0303 02:09:33.577805 1 StratumServer.cc:166] set mining notify interval to 30s I0303 02:09:33.580135 8 UserInfo.cc:476] chain default update users count: 15 I0303 02:09:33.580219 1 Kafka.cc:167] add brokers: 10.0.0.220:9092 I0303 02:09:33.580498 1 Kafka.cc:174] create topic handle: BytomJob I0303 02:09:33.729337 1 Kafka.cc:617] add brokers: 10.0.0.220:9092 I0303 02:09:33.731945 1 Kafka.cc:624] create topic handle: BytomShareLog I0303 02:09:33.735476 17 StratumServer.cc:219] start job repository consume thread I0303 02:09:33.915319 1 Kafka.cc:617] add brokers: 10.0.0.220:9092 I0303 02:09:33.915446 1 Kafka.cc:624] create topic handle: BytomSolvedShare I0303 02:09:34.067096 1 Kafka.cc:617] add brokers: 10.0.0.220:9092 I0303 02:09:34.067723 1 Kafka.cc:624] create topic handle: BytomCommonEvents F0303 02:09:34.192756 1 StratumServerMain.cc:190] config missing: management.controller_topic Check failure stack trace: @ 0x7f46e7a0c0cd google::LogMessage::Fail() @ 0x7f46e7a0df33 google::LogMessage::SendToLog() @ 0x7f46e7a0bc28 google::LogMessage::Flush() @ 0x7f46e7a0e999 google::LogMessageFatal::~LogMessageFatal() @ 0x55fa7ed1d74e main @ 0x7f46e48eeb97 __libc_start_main @ 0x55fa7ed1f7ba _start
management = { enabled = false; # default: true
kafka_brokers = "10.0.0.220:9092"; # "10.0.0.1:9092,10.0.0.2:9092,..." controller_topic = "BtcManController"; processor_topic = "BtcManProcessor";
auto_switch_chain = false; };
docker run --rm --network=host -v=/work/config:/work/config btccom/btcpool-btc sserver -c /work/config/sserver.cfg I0302 23:16:46.095880 1 StratumServerMain.cc:139] BTC sserver version 2019.09.26-17-support-ckb-mining-85-g28ad61f I0302 23:16:46.096666 1 StratumServerMain.cc:75] createServer type: BTM I0302 23:16:46.096909 1 StratumServer.cc:500] [Option] stale shares will be accepted. I0302 23:16:46.097012 1 StratumServer.cc:619] chain = default, niceHashForced = 0, niceHashMinDiff = 67108864 I0302 23:16:46.097048 1 Kafka.cc:538] producer librdkafka version: 0.9.1 I0302 23:16:46.097124 1 Kafka.cc:538] producer librdkafka version: 0.9.1 I0302 23:16:46.097141 1 Kafka.cc:538] producer librdkafka version: 0.9.1 I0302 23:16:46.097163 1 Kafka.cc:81] consumer librdkafka version: 0.9.1 I0302 23:16:46.097244 1 UserInfo.cc:47] UserInfo: user name will be case insensitive I0302 23:16:46.097259 1 UserInfo.cc:68] UserInfo: suffix _* will be stripped from user name I0302 23:16:46.121775 8 UserInfo.cc:476] chain default update users count: 15 I0302 23:16:46.129346 1 StratumServer.cc:785] current mining model : subaccount I0302 23:16:46.129385 1 StratumServer.cc:161] set max job lifetime to 300s I0302 23:16:46.129396 1 StratumServer.cc:166] set mining notify interval to 30s I0302 23:16:46.134022 1 Kafka.cc:167] add brokers: 127.0.0.1:9092 I0302 23:16:46.137043 1 Kafka.cc:174] create topic handle: BytomJob **F0302 23:16:49.137655 1 Kafka.cc:199] Failed to acquire metadata: Local: Timed out ** Check failure stack trace: @ 0x7f95a88b50cd google::LogMessage::Fail() @ 0x7f95a88b6f33 google::LogMessage::SendToLog() @ 0x7f95a88b4c28 google::LogMessage::Flush() @ 0x7f95a88b7999 google::LogMessageFatal::~LogMessageFatal() @ 0x563cf017d6cd KafkaSimpleConsumer::checkAlive() @ 0x563cf00fa3a0 JobRepository::setupThreadConsume() @ 0x563cf00fc078 StratumServer::setup() @ 0x563cf00f35b8 main @ 0x7f95a5797b97 __libc_start_main @ 0x563cf00f57ba _start****
running bytom node from docker and seems ok docker run -it --net=host -v /home/bytom/.bytom:/root/.bytom bytom:latest / # bytomd node all logs are output in the /root/.bytom/log directory
sserver.txt