Title: Stratum problems!? Post by: Stoneboy on September 27, 2015, 06:32:09 PM i installed everything, i think but i have a problem with stratum-mining server! Huh
i installed it with this tutorial https://www.youtube.com/watch?v=D0MEVlVrEqc But when i start stratum-mining with: "sudo twisted -ny launcher.tac" i get this log-error see below. Can someone say or give a tip what i can do to solve it? Thanks Anyway! see here: -------------------------------------------------------------------- root@ubuntu1:/stratum-mining# sudo twistd -ny launcher.tac /usr/lib/python2.7/dist-packages/zope/__init__.py:3: UserWarning: Module twisted was already imported from /usr/lib/python2.7/dist-packages/twisted/__init__.pyc, but /usr/local/lib/python2.7/dist-packages/autobahn-0.10.9-py2.7.egg is being added to sys.path import pkg_resources 2015-09-27 17:36:15,532 DEBUG bitcoin_rpc # Logging initialized 2015-09-27 17:36:15,532 DEBUG interfaces # Logging initialized 2015-09-27 17:36:15,535 DEBUG Cache # Logging initialized 2015-09-27 17:36:15,570 DEBUG DBInterface # Logging initialized 2015-09-27 17:36:15,570 DEBUG DBInterface # DB_Mysql_Vardiff INIT 2015-09-27 17:36:15,572 DEBUG DB_Mysql # Logging initialized 2015-09-27 17:36:15,612 DEBUG DB_Mysql # Logging initialized 2015-09-27 17:36:15,612 DEBUG DB_Mysql # Connecting to DB 2015-09-27 17:36:15,634 DEBUG DB_Mysql # Checking Database 2015-09-27 17:36:15,635 INFO Cache # Caching initialized 2015-09-27 17:36:15,636 DEBUG subscription # Logging initialized 2015-09-27 17:36:15,638 DEBUG mining # Logging initialized 2015-09-27 17:36:15,639 DEBUG work_log_pruner # Logging initialized 2015-09-27 17:36:15,640 DEBUG BasicShareLimiter # Logging initialized 2015-09-27 17:36:15,640 DEBUG DBInterface # DB_Mysql_Vardiff INIT 2015-09-27 17:36:15,640 DEBUG DB_Mysql # Connecting to DB 2015-09-27 17:36:15,641 DEBUG DB_Mysql # Resetting difficulty for all workers 2015-09-27 17:36:15,643 DEBUG mining # Logging initialized 2015-09-27 17:36:15,644 DEBUG block_updater # Logging initialized 2015-09-27 17:36:15,652 DEBUG template_registry # Logging initialized 2015-09-27 17:36:15,652 DEBUG template_registry # Got to Template Registry 2015-09-27 17:36:15,653 DEBUG extronance # Logging initialized 2015-09-27 17:36:15,654 DEBUG bitcoin_rpc_manager # Logging initialized 2015-09-27 17:36:15,681 DEBUG halfnode # Logging initialized 2015-09-27 17:36:15,681 DEBUG halfnode # Got to Halfnode 2015-09-27 17:36:15,681 DEBUG halfnode # ########################################### Loading LTC Scrypt ######################################################### 2015-09-27 17:36:15,681 DEBUG halfnode # ########################################### NOT Loading SHA256 Transaction Message Support ###################################################### 2015-09-27 17:36:15,683 DEBUG coinbasetx # Logging initialized 2015-09-27 17:36:15,683 DEBUG block_template # Logging initialized 2015-09-27 17:36:15,683 DEBUG block_template # Logging initialized 2015-09-27 17:36:15,684 DEBUG coinbaser # Logging initialized 2015-09-27 17:36:15,684 DEBUG bitcoin_rpc_manager # Got to Bitcoin RPC Manager 2015-09-27 17:36:15,684 DEBUG bitcoin_rpc # Got to Bitcoin RPC 2015-09-27 17:36:15,684 INFO mining # Connecting to litecoind... 2015-09-27 17:36:15,685 INFO bitcoin_rpc # Checking for submitblock 2015-09-27 17:36:15+0200 [-] Log opened. 2015-09-27 17:36:15+0200 [-] twistd 13.2.0 (/usr/bin/python 2.7.6) starting up. 2015-09-27 17:36:15+0200 [-] reactor class: twisted.internet.epollreactor.EPollReactor. 2015-09-27 17:36:15+0200 [-] Changing process name to twistd-stratum-mining-guncoin /usr/lib/python2.7/dist-packages/zope/__init__.py:3: UserWarning: Module twisted was already imported from /usr/lib/python2.7/dist-packages/twisted/__init__.pyc, but /usr/local/lib/python2.7/dist-packages/autobahn-0.10.9-py2.7.egg is being added to sys.path import pkg_resources 2015-09-27 17:36:15,782 DEBUG bitcoin_rpc # Logging initialized 2015-09-27 17:36:15,782 DEBUG interfaces # Logging initialized 2015-09-27 17:36:15,782 DEBUG Cache # Logging initialized 2015-09-27 17:36:15,785 DEBUG DBInterface # Logging initialized 2015-09-27 17:36:15,785 DEBUG DBInterface # DB_Mysql_Vardiff INIT 2015-09-27 17:36:15,785 DEBUG DB_Mysql # Logging initialized 2015-09-27 17:36:15,787 DEBUG DB_Mysql # Logging initialized 2015-09-27 17:36:15,787 DEBUG DB_Mysql # Connecting to DB 2015-09-27 17:36:15,790 DEBUG DB_Mysql # Checking Database 2015-09-27 17:36:15,791 INFO Cache # Caching initialized 2015-09-27 17:36:15,792 DEBUG subscription # Logging initialized 2015-09-27 17:36:15,793 DEBUG mining # Logging initialized 2015-09-27 17:36:15,793 DEBUG work_log_pruner # Logging initialized 2015-09-27 17:36:15,793 DEBUG BasicShareLimiter # Logging initialized 2015-09-27 17:36:15,793 DEBUG DBInterface # DB_Mysql_Vardiff INIT 2015-09-27 17:36:15,793 DEBUG DB_Mysql # Connecting to DB 2015-09-27 17:36:15,794 DEBUG DB_Mysql # Resetting difficulty for all workers 2015-09-27 17:36:15,796 DEBUG mining # Logging initialized 2015-09-27 17:36:15,796 DEBUG block_updater # Logging initialized 2015-09-27 17:36:15,796 DEBUG template_registry # Logging initialized 2015-09-27 17:36:15,796 DEBUG template_registry # Got to Template Registry 2015-09-27 17:36:15,796 DEBUG extronance # Logging initialized 2015-09-27 17:36:15,797 DEBUG bitcoin_rpc_manager # Logging initialized 2015-09-27 17:36:15,797 DEBUG halfnode # Logging initialized 2015-09-27 17:36:15,798 DEBUG halfnode # Got to Halfnode 2015-09-27 17:36:15,798 DEBUG halfnode # ########################################### Loading LTC Scrypt ######################################################### 2015-09-27 17:36:15,798 DEBUG halfnode # ########################################### NOT Loading SHA256 Transaction Message Support ###################################################### 2015-09-27 17:36:15,798 DEBUG coinbasetx # Logging initialized 2015-09-27 17:36:15,798 DEBUG block_template # Logging initialized 2015-09-27 17:36:15,798 DEBUG block_template # Logging initialized 2015-09-27 17:36:15,798 DEBUG coinbaser # Logging initialized 2015-09-27 17:36:15,799 DEBUG bitcoin_rpc_manager # Got to Bitcoin RPC Manager 2015-09-27 17:36:15,799 DEBUG bitcoin_rpc # Got to Bitcoin RPC 2015-09-27 17:36:15,799 INFO mining # Connecting to litecoind... 2015-09-27 17:36:15,799 INFO bitcoin_rpc # Checking for submitblock 2015-09-27 17:36:15+0200 [-] Log opened. 2015-09-27 17:36:15+0200 [-] twistd 13.2.0 ( 2.7.6) starting up. 2015-09-27 17:36:15+0200 [-] reactor class: twisted.internet.epollreactor.EPollReactor. 2015-09-27 17:36:15,800 DEBUG bitcoin_rpc # unknown submitblock check result. 2015-09-27 17:36:15,801 INFO mining # Found submitblock 2015-09-27 17:36:15,801 ERROR mining # Connection refused while trying to connect to the coind (are your COIND_* settings correct?) 2015-09-27 17:36:15,801 INFO mining # Connected to the coind - Begining to load Address and Module Checks! 2015-09-27 17:36:15,801 DEBUG coinbaser # Got to coinbaser 2015-09-27 17:36:15+0200 [-] Main loop terminated. 2015-09-27 17:36:15+0200 [-] Server Shut Down. ---------------------------------------------------------------------------------------------- Second: If i got to directory /stratum/ and i startup the server i got this! --> root@ubuntu1:/# cd stratum mining root@ubuntu1:/stratum# twistd -ny launcher.tac /usr/lib/python2.7/dist-packages/zope/__init__.py:3: UserWarning: Module twisted was already imported from /usr/lib/python2.7/dist-packages/twisted/__init__.pyc, but /usr/local/lib/python2.7/dist-packages/autobahn-0.10.9-py2.7.egg is being added to sys.path import pkg_resources 2015-09-27 17:48:52,903 DEBUG example logger.get_logger # Logging initialized 2015-09-27 17:48:52,968 DEBUG stats logger.get_logger # Logging initialized 2015-09-27 17:48:52,976 DEBUG protocol logger.get_logger # Logging initialized 2015-09-27 17:48:52,977 DEBUG socket_transport logger.get_logger # Logging initialized 2015-09-27 17:48:52,981 DEBUG http_transport logger.get_logger # Logging initialized 2015-09-27 17:48:52,996 DEBUG irc logger.get_logger # Logging initialized Loading of signing key 'None' failed, protocol messages cannot be signed. Cannot initiate SSL context, are SSL_PRIVKEY or SSL_CACERT missing? This will skip all SSL-based transports. ***** Is service_repository missing? Add service_repository module to your python path! 2015-09-27 17:48:52+0200 [-] Log opened. 2015-09-27 17:48:52+0200 [-] twistd 13.2.0 (/usr/bin/python 2.7.6) starting up. 2015-09-27 17:48:52+0200 [-] reactor class: twisted.internet.epollreactor.EPollReactor. 2015-09-27 17:48:52+0200 [-] SocketTransportFactory starting on 3333 2015-09-27 17:48:52+0200 [-] Starting factory <stratum.socket_transport.SocketTransportFactory instance at 0x7fddbcca22d8> 2015-09-27 17:48:52+0200 [-] Site starting on 8000 2015-09-27 17:48:52+0200 [-] Starting factory <twisted.web.server.Site instance at 0x7fddbcca23b0> 2015-09-27 17:48:52+0200 [-] heartbeat -------------------- Please help, With regards, Title: Re: Stratum problems!? Post by: -ck on September 28, 2015, 04:44:31 AM Please post only ONE thread in the ONE suitable forum section for the one topic.
|