Author

Topic: Help with electrum server (Read 1163 times)

hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
February 23, 2015, 03:21:46 PM
#6
Had to remove log file and run ./configure again. All set now.

Good to know! Set permission for the user correctly, I think that's what have to do instead of re-intalling. Smiley

   -MZ
hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
February 23, 2015, 03:19:43 PM
#5
Try chmod 700 /var/log/electrum.log and start electrum-server once again.

What does numbers mean:

Code:
Number - Octal Permission Representation
0  - No permission
1  - Execute permission
2  - Write permission
3  - Execute and write permission: 1 (execute) + 2 (write) = 3
4  - Read permission r--
5  - Read and execute permission: 4 (read) + 1 (execute) = 5
6  - Read and write permission: 4 (read) + 2 (write) = 6
7  - All permissions: 4 (read) + 2 (write) + 1 (execute) = 7

   -MZ
member
Activity: 72
Merit: 10
February 23, 2015, 02:52:00 PM
#4
Had to remove log file and run ./configure again. All set now.
member
Activity: 72
Merit: 10
February 23, 2015, 01:52:05 PM
#3
bitcoin@electrum:~$ sudo electrum-server start
[sudo] password for bitcoin:
Traceback (most recent call last):
  File "/usr/local/bin/run_electrum_server", line 5, in
    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 205, in
   
  File "/usr/local/lib/python2.7/dist-packages/electrum_server-0.9-py2.7.egg/electrumserver/utils.py", line 236, in init_logger
  File "/usr/lib/python2.7/logging/handlers.py", line 391, in __init__
    logging.FileHandler.__init__(self, filename, mode, encoding, delay)
  File "/usr/lib/python2.7/logging/__init__.py", line 903, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python2.7/logging/__init__.py", line 928, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/var/log/electrum.log'

Get the same Sad all that work for nothing. Waited two days before the btc blockchain was inside and now this grr.
hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
February 23, 2015, 01:19:03 PM
#2
Try to change file permission of Electrum. Try running with sudo, i.e., sudo electrum-server start

   -MZ
member
Activity: 72
Merit: 10
February 23, 2015, 12:55:49 PM
#1
I am trying to build my own Electrum server cause of the IP glitch and i am following this guide:

https://github.com/spesmilo/electrum-server/blob/master/HOWTO.md

But when i start my server i get this:

Quote
bitcoin@electrum:~$ electrum-server start
Traceback (most recent call last):
  File "/usr/local/bin/run_electrum_server", line 5, in
    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 205, in
   
  File "/usr/local/lib/python2.7/dist-packages/electrum_server-0.9-py2.7.egg/electrumserver/utils.py", line 236, in init_logger
  File "/usr/lib/python2.7/logging/handlers.py", line 391, in __init__
    logging.FileHandler.__init__(self, filename, mode, encoding, delay)
  File "/usr/lib/python2.7/logging/__init__.py", line 903, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python2.7/logging/__init__.py", line 928, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/var/log/electrum.log'

Anyone know what i did wrong? I run it on Ubuntu 14.04
Jump to: