Post
Topic
Board Bitcoin Technical Support
Re: bitcoind is crashing soon after start, how to fix ? centos linux
by
btctousd81
on 10/03/2019, 15:23:26 UTC
Can you update to a newer version of bitconid?
15.2 or something in the 17 branch?
The version you are running is vulnerable to CVE 2018-17144 https://nvd.nist.gov/vuln/detail/CVE-2018-17144

Either way it looks like something in the DB is corrupted.

Backup your wallet file (you are doing that anyway right???), remove the blockchain data and re-download.

-Dave

i dont have any active wallet, i just use this to parse full blockchain in mysqld.

which directory data should i remove , so it will start downloading blockchain again ?

/root/.bitcoin/blocks  ?
/root/.bitcoin/chainstate

Code:
$ ls -lah
total 21M
drwxr-xr-x.  5 root root  280 Feb 24 14:28 .
dr-xr-x---. 26 root root 4.0K Feb 12 11:54 ..
-rw-------.  1 root root   37 Feb 23 07:29 banlist.dat
-rw-r--r--.  1 root root  848 Jan  8  2018 bitcoin.conf
-rw-------.  1 root root    6 Mar 10 19:28 bitcoind.pid
drwx------.  3 root root  76K Feb 24 12:58 blocks
drwx------.  2 root root  40K Mar 10 19:28 chainstate
drwx------.  2 root root   28 Feb 24 14:29 database
-rw-------.  1 root root    0 Dec 27  2017 db.log
-rw-------.  1 root root 9.8M Mar 10 19:28 debug.log
-rw-------.  1 root root 243K Feb 24 13:01 fee_estimates.dat
-rw-------.  1 root root    0 Dec 27  2017 .lock
-rw-------.  1 root root  50K Feb 24 13:01 mempool.dat
-rw-------.  1 root root 4.6M Feb 24 13:01 peers.dat
-rw-------.  1 root root 4.2M Dec 29  2017 peers.dat.bak
-rw-------.  1 root root 440K Dec 29  2017 peers.dat.bak.1
-rw-------.  1 root root 1.4M Feb 24 19:53 wallet.dat


thanks