snodeco / snode-coin

MIT License
5 stars 1 forks source link

snodecoind cannot be restarted #2

Open nodecheck opened 5 years ago

nodecheck commented 5 years ago

After restarting snodecoind, daemon constantly restarts itself and chain cannot be reloaded. Only way around the problem is restarting with -reindex parameter which is not ideal. Daemon should be able to be restarted without having these kind of issues:

Platform:

Ubuntu 18.04
64GB RAM
2TB disk

Version:

snodecoin-cli getinfo
{
  "version": 3010000,
  "protocolversion": 70921,
  "blocks": -1,
  "timeoffset": 0,
  "connections": 0,
  "proxy": "",
  "difficulty": 1,
  "testnet": false,
  "status": "Blockchain information not yet available"
}

From debug.log:

2019-08-26 08:06:47 Snodecoin version 3.1.0 (2019-01-26 21:53:05 +0000)
2019-08-26 08:06:47 Using OpenSSL version OpenSSL 1.0.2n  7 Dec 2017
2019-08-26 08:06:47 Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2019-08-26 08:06:47 Default data directory /home/snodecoin/.snodecoin
2019-08-26 08:06:47 Using data directory /home/snodecoin/.snodecoin
2019-08-26 08:06:47 Using config file /home/snodecoin/.snodecoin/snodecoin.conf
2019-08-26 08:06:47 Using at most 125 connections (1024 file descriptors available)
2019-08-26 08:06:47 Using 8 threads for script verification
2019-08-26 08:06:47 scheduler thread start
2019-08-26 08:06:47 HTTP: creating work queue of depth 16
2019-08-26 08:06:47 HTTP: starting 4 worker threads
2019-08-26 08:06:47 Using wallet wallet.dat
2019-08-26 08:06:47 init message: Verifying wallet...
2019-08-26 08:06:47 CDBEnv::Open: LogDir=/home/snodecoin/.snodecoin/database ErrorFile=/home/snodecoin/.snodecoin/db.log
2019-08-26 08:06:47 Bound to [::]:18988
2019-08-26 08:06:47 Bound to 0.0.0.0:18988
2019-08-26 08:06:47 init message: Loading block index...
2019-08-26 08:06:47 Opening LevelDB in /home/snodecoin/.snodecoin/zerocoin
2019-08-26 08:06:48 Opened LevelDB successfully
2019-08-26 08:06:48 Opening LevelDB in /home/snodecoin/.snodecoin/sporks
2019-08-26 08:06:48 Opened LevelDB successfully
2019-08-26 08:06:48 Opening LevelDB in /home/snodecoin/.snodecoin/blocks/index
2019-08-26 08:06:48 Opened LevelDB successfully
2019-08-26 08:06:48 Opening LevelDB in /home/snodecoin/.snodecoin/chainstate
2019-08-26 08:06:48 Opened LevelDB successfully
2019-08-26 08:06:48 init message: Loading sporks...
2019-08-26 08:06:48 LoadSporksFromDB : loaded spork SPORK_2_SWIFTTX with value -1
2019-08-26 08:06:48 LoadSporksFromDB : loaded spork SPORK_3_SWIFTTX_BLOCK_FILTERING with value -1
2019-08-26 08:06:48 LoadSporksFromDB : no previous value for SPORK_5_MAX_VALUE found in database
2019-08-26 08:06:48 LoadSporksFromDB : no previous value for SPORK_7_MASTERNODE_SCANNING found in database
2019-08-26 08:06:48 LoadSporksFromDB : loaded spork SPORK_8_MASTERNODE_PAYMENT_ENFORCEMENT with value 1539578297 : Mon Oct 15 06:38:17 2018
2019-08-26 08:06:48 LoadSporksFromDB : loaded spork SPORK_10_MASTERNODE_PAY_UPDATED_NODES with value -1
2019-08-26 08:06:48 LoadSporksFromDB : no previous value for SPORK_13_ENABLE_SUPERBLOCKS found in database
2019-08-26 08:06:48 LoadSporksFromDB : no previous value for SPORK_14_NEW_PROTOCOL_ENFORCEMENT found in database
2019-08-26 08:06:48 LoadSporksFromDB : no previous value for SPORK_15_NEW_PROTOCOL_ENFORCEMENT_2 found in database
2019-08-26 08:06:48 LoadSporksFromDB : loaded spork SPORK_16_ZEROCOIN_MAINTENANCE_MODE with value 1539702746 : Tue Oct 16 17:12:26 2018
2019-08-26 08:06:48 LoadSporksFromDB : no previous value for SPORK_17_POS_ENFORCEMENT found in database
2019-08-26 08:06:48 init message: Loading block index...
2019-08-26 08:07:00 AppInit2 : parameter interaction: -enableswifttx=false -> setting -nSwiftTXDepth=0
2019-08-26 08:07:00 

