Bitcoin Forum
November 11, 2024, 01:53:41 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: PushPool and Bitcoind cpc fail  (Read 1076 times)
Kvist1987 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
November 23, 2011, 10:09:18 AM
 #1

Hey i try to setup a bitcoin pool, but, i have som problem with my puspool or bitcoind, i keep getting
HTTP request failed: The requested URL returned error: 500

hope for help,

i run it on a debian 6

My bitcoin.conf

#testnet=1
server=1
rpcuser=*****
rpcpassword=****
rpctimeout=30
rpcallowip=127.0.0.1
rpcport=8555
gen=0
# Use SSE instructions to try to generate bitcoins faster.
#4way=1
allowreceivebyip=1

and my server.json

{
        # network ports
        "listen" : [
                { "port" : 8342 },

                { "port" : 8341, "protocol" : "http-json" },

                { "port" : 8344, "protocol" : "http-json",
                  "proxy" : "pool.diskokvist.dk" },

                { "host" : "127.0.0.1", "port" : 8338, "protocol" : "binary" }
        ],

        # database settings
        "database" : {
                "engine" : "mysql",
                "host" : "localhost",
                "port" : 3306,
                "name" : "****",
                "username" : "******",
                "password" : "******",
                "sharelog" : true,
                "stmt.pwdb":"SELECT `password` FROM `pool_worker` WHERE `username` = ?",
                "stmt.sharelog":"INSERT INTO shares (rem_host, username, our_result, upstream_result, reason, solution) VALU$

        },

        # 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 | Notice how this ISN'T port number 8332 this is becuase the same port number should not becuase inco$
        "rpc.url" : "http://127.0.0.1:8555",
        "rpc.user" : "****",
        "rpc.pass" : "***",

        # rewrite returned 'target' to difficulty-1?
        "rpc.target.rewrite" : true
}
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!