Bitcoin Forum
August 16, 2018, 07:14:36 AM *
News: Latest stable version of Bitcoin Core: 0.16.2  [Torrent].
   Home   Help Search Donate Login Register  
Pages: [1]
Author Topic: Electrumx + Rocksdb  (Read 90 times)
Offline Offline

Activity: 1
Merit: 0

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

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:

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:

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

Can anyone help me please? Im running debian buster x64
Pages: [1]
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!