2019-08-26 08:07:00 Snodecoin version 3.1.0 (2019-01-26 21:53:05 +0000)
2019-08-26 08:07:00 Using OpenSSL version OpenSSL 1.0.2n  7 Dec 2017
2019-08-26 08:07:00 Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2019-08-26 08:07:00 Default data directory /home/snodecoin/.snodecoin
2019-08-26 08:07:00 Using data directory /home/snodecoin/.snodecoin
2019-08-26 08:07:00 Using config file /home/snodecoin/.snodecoin/snodecoin.conf
2019-08-26 08:07:00 Using at most 125 connections (1024 file descriptors available)
2019-08-26 08:07:00 Using 8 threads for script verification
2019-08-26 08:07:00 scheduler thread start
2019-08-26 08:07:00 HTTP: creating work queue of depth 16
2019-08-26 08:07:00 HTTP: starting 4 worker threads
2019-08-26 08:07:00 Old backup deleted: "/home/snodecoin/.snodecoin/backups/wallet.dat.2019-08-26-07-54"
2019-08-26 08:07:00 Using wallet wallet.dat
2019-08-26 08:07:00 init message: Verifying wallet...
2019-08-26 08:07:00 CDBEnv::Open: LogDir=/home/snodecoin/.snodecoin/database ErrorFile=/home/snodecoin/.snodecoin/db.log
2019-08-26 08:07:00 Bound to [::]:18988
2019-08-26 08:07:00 Bound to 0.0.0.0:18988
2019-08-26 08:07:00 init message: Loading block index...
2019-08-26 08:07:00 Opening LevelDB in /home/snodecoin/.snodecoin/zerocoin
2019-08-26 08:07:00 Opened LevelDB successfully
2019-08-26 08:07:00 Opening LevelDB in /home/snodecoin/.snodecoin/sporks
2019-08-26 08:07:00 Opened LevelDB successfully
2019-08-26 08:07:00 Opening LevelDB in /home/snodecoin/.snodecoin/blocks/index
2019-08-26 08:07:01 Opened LevelDB successfully
2019-08-26 08:07:01 Opening LevelDB in /home/snodecoin/.snodecoin/chainstate
2019-08-26 08:07:01 Opened LevelDB successfully
2019-08-26 08:07:01 init message: Loading sporks...
2019-08-26 08:07:01 LoadSporksFromDB : loaded spork SPORK_2_SWIFTTX with value -1
2019-08-26 08:07:01 LoadSporksFromDB : loaded spork SPORK_3_SWIFTTX_BLOCK_FILTERING with value -1
2019-08-26 08:07:01 LoadSporksFromDB : no previous value for SPORK_5_MAX_VALUE found in database
2019-08-26 08:07:01 LoadSporksFromDB : no previous value for SPORK_7_MASTERNODE_SCANNING found in database
2019-08-26 08:07:01 LoadSporksFromDB : loaded spork SPORK_8_MASTERNODE_PAYMENT_ENFORCEMENT with value 1539578297 : Mon Oct 15 06:38:17 2018
2019-08-26 08:07:01 LoadSporksFromDB : loaded spork SPORK_10_MASTERNODE_PAY_UPDATED_NODES with value -1
2019-08-26 08:07:01 LoadSporksFromDB : no previous value for SPORK_13_ENABLE_SUPERBLOCKS found in database
2019-08-26 08:07:01 LoadSporksFromDB : no previous value for SPORK_14_NEW_PROTOCOL_ENFORCEMENT found in database
2019-08-26 08:07:01 LoadSporksFromDB : no previous value for SPORK_15_NEW_PROTOCOL_ENFORCEMENT_2 found in database
2019-08-26 08:07:01 LoadSporksFromDB : loaded spork SPORK_16_ZEROCOIN_MAINTENANCE_MODE with value 1539702746 : Tue Oct 16 17:12:26 2018
2019-08-26 08:07:01 LoadSporksFromDB : no previous value for SPORK_17_POS_ENFORCEMENT found in database
2019-08-26 08:07:01 init message: Loading block index...
nodecheck commented 5 years ago

Hi, we reported this issue over one month ago and there has been no response from a developer. If the issue will not be resolved, snodecoin will potentially be removed from our platform due to instability and will require for the listing fee to be paid again to be re-listed once the problems have been resolved.