Pages:
Author

Topic: Pushpool - Tech Support - page 24. (Read 135213 times)

full member
Activity: 168
Merit: 100
June 11, 2011, 05:22:46 AM
Do'h...

Silly me, you need to use sudo:

sudo make install

All okay now Smiley
full member
Activity: 168
Merit: 100
June 11, 2011, 04:45:58 AM

Make sure you have all the pre requisites for libmemcached. Ill post up a link to a list when i have more time

Thanks, I'll do some more Googling.. not much luck so far Sad , but I'll persevere !
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
June 11, 2011, 04:11:36 AM
My installation of Pushpool seems to be falling down at the installation of Libmemcached..

Anyone know for why I get the following errors when running "make install" ?



I have tried both 0.48 and 0.49. Both give the same errors Sad

Of course, when I try to install Pushpool, it complains that Libmemcached is not installed.

Ubuntu 11.04 (64) being used.

Make sure you have all the pre requisites for libmemcached. Ill post up a link to a list when i have more time
full member
Activity: 168
Merit: 100
June 11, 2011, 04:03:17 AM
My installation of Pushpool seems to be falling down at the installation of Libmemcached..

Anyone know for why I get the following errors when running "make install" ?



I have tried both 0.48 and 0.49. Both give the same errors Sad

Of course, when I try to install Pushpool, it complains that Libmemcached is not installed.

Ubuntu 11.04 (64) being used.
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
June 11, 2011, 03:36:48 AM
upstream_result = 'Y' ===> you found a block, NULL ===> wait moar
Shocked Learn something new every day
Are you serious ?
You really didn't know that ?

If you were just being sarcastic then sorry Smiley
If you weren't you should consider using it to properly monitor generated blocks.

Are you just polling bitcoind to check for new blocks from time to time ?
Its a little more complex then that but its not as practical. Then again when i think about it even if i did do it this way id still require all the checks and updates i have in place either way.
newbie
Activity: 28
Merit: 0
June 11, 2011, 01:11:13 AM
this error: un 11 05:02:55 ip-10-124-17-59 pushpoold[18786]: Debug output enabled
Jun 11 05:02:55 ip-10-124-17-59 pushpoold[18786]: Forcing local hostname to localhost.localdomain
Jun 11 05:02:55 ip-10-124-17-59 pushpoold[18787]: tcp socket: Address family not supported by protocol
Jun 11 05:02:59 ip-10-124-17-59 su[18765]: pam_unix(su:session): session closed for user bitcoin

from this config json:

Code:
{
        # network ports
        "listen" : [
                # HTTP JSON-RPC protocol, port 8337
                { "port" : 8337, "protocol" : "http-json" }
],
        # database settings
        "database" : {
                # ... or ...

                "engine" : "mysql",

                "host" : "localhost",

                "port" : 3306,

                "name" : "sc",
                "username" : "pushpool",
                "password" : "SWECRETS",

                "stmt.pwdb" :
                  "SELECT password FROM pool_worker WHERE username = ?"

        },

        # cache settings
        "memcached" : {
                "servers" : [
                        { "host" : "127.0.0.1", "port" : 11211 }
                ]
        },

        "pid" : "/home/bitcoin/pushpoold.pid",

        # overrides local hostname detection
        "forcehost" : "localhost.localdomain",

        "log.requests" : "/home/bitcoin/request.log",
        "log.shares" : "/home/bitcoin/shares.log",

        # the server assumes longpolling (w/ SIGUSR1 called for each blk)
        "longpoll.disable" : false,

        # length of time to cache username/password credentials, in seconds
        "auth.cred_cache.expire" : 75,

        # RPC settings
        "rpc.url" : "http://127.0.0.1:8332/",
        "rpc.user" : "bitcoin",
        "rpc.pass" : "SWEEECRETS",

        # rewrite returned 'target' to difficulty-1?
        "rpc.target.rewrite" : true
}
newbie
Activity: 2
Merit: 0
June 10, 2011, 05:28:02 AM
I just read that somewhere in this thread, I guess I should have searched better.
So, I'll just have to be patient then.
legendary
Activity: 1372
Merit: 1007
1davout
June 10, 2011, 05:21:26 AM
upstream_result = 'Y' ===> you found a block, NULL ===> wait moar
Shocked Learn something new every day
Are you serious ?
You really didn't know that ?

If you were just being sarcastic then sorry Smiley
If you weren't you should consider using it to properly monitor generated blocks.

Are you just polling bitcoind to check for new blocks from time to time ?
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
June 10, 2011, 05:11:09 AM
upstream_result = 'Y' ===> you found a block, NULL ===> wait moar
Shocked Learn something new every day
legendary
Activity: 1372
Merit: 1007
1davout
June 10, 2011, 05:05:31 AM
upstream_result = 'Y' ===> you found a block, NULL ===> wait moar
newbie
Activity: 2
Merit: 0
June 10, 2011, 05:03:53 AM
Hi, I just set up pushpool and it seems to be working well.
I've got like 6 people mining, and we are actually finding shares.
However, none of the shares are actually recognized upstream. Should I just wait? We've been running since about an hour know and all upstream results in the database are NULL.

Thanks in advance,
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
June 09, 2011, 10:05:36 PM
Hi guys,
what kind of hardware are you using for your pools? Would a 512MB virtual server be sufficient?
cheers
521 would be alright for a private pool maybe, The recommended is about 2gb at least, with good CPU in it.
newbie
Activity: 27
Merit: 0
June 09, 2011, 04:56:01 PM
This is because when starting pushpool you need to specify the path to the config.
Quote
pushpoold --config=/mypath/to/config/somefile.json

