Title: Paying in BTC or paypal to help with PushPool Setup for my mining pool
Post by: djred on June 10, 2012, 07:35:24 PM
Hello, I am setting up pushpool on my Ubuntu dedicated server. I have bitcoind running and i believe the latest blockchains have been downloaded.. When Running "pushpool -E -F" I get the following output: [2012-06-10 16:41:8.792411] Listening on host :: port 8342 [2012-06-10 16:41:8.792561] Listening on host :: port 8341 [2012-06-10 16:41:8.792631] Listening on host :: port 8377 [2012-06-10 16:41:8.792689] Listening on host 127.0.0.1 port 8338 [2012-06-10 16:41:8.795037] initialized [2012-06-10 16:41:34.106168] HTTP request failed: couldn't connect to host [2012-06-10 16:41:34.259150] HTTP request failed: couldn't connect to host [2012-06-10 16:41:36.411524] HTTP request failed: couldn't connect to host [2012-06-10 16:41:38.570370] HTTP request failed: couldn't connect to host [2012-06-10 16:41:40.722174] HTTP request failed: couldn't connect to host [2012-06-10 16:41:43.373029] HTTP request failed: couldn't connect to host [2012-06-10 16:41:45.525255] HTTP request failed: couldn't connect to host [2012-06-10 16:41:47.683068] HTTP request failed: couldn't connect to host [2012-06-10 16:41:49.834699] HTTP request failed: couldn't connect to host [2012-06-10 16:41:51.988270] HTTP request failed: couldn't connect to host [2012-06-10 16:41:54.142395] HTTP request failed: couldn't connect to host [2012-06-10 16:41:56.340010] HTTP request failed: couldn't connect to host [2012-06-10 16:41:58.497226] HTTP request failed: couldn't connect to host [2012-06-10 16:42:0.649198] HTTP request failed: couldn't connect to host [2012-06-10 16:42:2.806000] HTTP request failed: couldn't connect to host [2012-06-10 16:42:4.960095] HTTP request failed: couldn't connect to host [2012-06-10 16:42:7.113470] HTTP request failed: couldn't connect to host [2012-06-10 16:42:9.271074] HTTP request failed: couldn't connect to host [2012-06-10 16:42:11.427321] HTTP request failed: couldn't connect to host
The "HTTP request failed: couldn't connect to host" starts to show up whenever i attempt to connect to my host via my miner like so: "miner.exe -o http://IP:8377 -u user -p pass" I also have mining farm for the front end. I have created a worker on mining farm and checked that it was in the database correctly.. Here is my server.json file with important information removed of course: { # network ports "listen" : [ # binary protocol (default), port 8342 { "port" : 8342 },
# HTTP JSON-RPC protocol, port 8341 { "port" : 8341, "protocol" : "http-json" },
# HTTP JSON-RPC protocol, port 8344, # with trusted proxy appserver.example.com forwarding # requests to us { "port" : 8377, "protocol" : "http-json", "proxy" : "<my server IP>" },
# binary protocol, localhost-only port 8338 { "host" : "127.0.0.1", "port" : 8338, "protocol" : "binary" } ],
# database settings "database" : { "engine" : "mysql", "host" : "localhost", "port" : 3306, "name" : "DB-NAME", "username" : "DB-USER", "password" : "BD-PASS", "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, time) VALUES (?, ?, ?, ?, ?, ?, UNIX_TIMESTAMP())"
},
# cache settings #"memcached" : { # "servers" : [ # { "host" : "localhost", "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 inconjunction with the JSON RPC port other wise you'll get 500 errors "rpc.url" : "http://127.0.0.1:8338/", "rpc.user" : "myuser", "rpc.pass" : "mypass",
# rewrite returned 'target' to difficulty-1? "rpc.target.rewrite" : true }
My bitcoin is installed under usr/lib/bitcoin/bitcoind If i am missing some more information that you need to help please let me know. I can pay in PayPal (Business Verified PayPal) or in BTC's Post an offer or message me please... I would like this done pretty soon. Thanks!
Title: Re: Paying in BTC or paypal to help with PushPool Setup for my mining pool
Post by: djred on June 10, 2012, 07:40:28 PM
did you setup your bitcoind conf file correctly?
in my bitcoind conf it has user and pass which is the same as i use in the server.json
Title: Re: Paying in BTC or paypal to help with PushPool Setup for my mining pool
Post by: djred on June 10, 2012, 07:56:21 PM
{ "port" : 8377, "protocol" : "http-json", "proxy" : "<my server IP>" }, comment that out and try it, I think this is causing the problem same error: [2012-06-10 19:54:46.558094] HTTP request failed: couldn't connect to host [2012-06-10 19:54:46.710146] HTTP request failed: couldn't connect to host [2012-06-10 19:54:48.937414] HTTP request failed: couldn't connect to host [2012-06-10 19:54:51.095895] HTTP request failed: couldn't connect to host
but now to connect it is http://IP:8342 instead of 8377 dont know if any progress is being made lol...
Title: Re: Paying in BTC or paypal to help with PushPool Setup for my mining pool
Post by: gweedo on June 10, 2012, 08:14:36 PM
Solution is delete file in .bitcoin folder also try and look for strange files in your .bitcoin folder just becareful, I found that on this forum https://bitcointalk.org/index.php?topic=10321.msg352642#msg352642 (https://bitcointalk.org/index.php?topic=10321.msg352642#msg352642)
Title: Re: Paying in BTC or paypal to help with PushPool Setup for my mining pool
Post by: antares on June 10, 2012, 09:50:44 PM
ok, helped him get up and running for now. problem was mostly that he had an ancient bitcoin daemon(version 0.3 generation) and an inproper config - no rpcport/rpcallowip set. should be good to go mining now
|