Pages:
Author

Topic: Install scripts for eloipool + bitcoind private pool on Ubuntu 12.04 - page 2. (Read 7930 times)

member
Activity: 79
Merit: 10
Great effort for creating these scripts!

I've already tried to install this now a few times, once on CentOS and (now already 2 times) Ubuntu 12.04 Server Edition (did reinstalls):
Code:
2013-05-06 22:19:04,166 merkleMaker     CRITICAL        Traceback (most recent call last):
  File "/home/eloipool/eloipool-server/eloipool/merklemaker.py", line 692, in run
    self.merkleMaker_I()
  File "/home/eloipool/eloipool-server/eloipool/merklemaker.py", line 682, in merkleMaker_I
    self.merkleMaker_II()
  File "/home/eloipool/eloipool-server/eloipool/merklemaker.py", line 648, in merkleMaker_II
    return self._updateMerkleTree()
  File "/home/eloipool/eloipool-server/eloipool/merklemaker.py", line 548, in _updateMerkleTree
    self._updateMerkleTree_I()
  File "/home/eloipool/eloipool-server/eloipool/merklemaker.py", line 512, in _updateMerkleTree_I
    r = self._updateMerkleTree_fromTS(TS)
  File "/home/eloipool/eloipool-server/eloipool/merklemaker.py", line 477, in _updateMerkleTree_fromTS
    MP = self._CallGBT(TS)
  File "/home/eloipool/eloipool-server/eloipool/merklemaker.py", line 327, in _CallGBT
    MP = access.getblocktemplate(self.GBTReq)
  File "/home/eloipool/eloipool-server/eloipool/bitcoinrpc/authproxy.py", line 104, in __call__
    raise JSONRPCException(response['error'])
bitcoinrpc.authproxy.JSONRPCException

I've already made the change to authproxy.py in python-bitcoinrpc from:
 self.__auth_header = "Basic %s" % base64.b64encode(authpair)
to
 self.__auth_header = "Basic %s" % base64.b64encode(authpair).decode()

However above error I can't solve, do you have any suggestions? Because I'm out of them Sad.

I do not support any form of code modifications.  If you're having an issue starting eloipool please make sure that bitcoind has finished downloading the blockchain and that all of the libraries were installed correctly before reporting any bugs.
member
Activity: 117
Merit: 100
Life is short, play long
Great effort for creating these scripts!

I've already tried to install this now a few times, once on CentOS and (now already 2 times) Ubuntu 12.04 Server Edition (did reinstalls):
Code:
2013-05-06 22:19:04,166 merkleMaker     CRITICAL        Traceback (most recent call last):
  File "/home/eloipool/eloipool-server/eloipool/merklemaker.py", line 692, in run
    self.merkleMaker_I()
  File "/home/eloipool/eloipool-server/eloipool/merklemaker.py", line 682, in merkleMaker_I
    self.merkleMaker_II()
  File "/home/eloipool/eloipool-server/eloipool/merklemaker.py", line 648, in merkleMaker_II
    return self._updateMerkleTree()
  File "/home/eloipool/eloipool-server/eloipool/merklemaker.py", line 548, in _updateMerkleTree
    self._updateMerkleTree_I()
  File "/home/eloipool/eloipool-server/eloipool/merklemaker.py", line 512, in _updateMerkleTree_I
    r = self._updateMerkleTree_fromTS(TS)
  File "/home/eloipool/eloipool-server/eloipool/merklemaker.py", line 477, in _updateMerkleTree_fromTS
    MP = self._CallGBT(TS)
  File "/home/eloipool/eloipool-server/eloipool/merklemaker.py", line 327, in _CallGBT
    MP = access.getblocktemplate(self.GBTReq)
  File "/home/eloipool/eloipool-server/eloipool/bitcoinrpc/authproxy.py", line 104, in __call__
    raise JSONRPCException(response['error'])
bitcoinrpc.authproxy.JSONRPCException

I've already made the change to authproxy.py in python-bitcoinrpc from:
 self.__auth_header = "Basic %s" % base64.b64encode(authpair)
to
 self.__auth_header = "Basic %s" % base64.b64encode(authpair).decode()

However above error I can't solve, do you have any suggestions? Because I'm out of them Sad.
member
Activity: 79
Merit: 10
Does this also work via SSH REMOTE without GNOME?

Yes.  Just run the eloipool-server/scripts/ubuntu-install.sh from the command line.
sr. member
Activity: 294
Merit: 262
Does this also work via SSH REMOTE without GNOME?
member
Activity: 79
Merit: 10
Why does this script kill eloipool.py on a new block notification? Does that restart the process? I see nohup is used, but I guess I'm not familiar with how eloipool handles new block generation.

I used this set up guide as an example, but I did make a few changes.
https://bitcointalksearch.org/topic/avalon-users-bitcoind-eloipool-configuration-158105

The block notify script was taken from that thread.  I'm not entirely certain it's necessary though.  I left it in just to be safe.
donator
Activity: 1419
Merit: 1015
Why does this script kill eloipool.py on a new block notification? Does that restart the process? I see nohup is used, but I guess I'm not familiar with how eloipool handles new block generation.
member
Activity: 79
Merit: 10
I wrote some install scripts for an eloipool private pool and they seem to be in working order for Ubuntu 12.04.  The only thing that makes it a private pool is the eloipool config file, which can be swapped out.

Everything gets downloaded and installed into one directory, but it does use the package manager to install a few support files.  I'm running it out of my home directory, but you could easily run it out of /opt.

Thanks to everyone for helping me test the scripts.

PLEASE READ THE README

https://github.com/ZeroASIC/eloipool-server

Updated: May 22, 2013
Pages:
Jump to: