Bitcoin Forum
November 25, 2017, 08:24:39 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 [27] 28 29 30 »
  Print  
Author Topic: Pushpool - Tech Support  (Read 134201 times)
drkurubit
Jr. Member
*
Offline Offline

Activity: 32



View Profile
April 06, 2013, 07:46:02 PM
 #521

Given renewed interest, it is strongly tempting to jump in and fix the major misfeatures:
  • getwork proxying (should be getblocktemplate for high speeds)
  • internal work generation
  • stratum protocol support
  • separate database threads

Please do Smiley
1511598279
Hero Member
*
Offline Offline

Posts: 1511598279

View Profile Personal Message (Offline)

Ignore
1511598279
Reply with quote  #2

1511598279
Report to moderator
Join ICO Now Coinlancer is Disrupting the Freelance marketplace!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511598279
Hero Member
*
Offline Offline

Posts: 1511598279

View Profile Personal Message (Offline)

Ignore
1511598279
Reply with quote  #2

1511598279
Report to moderator
1511598279
Hero Member
*
Offline Offline

Posts: 1511598279

View Profile Personal Message (Offline)

Ignore
1511598279
Reply with quote  #2

1511598279
Report to moderator
1511598279
Hero Member
*
Offline Offline

Posts: 1511598279

View Profile Personal Message (Offline)

Ignore
1511598279
Reply with quote  #2

1511598279
Report to moderator
digger
Sr. Member
****
Offline Offline

Activity: 322


View Profile WWW
April 09, 2013, 03:29:44 PM
 #522

i testing my litecoin pool,

set difficult to 20,

have submitted 10000 shares, but there are no shares upstream with "N" or "Y"

is it any problem?

doge pool: http://dog.ltcoin.net ,yac pool: http://yac.ltcoin.net ,bbq pool: http://bbq.ltcoin.net ,Litecoin pool, http://ltcoin.net dig feathercoin , http://fc.ltcoin.net bitbar pool: http://btb.ltcoin.net wdc pool: http://wdc.ltcoin.net
digger
Sr. Member
****
Offline Offline

Activity: 322


View Profile WWW
April 09, 2013, 11:40:20 PM
 #523

now 30000 shares, still no upstream_result with "N" or "Y"

problems?

doge pool: http://dog.ltcoin.net ,yac pool: http://yac.ltcoin.net ,bbq pool: http://bbq.ltcoin.net ,Litecoin pool, http://ltcoin.net dig feathercoin , http://fc.ltcoin.net bitbar pool: http://btb.ltcoin.net wdc pool: http://wdc.ltcoin.net
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1596

Reverse engineer from time to time


View Profile
April 09, 2013, 11:41:47 PM
 #524

now 30000 shares, still no upstream_result with "N" or "Y"

problems?
upstream_result is when the pool detects a share at or higher than the network target, ONLY THEN does it allow it to get to bitcoind. That's why, basically.

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
digger
Sr. Member
****
Offline Offline

Activity: 322


View Profile WWW
April 10, 2013, 01:11:11 AM
 #525

now 30000 shares, still no upstream_result with "N" or "Y"

problems?
upstream_result is when the pool detects a share at or higher than the network target, ONLY THEN does it allow it to get to bitcoind. That's why, basically.

litecoin now only difficult 234, 30000 difficult 20 shares no one submit to litecoind?
i want to open the pool, but worry if it has problem, in the situation, will never find one block.

because litecoind testnet doesn't work, so i can't debug there.

doge pool: http://dog.ltcoin.net ,yac pool: http://yac.ltcoin.net ,bbq pool: http://bbq.ltcoin.net ,Litecoin pool, http://ltcoin.net dig feathercoin , http://fc.ltcoin.net bitbar pool: http://btb.ltcoin.net wdc pool: http://wdc.ltcoin.net
raubaut
Newbie
*
Offline Offline

Activity: 20


View Profile
April 17, 2013, 04:16:02 AM
 #526

After everything, I get to the last steps and:

Code:
./configure: line 5901: syntax error near unexpected token `,'
./configure: line 5901: `LIBCURL_CHECK_CONFIG(, 7.10.1, ,'
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1596

Reverse engineer from time to time


View Profile
April 17, 2013, 04:45:36 AM
 #527

After everything, I get to the last steps and:

Code:
./configure: line 5901: syntax error near unexpected token `,'
./configure: line 5901: `LIBCURL_CHECK_CONFIG(, 7.10.1, ,'

you need libcurl.m4 placed in a pkg-config folder somewhere.

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
zakoliverz
Hero Member
*****
Offline Offline

Activity: 543


View Profile
April 17, 2013, 03:24:53 PM
 #528

My installation work great!
raubaut
Newbie
*
Offline Offline

Activity: 20


View Profile
April 18, 2013, 11:51:10 PM
 #529

After everything, I get to the last steps and:

Code:
./configure: line 5901: syntax error near unexpected token `,'
./configure: line 5901: `LIBCURL_CHECK_CONFIG(, 7.10.1, ,'

you need libcurl.m4 placed in a pkg-config folder somewhere.

Thank you for setting me on the right path. In case anyone else is having this problem, this is how I solved it:

I found hangover's helpful post which mentioned the following steps:

Quote from: hangover
cp /usr/local/share/doc/curl/libcurl/libcurl.m4 m4

Then add string "ACLOCAL_AMFLAGS = -I m4" to file Makefile.am and edit file autogen.sh - replace string "aclocal" with "aclocal -I m4".

Before I could do this, I had to do the following:

Code:
apt-get install libcurl3-dev curl-dev
apt-get install locate
updatedb
locate libcurl.m4

This showed me where libcurl.m4 was. Then I could copy it to the m4 directory, and the rest is history.
calonew
Full Member
***
Offline Offline

Activity: 196



View Profile
April 19, 2013, 07:32:40 AM
 #530

After 4 hours of running pushpool server, the server freezes and reports a lot of:
Quote
...
[warn] accept_socket: bad accept: Too many open files
[warn] accept_socket: bad accept: Too many open files
[warn] accept_socket: bad accept: Too many open files
[warn] accept_socket: bad accept: Too many open files
[warn] accept_socket: bad accept: Too many open files

Any idea of what is causing this? And how can I prevent it?
jgarzik
Legendary
*
Offline Offline

Activity: 1484


View Profile
April 19, 2013, 07:39:17 AM
 #531

Increase the open file limit for the process, and/or don't have so many connections.

Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
montdidier
Newbie
*
Offline Offline

Activity: 19


View Profile WWW
April 19, 2013, 08:22:09 AM
 #532

Is there any documentation stating the meaning of the command line arguments flags for pushpool?

---
The contents of this universe may expand.
thisway
Jr. Member
*
Offline Offline

Activity: 46


View Profile
April 19, 2013, 11:08:09 AM
 #533

You could try sbin/pushpoold --help
Minertor
Newbie
*
Offline Offline

Activity: 8


View Profile
April 20, 2013, 07:24:19 PM
 #534

now 30000 shares, still no upstream_result with "N" or "Y"

problems?
upstream_result is when the pool detects a share at or higher than the network target, ONLY THEN does it allow it to get to bitcoind. That's why, basically.

I'm having same problem, I have bit difficulty set to 17 and have around 30,000 shares in database and non have been changed Y or N is this normal?
thisway
Jr. Member
*
Offline Offline

Activity: 46


View Profile
April 20, 2013, 10:00:27 PM
 #535

How did you change the difficulty? I'm stuck. I tried "rpc.target.bits" : 18 but without success Sad
Minertor
Newbie
*
Offline Offline

Activity: 8


View Profile
April 20, 2013, 11:14:23 PM
 #536

How did you change the difficulty? I'm stuck. I tried "rpc.target.bits" : 18 but without success Sad

"rpc.target.bits" : 17,

Is how it is set in mine.

So far have mined about 35k shares and non have ever put anything into UPSTREAM

Code:
JSON protocol request:
{"method": "getwork", "params": [], "id":23}

* Re-using existing connection! (#0) with host 127.0.0.1
* Connected to 127.0.0.1 (127.0.0.1) port 9333 (#0)
* Server auth using Basic with user 'USERNAME'
> POST / HTTP/1.1
Authorization: Basic bGl0ZXVzZXJ4OnA0c3N3b3JkMTIz
Host: 127.0.0.1:9333
Accept: */*
Accept-Encoding: deflate, gzip
Content-type: application/json
Content-Length: 46

< HTTP/1.1 200 OK
< Date: Sat, 20 Apr 2013 23:12:20 +0000
< Connection: keep-alive
< Content-Length: 623
< Content-Type: application/json
< Server: litecoin-json-rpc/v0.6.1-670-g7fd4c83-beta
<
* Connection #0 to host 127.0.0.1 left intact
JSON protocol response:
{
   "error": null,
   "result": {
      "target": "00000000000000000000000000000000000000000000000000ddb30000000000",
      "midstate": "be1e1718bf00428e1163df7f605522174c7c6dba7ae4831eaa6cc59b9b19c017",
      "algorithm": "scrypt:1024,1,1",
      "hash1": "00000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000010000",
      "data": "00000001d30a0b25d62d45c56189381944ebc0c61c3604afbc1560810bea22463c37e49dd05d99190632119b2e918b1faf067ee5dec7fca63ea8c0282ed1d6a0e36113fa517320ea1c00b3dd00000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000"
   },
   "id": 23

This is what i'm geting when running in debug. is "error" null, normally every time or am I missing something?
calonew
Full Member
***
Offline Offline

Activity: 196



View Profile
April 21, 2013, 02:24:02 PM
 #537

to change the pool difficulty, is enough to modify the config.json file?
Is enough to add this code?
Code:
"rpc.target.bits" : 17
can you post a config.json file that works for you?

if you set bit difficulty to 17... what difficulty shares are served to miners by pushpool?
montdidier
Newbie
*
Offline Offline

Activity: 19


View Profile WWW
April 22, 2013, 01:16:47 AM
 #538

You could try sbin/pushpoold --help

Ok silly me. Of course. Found them.

---
The contents of this universe may expand.
fcmatt
Legendary
*
Offline Offline

Activity: 1204



View Profile
April 26, 2013, 04:39:31 AM
 #539

What pushpool release is considered the best for litecoin mining? Artforz's github version?
Or should i be playing around with a diff version?

██
█║█
║║║
║║║
█║█
██
'BTC MULTI-WALLET SOON'
▬▬▬▬ Download WHITEPAPER ▬▬▬▬

                    ▄██▄
                  ▄██████▄
                ▄██████████
              ▄██████████▀   ▄▄
            ▄██████████▀   ▄████▄
          ▄██████████▀    ████████▄
         ██████████▀      ▀████████
         ▀███████▀   ▄███▄  ▀████▀   ▄█▄
    ▄███▄  ▀███▀   ▄███████▄  ▀▀   ▄█████▄
  ▄███████▄      ▄██████████     ▄█████████
  █████████    ▄██████████▀    ▄██████████▀
   ▀█████▀   ▄██████████▀    ▄██████████▀
     ▀▀▀   ▄██████████▀    ▄██████████▀
          ██████████▀    ▄██████████▀
          ▀███████▀      █████████▀
            ▀███▀   ▄██▄  ▀█████▀
                  ▄██████▄  ▀▀▀
                  █████████
                   ▀█████▀
                     ▀▀▀
e i d o o
██

███▀▀
▐▐▌
▐▌
▐▌
▐▐▌
███▄▄
▀▀███
▐▌▌
▐▌
▐▌
▐▌▌
▄▄███
gateway
Hero Member
*****
Offline Offline

Activity: 547


View Profile WWW
May 02, 2013, 09:08:34 PM
 #540

Pushpool newbie and thanks for creating this hope you add to it..

I was unsable to see where the mysql data base tables are for setting up the db.. the only thing I have is the pool worker which has user and pass.. in the github section I didnt see any .sql files or missed anything about table creation..

next issue.. I have bitcoind running, and have pushpull running as far as I can tell, Im connecting cgminer to my pool via

cgminer -o 172.18.251.190:8337 -u abc -p 123  (this is whats in the push pull db)

In the pushpull log im seeing:

Code:
> POST / HTTP/1.1
Authorization: Basic xxxxxxxxxxxxxxxxx
Host: 127.0.0.1:8332
Accept: */*
Accept-Encoding: deflate, gzip
Content-type: application/json
Content-Length: 46

* HTTP 1.0, assume close after body
< HTTP/1.0 401 Authorization Required
< Date: Thu, 02 May 2013 21:31:16 +0000
< Server: bitcoin-json-rpc/v0.8.1.0-g34d62a8-beta
* Authentication problem. Ignoring this.
< WWW-Authenticate: Basic realm="jsonrpc"
< Content-Type: text/html
< Content-Length: 296
* The requested URL returned error: 401
* Closing connection #0

my server.json is

Code:
{
        # network ports
        "listen" : [
                # binary protocol (default), port 8336
                { "port" : 8336 },

                # HTTP JSON-RPC protocol, port 8337
                { "port" : 8337, "protocol" : "http-json" }

                # HTTP JSON-RPC protocol, port 8339,
                # with trusted proxy appserver.example.com forwarding
                # requests to us
        #       { "port" : 8337, "protocol" : "http-json",
        #         "proxy" : "appserver.example.com" },

                # binary protocol, localhost-only port 8338
#               { "host" : "127.0.0.1", "port" : 8338, "protocol" : "binary" }
        ],

        # database settings
        "database" : {
                "engine" : "mysql",

                # 'host' defaults to localhost, if not specified
                "host" : "localhost",

                # 'port' uses proper default port for the DB engine,
                # if not specified
                "port" : 3306,

                "name" : "pushpool",
                "username" : "root",
                "password" : "12345678",

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

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

        "pid" : "/tmp/pushpoold.pid",

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

        "log.requests" : "/tmp/request.log",
        "log.shares" : "/tmp/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" : "mybitcoinduser",
        "rpc.pass" : "mybitcoindpass",

        # rewrite returned 'target' to difficulty-1?
        "rpc.target.rewrite" : true,

        # allow clients to update the ntime field of their work

btc config is

Code:
server=1
daemon=1
rpcallowip=*
rpcuser=mybitcoinduser
rpcpassword=mybitcoindpass

any thoughts? :?

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 [27] 28 29 30 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!