Post
Topic
Board Altcoin Discussion
Re: Problem with block sync. Help please!
by
maksymsh
on 24/01/2018, 12:39:04 UTC
Hi, bctcomm! Thanks for answer.

1. 2018-01-18 14:31:12 connect() to 92.72.62.19:9444 failed after select(): No route to host (113)
Problem solved and this error doesnt appear in log any more.

2. /root/.coinbit/banlist.dat File doesnt exist. There cant be problems with permissions, because i run my coin as root

New debug.log:
2018-01-24 12:28:48 Coinbit version v0.12.1.0-g9779e1e1f320 (Mon, 11 Apr 2016 13:01:43 +0200)
2018-01-24 12:28:48 InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1
2018-01-24 12:28:48 Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2018-01-24 12:28:48 Default data directory /root/.coinbit
2018-01-24 12:28:48 Using data directory /root/.coinbit
2018-01-24 12:28:48 Using config file /root/.coinbit/coinbit.conf
2018-01-24 12:28:48 Using at most 125 connections (1024 file descriptors available)
2018-01-24 12:28:48 Using 8 threads for script verification
2018-01-24 12:28:48 scheduler thread start
2018-01-24 12:28:48 libevent: getaddrinfo: address family for nodename not supported
2018-01-24 12:28:48 Binding RPC on address :: port 9443 failed.
2018-01-24 12:28:48 HTTP: creating work queue of depth 16
2018-01-24 12:28:48 Config options rpcuser and rpcpassword will soon be deprecated. Locally-run instances may remove rpcuser to use cookie-based auth, or may be replaced with rpcauth. Please see share/rpcuser for rpcauth auth generation.
2018-01-24 12:28:48 HTTP: starting 4 worker threads
2018-01-24 12:28:48 Using wallet wallet.dat
2018-01-24 12:28:48 init message: Verifying wallet...
2018-01-24 12:28:48 CDBEnv::Open: LogDir=/root/.coinbit/database ErrorFile=/root/.coinbit/db.log
2018-01-24 12:28:48 Bound to [::]:9444
2018-01-24 12:28:48 Bound to 0.0.0.0:9444
2018-01-24 12:28:48 Cache configuration:
2018-01-24 12:28:48 * Using 2.0MiB for block index database
2018-01-24 12:28:48 * Using 32.5MiB for chain state database
2018-01-24 12:28:48 * Using 65.5MiB for in-memory UTXO set
2018-01-24 12:28:48 init message: Loading block index...
2018-01-24 12:28:48 Opening LevelDB in /root/.coinbit/blocks/index
2018-01-24 12:28:48 Opened LevelDB successfully
2018-01-24 12:28:48 Using obfuscation key for /root/.coinbit/blocks/index: 0000000000000000
2018-01-24 12:28:48 Opening LevelDB in /root/.coinbit/chainstate
2018-01-24 12:28:49 Opened LevelDB successfully
2018-01-24 12:28:49 Using obfuscation key for /root/.coinbit/chainstate: 235e53d5d75c0bb4
2018-01-24 12:28:50 LoadBlockIndexDB: last block file = 0
2018-01-24 12:28:50 LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=187838, size=59463790, heights=0...6139, time=2018-01-03...2018-01-16)
2018-01-24 12:28:50 Checking all blk files are present...
2018-01-24 12:28:50 LoadBlockIndexDB: transaction index disabled
2018-01-24 12:28:50 LoadBlockIndexDB: hashBestChain=0000000000db8bf46c714d2a11410c89127a3f7970421b85ef3af9d304362703 height=6139 date=2018-01-16 10:05:28 progress=0.012481
2018-01-24 12:28:50 init message: Verifying blocks...
2018-01-24 12:28:50 Verifying last 288 blocks at level 3
2018-01-24 12:28:50 No coin database inconsistencies in last 289 blocks (289 transactions)
2018-01-24 12:28:50  block index            2084ms
2018-01-24 12:28:50 init message: Loading wallet...
2018-01-24 12:28:51 nFileVersion = 120100
2018-01-24 12:28:51 Keys: 104 plaintext, 0 encrypted, 104 w/ metadata, 104 total
2018-01-24 12:28:51  wallet                  194ms
2018-01-24 12:28:51 init message: Activating best chain...
2018-01-24 12:28:51 UpdateTip: new best=00000000001784f585f2fbc540e5424239fa3e8b77cc7036f4a8c85779f73606  height=6138  log2_work=46.30552  tx=6141  date=2018-01-16 09:54:26 progress=0.012467  cache=0.0MiB(1tx)
2018-01-24 12:28:51 AddToWallet dc035ebd22d771d9d7757e11b51ec161ffa7b756d22bb5df959bd2173ceb8907  
2018-01-24 12:28:51 UpdateTip: new best=00000000063882ce46b075d0dc7d127034c675d9b0dec741688db430eab62103  height=6139  log2_work=46.307321  tx=6142  date=2018-01-16 10:05:28 progress=0.012481  cache=0.0MiB(2tx)
2018-01-24 12:28:51 AddToWallet 8fbb104733d4de872805af4bfc6af6accfbc1ac610a5dafdb9a09456f1635fd2  
2018-01-24 12:28:51 mapBlockIndex.size() = 187840
2018-01-24 12:28:51 nBestHeight = 6139
2018-01-24 12:28:51 setKeyPool.size() = 101
2018-01-24 12:28:51 mapWallet.size() = 5510
2018-01-24 12:28:51 mapAddressBook.size() = 2
2018-01-24 12:28:51 init message: Loading addresses...
2018-01-24 12:28:51 torcontrol thread start
2018-01-24 12:28:51 ERROR: Read: Failed to open file /root/.coinbit/banlist.dat
2018-01-24 12:28:51 Invalid or missing banlist.dat; recreating
2018-01-24 12:28:51 Loaded 3 addresses from peers.dat  1ms
2018-01-24 12:28:51 AddLocal(85.25.119.154:9444,1)
2018-01-24 12:28:51 Discover: IPv4 enp2s0: 85.25.119.154
2018-01-24 12:28:51 init message: Done loading
2018-01-24 12:28:51 dnsseed thread start
2018-01-24 12:28:51 msghand thread start
2018-01-24 12:28:51 net thread start
2018-01-24 12:28:51 opencon thread start
2018-01-24 12:28:51 addcon thread start
2018-01-24 12:28:51 receive version message: /Satoshi:0.12.1/: version 70012, blocks=6139, us=85.25.119.154:9444, peer=1
2018-01-24 12:29:02 Loading addresses from DNS seeds (could take a while)
2018-01-24 12:29:02 2 addresses found from DNS seeds
2018-01-24 12:29:02 dnsseed thread exit
2018-01-24 12:29:02 keypool reserve 4
2018-01-24 12:29:02 keypool return 4
2018-01-24 12:30:47 receive version message: /Satoshi:0.12.1/: version 70012, blocks=6014, us=85.25.119.154:9444, peer=2




file /root/.coinbit/coinbit.conf:
rpcuser=rpcuser
rpcpassword=rpcpassword
rpcallowip=127.0.0.1
daemon=1
server=1
listen=1
port=9444
rpcport=9443
addnode=85.25.119.154
addnode=94.130.236.187


Still no sync