Bitcoin Forum
December 18, 2017, 01:33:39 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Electrumx + Rocksdb  (Read 80 times)
daywalker90
Newbie
*
Offline Offline

Activity: 1


View Profile
November 11, 2017, 05:50:31 PM
 #1

Hi i dont know if this is the right place to ask, but im trying to keep an electrumx server running and im encountering some problems with the database engines. It worked for a time with leveldb 1.20 but from time to time i get SEGFAULTS and have to resync the whole database: https://github.com/kyuupichan/electrumx/issues/167

Downgrading to leveldb 1.18 isn't working on my debian buster.

So i decided to give rocksdb a try. After some complications i followed this guide with "step 4" to install rocksdb and python-rocksdb: https://github.com/rajbaraiyaa/python-rocksdb-/blob/master/install_steps.

But then after changing electrumx.conf to "rocksdb" and starting electrumx i get this error that i don't understand and can't find with google:

Nov 11 18:16:42 debian electrumx_server.py[10170]:   File "/opt/python/lib/python3.6/site-packages/electrumx-1.2-py3.6.egg/server/db.py", line 60, in __init__
Nov 11 18:16:42 debian electrumx_server.py[10170]:     self.db_class = db_class(self.env.db_engine)
Nov 11 18:16:42 debian electrumx_server.py[10170]:   File "/opt/python/lib/python3.6/site-packages/electrumx-1.2-py3.6.egg/server/storage.py", line 20, in db_class
Nov 11 18:16:42 debian electrumx_server.py[10170]:     db_class.import_module()
Nov 11 18:16:42 debian electrumx_server.py[10170]:   File "/opt/python/lib/python3.6/site-packages/electrumx-1.2-py3.6.egg/server/storage.py", line 97, in import_module
Nov 11 18:16:42 debian electrumx_server.py[10170]:     import rocksdb
Nov 11 18:16:42 debian electrumx_server.py[10170]:   File "/home/debianuser/.local/lib/python3.6/site-packages/rocksdb/__init__.py", line 1, in <module>
Nov 11 18:16:42 debian electrumx_server.py[10170]:     from ._rocksdb import *
Nov 11 18:16:42 debian electrumx_server.py[10170]: ImportError: libgflags.so.2: cannot open shared object file: No such file or directory
Nov 11 18:16:42 debian electrumx_server.py[10170]: CRITICAL:root:ElectrumX server terminated abnormally

Can anyone help me please? Im running debian buster x64
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!