Post
Topic
Board Hardware
Re: Avalon users: bitcoind and slush's/generalfaults mining pool setup
by
semzor
on 03/01/2014, 18:14:07 UTC
Hello, I've followed this awesome guide the other day and installed the pool software and bitcoind with no problems. They were running and my miners could connect to pool and also web stats were running as well.

Anyway my computer froze some hours later and I couldn't get the bitcoind to load blockchain again. I don't know if it was corrupted or not. I've decided to do a fresh install. Removed my virtual machine, created new one and started again. I've done everything same but this time I get an error quoted below:

Code:
2014-01-03 18:30:48+0200 [-] twistd 13.2.0 (/usr/bin/python 2.7.3) starting up.
2014-01-03 18:30:48+0200 [-] reactor class: twisted.internet.epollreactor.EPollReactor.
2014-01-03 18:30:52,007 INFO mining # Connected to bitcoind - Ready to GO!
2014-01-03 18:30:52,033 WARNING coinbaser # !!! Coinbase address 'mybtcaddress' is valid BUT it is not local
2014-01-03 18:30:52,034 INFO mining # MINING SERVICE IS READY
2014-01-03 18:30:52+0200 [HTTPPageGetter,client] Unhandled error in Deferred:
2014-01-03 18:30:52+0200 [HTTPPageGetter,client] Unhandled Error
        Traceback (most recent call last):
          File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-i686.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-13.2.0-py2.7-linux-i686.egg/twisted/internet/defer.py", line 382, in callback
            self._startRunCallbacks(result)
          File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-i686.egg/twisted/internet/defer.py", line 490, in _startRunCallbacks
            self._runCallbacks()
        --- ---
          File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-i686.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.13-py2.7.egg/stratum/server.py", line 46, in setup_finalize
            import websocket_transport
          File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.13-py2.7.egg/stratum/websocket_transport.py", line 1, in
            from autobahn.websocket import WebSocketServerProtocol, WebSocketServerFactory
        exceptions.ImportError: cannot import name WebSocketServerProtocol

2014-01-03 18:30:52,212 INFO template_registry # New template for 0000000000000001da1455a71d9c0d7a7d3d3a2c3cf9ae98e631eb706ade7850
2014-01-03 18:30:52,213 INFO subscription # BROADCASTED to 0 connections in 0.000 sec
2014-01-03 18:30:52,213 INFO template_registry # Update finished, 0.056 sec, 356 txes

Now I cannot connect to the pool and and web stats are not working. I am using Ubuntu 12.04 32Bit. I am not that experienced with linux environment. Any help appreciated.