I've installed Electrum server following the HOWTO file, but I'm encountering a few problems.
root@BashTestUbuntu:~# electrum-server start
/usr/lib/python2.7/dist-packages/pkg_resources.py:1031: UserWarning: /home/bitcoin/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
warnings.warn(msg, UserWarning)
Starting server as daemon
bash: line 0: ulimit: open files: cannot modify limit: Operation not permitted
nohup: redirecting stderr to stdout`
Then it just exits. Why try to apply the ulimit as the user specified in the configuration file ? By default only root can set the ulimit so of course it will spew up an error.
bitcoin@BashTestUbuntu:/root$ run_electrum_server
/usr/lib/python2.7/dist-packages/pkg_resources.py:1031: UserWarning: /home/bitcoin/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
warnings.warn(msg, UserWarning)
INFO:electrum:Starting Electrum server on localhost
ERROR:electrum:db init
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/electrumserver/storage.py", line 35, in __init__
self.db_utxo = plyvel.DB(os.path.join(self.dbpath,'utxo'), create_if_missing=True, compression=None)
File "_plyvel.pyx", line 236, in plyvel._plyvel.DB.__init__ (plyvel/_plyvel.cpp:3129)
File "_plyvel.pyx", line 80, in plyvel._plyvel.raise_for_status (plyvel/_plyvel.cpp:1698)
IOError: IO error: /var/electrum-server/utxo/LOCK: No such file or directory
INFO:electrum:Stopping Stratum
INFO:electrum:initializing database
Traceback (most recent call last):
File "/usr/local/bin/run_electrum_server", line 5, in <module>
pkg_resources.run_script('electrum-server==0.9', 'run_electrum_server')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 528, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1401, in run_script
exec(script_code, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/electrum_server-0.9-py2.7.egg/EGG-INFO/scripts/run_electrum_server", line 257, in <module>
File "build/bdist.linux-x86_64/egg/electrumserver/blockchain_processor.py", line 52, in __init__
File "build/bdist.linux-x86_64/egg/electrumserver/storage.py", line 54, in __init__
File "build/bdist.linux-x86_64/egg/electrumserver/storage.py", line 200, in put_node
AttributeError: 'Storage' object has no attribute 'db_utxo'