Bitcoin Forum
November 09, 2024, 11:04:51 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Python-Script-Fehler beim Start des Stratum-Servers  (Read 509 times)
kaiaush (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
January 11, 2015, 05:04:05 PM
 #1

Hallo @all!

Sagt mal, hat von euch jemand aktuell zufällig nen eigenen Stratum-Server auf Ubuntu 12.04.5 LTS 64bit mit der Script-Sammlung von Slush am laufen?
Eingerichtet nach: https://bitcointalk.org/index.php?topic=162788.0
Irgendwie scheinen die bei twisted hinterlegten Module (wie z.B. SSL) nicht gefunden zu werden. Da man beim Googlen der Fehler keinerlei Eintrag erhält, scheint das noch niemand in der Konstellation mit den aktuellen Twisted-Versionen (14.0.2) gehabt zu haben.
Der Bitcoin-Daemon läuft sauber, die Blockchain ist synchron. Beim Start des Stratum-Servers allerdings gibt es dann folgende Fehler, deren Lösung ich leider auch beim Durchsehen der genannten Zeilen in den Scripten nicht hinbekomme:

Code:
root@bunny1 ~/git/stratum-mining # twistd -ny launcher.tac
2015-01-11 17:49:16,396 INFO mining # Connecting to bitcoind...
2015-01-11 17:49:16+0100 [-] Log opened.
2015-01-11 17:49:16+0100 [-] twistd 14.0.2 (/usr/bin/python 2.7.3) starting up.
2015-01-11 17:49:16+0100 [-] reactor class: twisted.internet.epollreactor.EPollReactor.
2015-01-11 17:49:17,015 INFO mining # Connected to bitcoind - Ready to GO!
2015-01-11 17:49:17,016 WARNING coinbaser # !!! Coinbase address '12dincaxxxxxxxxxxxxxxxxxxxxxx' is valid BUT it is not local
2015-01-11 17:49:17,016 INFO mining # MINING SERVICE IS READY
2015-01-11 17:49:17+0100 [HTTPPageGetter,client] Unhandled error in Deferred:
2015-01-11 17:49:17+0100 [HTTPPageGetter,client] Unhandled Error
        Traceback (most recent call last):
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 1099, in _inlineCallbacks
            result = g.send(result)
          File "/root/git/stratum-mining/mining/__init__.py", line 83, in setup
            on_startup.callback(True)
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 382, in callback
            self._startRunCallbacks(result)
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 490, in _startRunCallbacks
            self._runCallbacks()
        --- <exception caught here> ---
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 577, in _runCallbacks
            current.result = callback(current.result, *args, **kw)
          File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg/stratum/server.py", line 36, in setup_finalize
            from twisted.internet import reactor, ssl
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/ssl.py", line 59, in <module>
            from OpenSSL import SSL
        exceptions.ImportError: No module named OpenSSL

2015-01-11 17:49:17,115 INFO template_registry # New template for 00000000000000000c4fdcc471a7134b5fdf5c52e13893b784783610e07d94fa

Danke für jegliche Hilfe!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!