Open benzmuircroft opened 2 years ago
I have an ubunt 20 server there is no firewall with 2 coins PAC and NBX (netbox) NBX runs fine but PAC does not PAC gets many:
2021-12-03 14:37:42 connect() to 95.216.163.41:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:43 connect() to 95.216.152.34:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:43 connect() to 116.203.221.249:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:44 connect() to 116.203.154.110:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:45 connect() to 116.203.221.249:7112 failed after select(): Connection refused (111)
PACGlobal Daemon version v0.15.2.0-1894e051c
pacglobal.conf
rpcuser=redacted rpcpassword=redacted prune=2048 txindex=0 blocksonly=1 dbcache=4096 maxsigcachesize=4 maxconnections=13 rpcthreads=5 maxorphantxsize=10 port=7112 rpcport=7111 listen=1 datadir=/home/PAC/data walletnotify=[ -e "/home/PAC/tx.js" ] && node /home/PAC/tx.js %s blocknotify=[ -e "/home/PAC/block.js" ] && node /home/PAC/block.js %s #addnode=140.82.35.35:7112 #addnode=155.138.221.42:7112 #addnode=199.247.22.216:7112 #addnode=209.250.235.51:7112 #addnode=45.76.82.54:7112 #addnode=54.39.4.55:7112 #addnode=80.240.29.169:7112 #addnode=95.179.246.69:7112
debug.log
2021-12-03 14:36:58 PACGlobal version v0.15.2.0-1894e051c 2021-12-03 14:36:58 InitParameterInteraction: parameter interaction: -blocksonly=1 -> setting -whitelistrelay=0 2021-12-03 14:36:58 Validating signatures for all blocks. 2021-12-03 14:36:58 Setting nMinimumChainWork=00000000000000000000000000000000000000000000000000000000000512d5 2021-12-03 14:36:58 Prune configured to target 2048MiB on disk for block and undo files. 2021-12-03 14:36:58 ParameterInteraction: parameter interaction: -blocksonly=1 -> setting -walletbroadcast=0 2021-12-03 14:36:58 Warning: -maxorphantx is not supported anymore. Use -maxorphantxsize instead. 2021-12-03 14:36:58 Using the 'sse4(1way),sse41(4way),avx2(8way)' SHA256 implementation 2021-12-03 14:36:58 Using RdRand as an additional entropy source 2021-12-03 14:36:58 Default data directory /root/.PACGlobal 2021-12-03 14:36:58 Using data directory /home/PAC/data 2021-12-03 14:36:58 Using config file /home/PAC/data/pacglobal.conf 2021-12-03 14:36:58 Using at most 13 automatic connections (1024 file descriptors available) 2021-12-03 14:36:58 Using 2 MiB out of 4/2 requested for signature cache, able to store 65536 elements 2021-12-03 14:36:58 Using 2 MiB out of 4/2 requested for script execution cache, able to store 65536 elements 2021-12-03 14:36:58 Using 4 threads for script verification 2021-12-03 14:36:58 libevent: getaddrinfo: address family for nodename not supported 2021-12-03 14:36:58 Binding RPC on address ::1 port 7111 failed. 2021-12-03 14:36:58 HTTP: creating work queue of depth 16 2021-12-03 14:36:58 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. 2021-12-03 14:36:58 HTTP: starting 5 worker threads 2021-12-03 14:36:58 RenameThread: thread new name pacglobal-scriptch 2021-12-03 14:36:58 RenameThread: thread new name pacglobal-scriptch 2021-12-03 14:36:58 RenameThread: thread new name pacglobal-scheduler 2021-12-03 14:36:58 scheduler thread start 2021-12-03 14:36:58 RenameThread: thread new name pacglobal-scriptch 2021-12-03 14:36:58 RenameThread: thread new name pacglobal-http 2021-12-03 14:36:58 Creating backup of /home/PAC/data/wallet.dat -> /home/PAC/data/backups/wallet.dat.2021-12-03-14-36 2021-12-03 14:36:58 Old backup deleted: "/home/PAC/data/backups/wallet.dat.2021-11-29-14-12" 2021-12-03 14:36:58 init message: Verifying wallet(s)... 2021-12-03 14:36:58 Using BerkeleyDB version Berkeley DB 4.8.30: (April 9, 2010) 2021-12-03 14:36:58 Using wallet wallet.dat 2021-12-03 14:36:58 CDBEnv::Open: LogDir=/home/PAC/data/database ErrorFile=/home/PAC/data/db.log 2021-12-03 14:36:58 RenameThread: thread new name pacglobal-httpworker 2021-12-03 14:36:58 RenameThread: thread new name pacglobal-httpworker 2021-12-03 14:36:58 RenameThread: thread new name pacglobal-httpworker 2021-12-03 14:36:58 RenameThread: thread new name pacglobal-httpworker 2021-12-03 14:36:58 RenameThread: thread new name pacglobal-httpworker 2021-12-03 14:36:59 fLiteMode 0 2021-12-03 14:36:59 init message: Loading sporks cache... 2021-12-03 14:36:59 Reading info from sporks.dat... 2021-12-03 14:36:59 Loaded info from sporks.dat 0ms 2021-12-03 14:36:59 Sporks: 0 2021-12-03 14:36:59 Read: Cleaning.... 2021-12-03 14:36:59 Sporks: 0 2021-12-03 14:36:59 Cache configuration: 2021-12-03 14:36:59 * Using 2.0MiB for block index database 2021-12-03 14:36:59 * Using 8.0MiB for chain state database 2021-12-03 14:36:59 * Using 4086.0MiB for in-memory UTXO set (plus up to 286.1MiB of unused mempool space) 2021-12-03 14:36:59 init message: Loading block index... 2021-12-03 14:36:59 Opening LevelDB in /home/PAC/data/blocks/index 2021-12-03 14:36:59 Opened LevelDB successfully 2021-12-03 14:36:59 Using obfuscation key for /home/PAC/data/blocks/index: 0000000000000000 2021-12-03 14:36:59 Opening LevelDB in /home/PAC/data/evodb 2021-12-03 14:36:59 Opened LevelDB successfully 2021-12-03 14:36:59 Using obfuscation key for /home/PAC/data/evodb: 0000000000000000 2021-12-03 14:36:59 Opening LevelDB in /home/PAC/data/llmq 2021-12-03 14:36:59 Opened LevelDB successfully 2021-12-03 14:36:59 Using obfuscation key for /home/PAC/data/llmq: 0000000000000000 2021-12-03 14:36:59 LoadBlockIndexDB: last block file = 0 2021-12-03 14:36:59 LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=1, size=312, heights=0...0, time=2018-02-02...2018-02-02) 2021-12-03 14:36:59 Checking all blk files are present... 2021-12-03 14:36:59 LoadBlockIndexDB: transaction index disabled 2021-12-03 14:36:59 LoadBlockIndexDB: address index disabled 2021-12-03 14:36:59 LoadBlockIndexDB: timestamp index disabled 2021-12-03 14:36:59 LoadBlockIndexDB: spent index disabled 2021-12-03 14:36:59 Opening LevelDB in /home/PAC/data/chainstate 2021-12-03 14:36:59 Opened LevelDB successfully 2021-12-03 14:36:59 Using obfuscation key for /home/PAC/data/chainstate: 6beae33df77ae5c3 2021-12-03 14:36:59 Loaded best chain: hashBestChain=00000354655ff039a51273fe61d3b493bd2897fe6c16f732dbc4ae19f04b789e height=0 date=2018-02-02 03:24:33 progress=0.000000 2021-12-03 14:36:59 init message: Verifying blocks... 2021-12-03 14:36:59 block index 313ms 2021-12-03 14:36:59 init message: Loading wallet... 2021-12-03 14:36:59 nKeysLeftSinceAutoBackup: 1000 2021-12-03 14:36:59 nFileVersion = 150200 2021-12-03 14:36:59 Keys: 0 plaintext, 2041 encrypted, 2041 w/ metadata, 2041 total 2021-12-03 14:36:59 wallet 86ms 2021-12-03 14:36:59 setExternalKeyPool.size() = 1000 2021-12-03 14:36:59 setInternalKeyPool.size() = 0 2021-12-03 14:36:59 mapWallet.size() = 0 2021-12-03 14:36:59 mapAddressBook.size() = 42 2021-12-03 14:36:59 Unsetting NODE_NETWORK on prune mode 2021-12-03 14:36:59 init message: Pruning blockstore... 2021-12-03 14:36:59 PrivateSend: autostart=0, multisession=0, sessions=4, rounds=4, amount=100000, denoms=300 2021-12-03 14:36:59 init message: Loading masternode cache... 2021-12-03 14:36:59 Reading info from mncache.dat... 2021-12-03 14:36:59 Loaded info from mncache.dat 0ms 2021-12-03 14:36:59 Masternodes: meta infos object count: 0, nDsqCount: 0 2021-12-03 14:36:59 Read: Cleaning.... 2021-12-03 14:36:59 Masternodes: meta infos object count: 0, nDsqCount: 0 2021-12-03 14:36:59 init message: Loading governance cache... 2021-12-03 14:36:59 Reading info from governance.dat... 2021-12-03 14:36:59 Loaded info from governance.dat 0ms 2021-12-03 14:36:59 Governance Objects: 0 (Proposals: 0, Triggers: 0, Other: 0; Erased: 0), Votes: 0 2021-12-03 14:36:59 Read: Cleaning.... 2021-12-03 14:36:59 Governance Objects: 0 (Proposals: 0, Triggers: 0, Other: 0; Erased: 0), Votes: 0 2021-12-03 14:36:59 Preparing masternode indexes and governance triggers... 2021-12-03 14:36:59 Masternode indexes and governance triggers prepared 0ms 2021-12-03 14:36:59 Governance Objects: 0 (Proposals: 0, Triggers: 0, Other: 0; Erased: 0), Votes: 0 2021-12-03 14:36:59 init message: Loading fulfilled requests cache... 2021-12-03 14:36:59 Reading info from netfulfilled.dat... 2021-12-03 14:36:59 Loaded info from netfulfilled.dat 0ms 2021-12-03 14:36:59 Nodes with fulfilled requests: 0 2021-12-03 14:36:59 Read: Cleaning.... 2021-12-03 14:36:59 Nodes with fulfilled requests: 0 2021-12-03 14:36:59 CQuorumBlockProcessor::UpgradeDB -- Upgrading DB... 2021-12-03 14:36:59 CQuorumBlockProcessor::UpgradeDB -- Upgrade done... 2021-12-03 14:36:59 RenameThread: thread new name pacglobal-bls-worker-3 2021-12-03 14:36:59 RenameThread: thread new name pacglobal-bls-worker-2 2021-12-03 14:36:59 RenameThread: thread new name pacglobal-bls-worker-0 2021-12-03 14:36:59 RenameThread: thread new name pacglobal-bls-worker-1 2021-12-03 14:36:59 RenameThread: thread new name pacglobal-q-phase-1 2021-12-03 14:36:59 RenameThread: thread new name pacglobal-q-phase-2 2021-12-03 14:36:59 RenameThread: thread new name pacglobal-q-msg-0 2021-12-03 14:36:59 RenameThread: thread new name pacglobal-q-msg-1 2021-12-03 14:36:59 RenameThread: thread new name pacglobal-q-phase-3 2021-12-03 14:36:59 RenameThread: thread new name pacglobal-sigshares 2021-12-03 14:36:59 sigshares thread start 2021-12-03 14:36:59 RenameThread: thread new name pacglobal-instantsend 2021-12-03 14:36:59 instantsend thread start 2021-12-03 14:36:59 mapBlockIndex.size() = 1 2021-12-03 14:36:59 chainActive.Height() = 0 2021-12-03 14:36:59 AddLocal(15.235.26.149:7112,1) 2021-12-03 14:36:59 Discover: IPv4 venet0:0: 15.235.26.149 2021-12-03 14:36:59 Bound to [::]:7112 2021-12-03 14:36:59 Bound to 0.0.0.0:7112 2021-12-03 14:36:59 init message: Loading P2P addresses... 2021-12-03 14:36:59 Loaded 8 addresses from peers.dat 0ms 2021-12-03 14:36:59 init message: Loading banlist... 2021-12-03 14:36:59 init message: Starting network threads... 2021-12-03 14:36:59 RenameThread: thread new name pacglobal-dnsseed 2021-12-03 14:36:59 dnsseed thread start 2021-12-03 14:36:59 RenameThread: thread new name pacglobal-torcontrol 2021-12-03 14:36:59 torcontrol thread start 2021-12-03 14:36:59 RenameThread: thread new name pacglobal-net 2021-12-03 14:36:59 net thread start 2021-12-03 14:36:59 RenameThread: thread new name pacglobal-loadblk 2021-12-03 14:36:59 Filling coin cache with masternode UTXOs... 2021-12-03 14:36:59 Filling coin cache with masternode UTXOs: done in 0ms 2021-12-03 14:36:59 Imported mempool transactions from disk: 0 successes, 0 failed, 0 expired 2021-12-03 14:36:59 RenameThread: thread new name pacglobal-opencon 2021-12-03 14:36:59 opencon thread start 2021-12-03 14:36:59 RenameThread: thread new name pacglobal-addcon 2021-12-03 14:36:59 addcon thread start 2021-12-03 14:36:59 RenameThread: thread new name pacglobal-mncon 2021-12-03 14:36:59 mncon thread start 2021-12-03 14:36:59 init message: Done loading 2021-12-03 14:36:59 RenameThread: thread new name pacglobal-msghand 2021-12-03 14:36:59 msghand thread start 2021-12-03 14:37:00 connect() to 116.203.154.110:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:00 connect() to 95.217.11.141:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:01 connect() to 95.217.11.141:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:01 connect() to 95.217.11.141:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:02 connect() to 95.217.11.140:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:03 connect() to 95.217.11.140:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:03 connect() to 95.216.152.34:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:04 connect() to 95.217.11.140:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:04 connect() to 116.203.154.110:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:05 connect() to 116.203.155.26:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:06 connect() to 95.217.11.141:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:06 CMasternodeSync::ProcessTick -- nTick 7 nCurrentAsset 0 nTriedPeerCount 0 nSyncProgress -0.250000 2021-12-03 14:37:06 connect() to 95.217.11.141:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:07 connect() to 116.203.154.110:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:07 connect() to 95.216.152.34:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:08 connect() to 95.216.152.34:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:09 connect() to 95.216.152.34:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:09 connect() to 116.203.154.110:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:10 connect() to 95.217.11.140:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:10 Loading addresses from DNS seeds (could take a while) 2021-12-03 14:37:10 0 addresses found from DNS seeds 2021-12-03 14:37:10 dnsseed thread exit 2021-12-03 14:37:10 connect() to 95.216.163.41:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:11 connect() to 116.203.221.249:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:12 connect() to 95.217.11.140:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:12 CMasternodeSync::ProcessTick -- nTick 13 nCurrentAsset 0 nTriedPeerCount 0 nSyncProgress -0.250000 2021-12-03 14:37:13 connect() to 95.217.11.141:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:13 connect() to 116.203.155.26:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:14 connect() to 95.216.163.41:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:14 connect() to 95.217.11.141:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:15 connect() to 95.217.11.141:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:16 connect() to 95.216.152.34:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:16 connect() to 116.203.221.249:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:17 connect() to 95.216.152.34:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:17 connect() to 95.216.163.41:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:18 CMasternodeSync::ProcessTick -- nTick 19 nCurrentAsset 0 nTriedPeerCount 0 nSyncProgress -0.250000 2021-12-03 14:37:18 connect() to 95.217.11.141:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:19 connect() to 116.203.154.110:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:19 connect() to 116.203.154.110:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:20 connect() to 95.217.11.140:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:20 connect() to 95.216.152.34:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:21 connect() to 95.217.11.141:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:22 connect() to 95.217.11.140:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:22 connect() to 116.203.155.26:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:23 connect() to 95.217.11.140:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:23 connect() to 95.216.152.34:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:24 CMasternodeSync::ProcessTick -- nTick 25 nCurrentAsset 0 nTriedPeerCount 0 nSyncProgress -0.250000 2021-12-03 14:37:24 connect() to 116.203.221.249:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:25 connect() to 95.217.11.141:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:25 connect() to 95.216.163.41:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:26 connect() to 116.203.221.249:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:26 connect() to 116.203.155.26:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:27 connect() to 116.203.154.110:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:28 connect() to 95.216.163.41:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:28 connect() to 95.217.11.140:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:29 connect() to 116.203.55.134:7112 failed after select(): Connection refused (111) 2021-12-03 14:37:29 connect() to 116.203.155.26:7112 failed after select(): Connection refused (111)
this is the old pac repo, please use http://github.com/pacprotocol/pacprotocol
Describe the issue
I have an ubunt 20 server there is no firewall with 2 coins PAC and NBX (netbox) NBX runs fine but PAC does not PAC gets many:
What version of Pac are you using?
PACGlobal Daemon version v0.15.2.0-1894e051c
Any extra information that might be useful in the debugging process.
pacglobal.conf
debug.log