oh...I thought it was something simple as that. thanks ;-)
full member
Activity: 126
Merit: 100
June 09, 2011, 04:13:45 PM
This is because when starting pushpool you need to specify the path to the config.
Quote
pushpoold --config=/mypath/to/config/somefile.json
newbie
Activity: 27
Merit: 0
June 09, 2011, 01:15:34 PM
I installed pushpool on a fresh ubuntu 11, but for some reason it seems the configuration files are not recognised. I tripple checked that the .conf and .json files are in the right folders, but bitcoind doesnt seem to see the file, it just keeps asking for it. If I set rpcpassword and rpcuser when starting bitcoind it seems to start. If I then try to start pushpool I get a "json parse error".

Any help would be greatly appreciated.
Are you creating your server.json from an iDevice or through another ssh client than putty? If so, try vim or pico instead of nano (if you're using that).

I have physical access to the server itself, so I don't need to ssh. I use the gui to create the files, via right click and new file.

I think I´m crazy...the files are where they are supposed to be but they don´t seem to be recognised. :-(
member
Activity: 112
Merit: 10
June 09, 2011, 07:47:19 AM
Ah, It looks like I was missing this code from the config file...

Code:
                "sharelog" : true,
                "stmt.sharelog":
                  "INSERT INTO shares (rem_host, username, our_result, upstream_result, reason, solution) VALUES (?, ?, ?, ?, ?, ?)"


I've added that in, no shares in the table yet - but will wait on it!
member
Activity: 112
Merit: 10
June 09, 2011, 07:15:07 AM
Hello,

Firstly - really nice to see people helping with pushpool here, as it's not all that simple to deploy.

I have a quick question...

I've installed bitcoind, and am running on the test network - I have installed pushpool and am running 2 clients on it.

I'm using MYSQL and manually added my two workers.

However, even though the test network seems to be ripping through the blocks pretty quickly - nothing is being added to the MySQL shares table.

I am running pushpool on debug mode and am seeing blocks like this going out:

Code:
* About to connect() to 127.0.0.1 port 8332 (#0)
*   Trying 127.0.0.1... * TCP_NODELAY set
* connected
* Connected to 127.0.0.1 (127.0.0.1) port 8332 (#0)
* Server auth using Basic with user '*'
> POST / HTTP/1.1
Authorization: Basic *
Host: 127.0.0.1:8332
Accept: */*
Accept-Encoding: deflate, gzip
Content-type: application/json
Content-Length: 47

< HTTP/1.1 200 OK
< Date: Thu, 09 Jun 2011 11:07:14 +0000
< Connection: close
< Content-Length: 594
< Content-Type: application/json
< Server: bitcoin-json-rpc/0.3.21-beta
<
* Closing connection #0
JSON protocol response:
{
   "error": null,
   "result": {
      "target": "0000000000000000000000000000000000000000000000000052960600000000",
      "midstate": "5d286c3fd0b6f17e37d939a648d06233b80bdd8b6439dc9fe7cc5048c362114c",
      "data": "00000001f1d6b9ef1adf5c2df2baa44f8b91741ac94e6a94a136279f05f3383900000000e341e7d48b06c162f935995e36df57f2216f62ba921e9cc3554184f70fedac294df0a96b1c06965200000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000",
      "hash1": "00000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000010000"
   },
   "id": 199
}



and if I look in the shares.log I can see entries :

Code:
[2011-06-09 11:01:58.715939] ::ffff: tom Y - - 00000001f1d6b9ef1adf5c2df2baa44f8b91741ac94e6a94a136279f05f338390000000013886e519bb1c554324df971cef5a0e4a1c4add6bd1bfd50bb86bf2d3a7c7dce4df0a82e1c069652a314246c000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
[2011-06-09 11:04:36.074357] ::ffff: tom Y - - 00000001f1d6b9ef1adf5c2df2baa44f8b91741ac94e6a94a136279f05f3383900000000de350ef435e8c3c6c5505e89844783b399aa865166ff28db1b72f9eb885edaea4df0a8cb1c069652a6701593000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
[2011-06-09 11:06:21.410709] ::ffff: tom Y - - 00000001f1d6b9ef1adf5c2df2baa44f8b91741ac94e6a94a136279f05f3383900000000b2efe2e2c94d6f49c2cae0b67d7ddb452ee31f130e5998601fb634ca102bcd2f4df0a9351c069652d015c7a0000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
[2011-06-09 11:07:36.748321] ::ffff: tom Y - - 00000001f1d6b9ef1adf5c2df2baa44f8b91741ac94e6a94a136279f05f3383900000000066412ad78b278cf52c28c3c09b1eec03e532257b11dc247fd62e16b02a49e404df0a9801c06965247ca01e3000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000

but nothing in the shares table...

am I missing something ?
newbie
Activity: 8
Merit: 0
June 09, 2011, 06:50:43 AM
Hi guys,
what kind of hardware are you using for your pools? Would a 512MB virtual server be sufficient?
cheers
newbie
Activity: 46
Merit: 0
June 09, 2011, 03:33:55 AM
okay. i`ll try it.
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
June 09, 2011, 03:23:51 AM
is there any manual on setting pushpool up on gentoo?

You can take my tutorial information and look up gentoo packages that are required to run pushpool then install push pool the same way i have in my tutorial
Pages:
Jump to: