Pages:
Author

Topic: Avalon users: bitcoind and slush's/generalfaults mining pool setup - page 5. (Read 39216 times)

legendary
Activity: 1764
Merit: 1002
is the "&" part of the command correct in the tute?:

Code:
then started the server again using

twistd -ny launcher.tac -l - &
full member
Activity: 176
Merit: 100
I have changed the top post for 0.8.2. To install 0.8.2 delete the git/bitcoin directory and start again from the clone bitcoin command. When it has finished building bitcoind and you have copied it to /use/local/bin and restart bitcoind. You should be on the new version. You don't have to change anything in bitcoin.conf.  If you are using a local wallet make sure you backup your .bitcoin directory before you install the new version.
newbie
Activity: 19
Merit: 0
questions:

1.  to upgrade from 0.8.1 to 0.8.2 are the commands simply "sudo apt-get update" followed by "sudo apt-get upgrade"?
2.  how do i check bitcoind version # from the command line?

For point two, run
Code:
bitcoind getinfo
. The version will be listed at the top of your output.

Re point one, not 100% on this myself. Am looking into it and will let you know what I find - unless someone else here could help??
legendary
Activity: 1764
Merit: 1002
questions:

1.  to upgrade from 0.8.1 to 0.8.2 are the commands simply "sudo apt-get update" followed by "sudo apt-get upgrade"?
2.  how do i check bitcoind version # from the command line?
newbie
Activity: 14
Merit: 0
Thank you very much for your help
now it works )

[/quote]

Something or another running instance of the server is running already and using the 3333 port. Check that the mining server isnt already running.
[/quote]
full member
Activity: 176
Merit: 100

     File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-i686.egg/twisted/internet/posixbase.py", line 489, in listenTCP
       p.startListening()
     File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-i686.egg/twisted/internet/tcp.py", line 980, in startListening
       raise CannotListenError(self.interface, self.port, le)
   twisted.internet.error.CannotListenError: Couldn't listen on any:3333: [Errno 98] Address already in use.

I need to update Twisted or something else?
thanks for any advice and assistance

Something or another running instance of the server is running already and using the 3333 port. Check that the mining server isnt already running.
newbie
Activity: 14
Merit: 0
Hi

run "twistd-ny launcher.tac-l -"

get the response:

2013-06-07 18:18:27,407 INFO mining # Waiting for bitcoin RPC...
2013-06-07 18:18:27+0400 [-] Log opened.
2013-06-07 18:18:27+0400 [-] twistd 13.0.0 (/usr/bin/python 2.7.3) starting up.
2013-06-07 18:18:27+0400 [-] reactor class: twisted.internet.epollreactor.EPollReactor.
2013-06-07 18:18:58,184 INFO mining # Response from bitcoin RPC OK
2013-06-07 18:18:58+0400 [HTTPPageGetter,client] Starting factory http://localhost:8332>
2013-06-07 18:18:58+0400 [HTTPPageGetter,client] Stopping factory http://localhost:8332>
2013-06-07 18:19:18,516 INFO coinbaser # Coinbase address '1MYwS2ASuwrucQtVM1VdFYnX4DR7E8WwYr' is valid
2013-06-07 18:19:18+0400 [HTTPPageGetter,client] Starting factory http://localhost:8332>
2013-06-07 18:19:18,518 INFO mining # MINING SERVICE IS READY
2013-06-07 18:19:18+0400 [HTTPPageGetter,client] Loading of signing key 'None' failed, protocol messages cannot be signed.
2013-06-07 18:19:18+0400 [HTTPPageGetter,client] Cannot initiate SSL context, are SSL_PRIVKEY or SSL_CACERT missing?
2013-06-07 18:19:18+0400 [HTTPPageGetter,client] This will skip all SSL-based transports.
2013-06-07 18:19:18+0400 [HTTPPageGetter,client] Unhandled error in Deferred:
2013-06-07 18:19:18+0400 [HTTPPageGetter,client] Unhandled Error
   Traceback (most recent call last):
     File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-i686.egg/twisted/internet/defer.py", line 1070, in _inlineCallbacks
       result = g.send(result)
     File "/home/zulu/stratum/mining/__init__.py", line 66, in setup
       on_startup.callback(True)
     File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-i686.egg/twisted/internet/defer.py", line 380, in callback
       self._startRunCallbacks(result)
     File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-i686.egg/twisted/internet/defer.py", line 488, in _startRunCallbacks
       self._runCallbacks()
   --- ---
     File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-i686.egg/twisted/internet/defer.py", line 575, in _runCallbacks
       current.result = callback(current.result, *args, **kw)
     File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.12-py2.7.egg/stratum/server.py", line 77, in setup_finalize
       socket.setServiceParent(application)
     File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-i686.egg/twisted/application/service.py", line 186, in setServiceParent
       self.parent.addService(self)
     File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-i686.egg/twisted/application/service.py", line 308, in addService
       service.privilegedStartService()
     File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-i686.egg/twisted/application/internet.py", line 103, in privilegedStartService
       self._port = self._getPort()
     File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-i686.egg/twisted/application/internet.py", line 131, in _getPort
       'listen%s' % (self.method,))(*self.args, **self.kwargs)
     File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-i686.egg/twisted/internet/posixbase.py", line 489, in listenTCP
       p.startListening()
     File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-i686.egg/twisted/internet/tcp.py", line 980, in startListening
       raise CannotListenError(self.interface, self.port, le)
   twisted.internet.error.CannotListenError: Couldn't listen on any:3333: [Errno 98] Address already in use.

I need to update Twisted or something else?
thanks for any advice and assistance
full member
Activity: 176
Merit: 100
Congrats Smiley, saw kano's reply in the stratum thread. Assumed something like he said, but he can explain it properly Smiley

edit: I will have a look at 8.2 next few days and change the tute for it.
sr. member
Activity: 490
Merit: 255
The block my setup found yesterday was on mainnet.  I also tested briefly on test (about a month ago).
legendary
Activity: 1764
Merit: 1002
While I can't confirm that this solo setup works with avalon asic miners (yet), I can confirm that if properly configured as stated in this thread that it does properly credit an external wallet address with a few humble GPU miners configured as stratum when a block is found.  Grin

was this on the real Bitcoin network or test net?

for me, it worked perfectly on test net and i've left it running for over a month and a half w/o mining and bitcoind/blocknotify is updating perfectly w/o any lapses.
newbie
Activity: 19
Merit: 0
Quick update:

Everything was working fine, it was just me being paranoid. It found the block at about 106%.

I think jspielberg hit the nail on the head!

Thanks for your replies!
sr. member
Activity: 490
Merit: 255
While I can't confirm that this solo setup works with avalon asic miners (yet), I can confirm that if properly configured as stated in this thread that it does properly credit an external wallet address with a few humble GPU miners configured as stratum when a block is found.  Grin
sr. member
Activity: 490
Merit: 255
I was under the impression that under 100% means your round was lucky and over 100% means you weren't.
newbie
Activity: 19
Merit: 0
Thanks for replying tiktoc! I have posted on the stratum page but with no reply Sad So thought I'd try my luck here. Have you experienced it at all? Or do you always find the block under 100%?

I am getting the progress value from the pool table in the database, which does display on the stats page, yes.
full member
Activity: 176
Merit: 100
You will have to ask in the stratum pool software thread about that. Is that coming from the statistics page?
newbie
Activity: 19
Merit: 0
Thanks for the original post! I have set it up successfully, just wanted to check something...

the round_progress has gone to 105%. Should it not have found something by 100% or is this just the average?

Basically, is it normal for it to go over 100% or should I be worried??
legendary
Activity: 1764
Merit: 1002
sr. member
Activity: 490
Merit: 255
Thanks Libertybuck -

I agree this thread was much easier to follow and end up with a functional pool server at the end than the eloipool threads.

I don't have my avalon yet, so I am just testing with my GPUs, but if it works fine with your avalon, then I will probably do the same with mine.

Best of luck to you!
full member
Activity: 137
Merit: 100
I believe you have received your avalons already no?

Yes. Already.


Would you care to comment on your experience with this setup of using slush and the avalon?  A number of folks are using eloipool since Jeff posted a rough howto earlier.

I have been tempted to wrestle with eloipool again, but slush worked much better out of the box.  Mine is happily setup and running fine with my testing GPUs... (28 days in and 3.4% of the round completed!  Shocked ).  I really like that slush has the little status webpage.

I tried https://bitcointalk.org/index.php?topic=158105.60 and https://bitcointalksearch.org/topic/my-pool-pool-server-in-a-box-172151 , but I do not have enough skill to make neither of them work.

To try tiktoc's tutorial, I prepare a fresh ubuntu server under vmware esxi. I do it step by step according to https://bitcointalksearch.org/topic/m.1712011 . All are quite smooth. Currently I am testing and studying the pool with icarus. Will point avalon to it later.
sr. member
Activity: 490
Merit: 255
Libertybuck -

I believe you have received your avalons already no?

Would you care to comment on your experience with this setup of using slush and the avalon?  A number of folks are using eloipool since Jeff posted a rough howto earlier.

I have been tempted to wrestle with eloipool again, but slush worked much better out of the box.  Mine is happily setup and running fine with my testing GPUs... (28 days in and 3.4% of the round completed!  Shocked ).  I really like that slush has the little status webpage.

Thanks!
Pages:
Jump to: