Bitcoin Forum
December 08, 2016, 10:19:00 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   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 126761 times)
dikidera
Full Member
***
Offline Offline

Activity: 126


View Profile
July 28, 2011, 07:48:02 PM
 #341

mining farm's config.php
and pushpool's server.json

both have the same database credentials

Im not asking about credentials. I was asking about the prepared sql statement.

Anywho, link me to Xenland's mining farm thread as i cant find it.
1481192340
Hero Member
*
Offline Offline

Posts: 1481192340

View Profile Personal Message (Offline)

Ignore
1481192340
Reply with quote  #2

1481192340
Report to moderator
1481192340
Hero Member
*
Offline Offline

Posts: 1481192340

View Profile Personal Message (Offline)

Ignore
1481192340
Reply with quote  #2

1481192340
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481192340
Hero Member
*
Offline Offline

Posts: 1481192340

View Profile Personal Message (Offline)

Ignore
1481192340
Reply with quote  #2

1481192340
Report to moderator
1481192340
Hero Member
*
Offline Offline

Posts: 1481192340

View Profile Personal Message (Offline)

Ignore
1481192340
Reply with quote  #2

1481192340
Report to moderator
1481192340
Hero Member
*
Offline Offline

Posts: 1481192340

View Profile Personal Message (Offline)

Ignore
1481192340
Reply with quote  #2

1481192340
Report to moderator
Flowz
Member
**
Offline Offline

Activity: 114


Bitcoin = Money for the people, by the people.


View Profile
July 28, 2011, 08:41:50 PM
 #342

Have you imported the front-end's SQL template/file yet?
cablepair
Hero Member
*****
Offline Offline

Activity: 854


https://btc-republic.com/index.php?ref=cablepair


View Profile WWW
July 28, 2011, 09:16:36 PM
 #343

http://forum.bitcoin.org/index.php?topic=10321.0

thats the pushpool thread , the mining farm thread link is at the bottom

I imported this:  miningfarm_database.sql

which coincidently is not the name of the file that we are told to import in the thread
but after I imported it I was able to register my account and setup worker etc
the front end seems to be working just fine, I can log in and play around with all the admin features etc
but when I try to actually mine on the pool with the registered worker it says
wrong username / password in guiminer
ziomik
Legendary
*
Offline Offline

Activity: 1820


http://www.bitcoinmarket.net


View Profile WWW
July 28, 2011, 09:21:06 PM
 #344

Sorry for my english...

BLKMOND dose not want to stay running it dies with the following error:
Code:
error: uncaptured python exception, closing channel <__main__.NodeConn connected at 0x1256170> (<type 'exceptions.ValueError'>:got bad checksum "\xf9\xbe\xb4\xd9tx\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb7\x01\x00\x00\xa6\xa3C\xb4\x01\x00\x00\x00\x02$\x9e&|\xfd9\x05I5\xbe \xda#0\xaa[F\x11\xa3\x1et\xe3~\xb6\xd6\x90\xf5\xfc!5\xd9\n\x8b\x00\x00\x00\x8bH0E\x02 \x7fF\x8a,yB\xff\xd1v\xcbk9\xd7\x13\xb0!Q\x9e\x12\x0e\xc3\xb9*\xfc% 0\xc9*e\x00M\x02!\x00\xbd\xe9\xc9\x9fj\x12\xdcw\x84\xc7f\x04X\xe0\xb1\x83>\xc5+\x08\x1cS]\xc1\xbe\x9fX\xb8\xd3\xdc\xd0\xf1\x01A\x04Ivg\x98\x90\xc4\x12&c\xf70\x1c?\x15a\x89`\xbe\x8e)Y3\xac7\xee\xc3\x83\x85\x83\xd1\xa0w\x88\\y\x8e\xb2\xbe\xd0\xe7k\x9a$\xb05c\xc9\xdf\xeeYt_\xf2\xda\r\xad0I1\x91\x0f`?(\xff\xff\xff\xff\r\xc46r\xecNTn\xad\x0c\x0cB\xeaU\r\x19A\xf4dB?u6\xe25\xa2\xe2\xa5X'W\xe6}\x00\x00\x00\x8cI0F\x02!\x00\xd5!\xd9!\x02\xdbn\xa0\xed8\xbd\xd6\xc0NN\xba\x82q\x17\x1e\xaf1W\xd5\xf9A\x174LV|k\x02!\x00\xae\xe7\xfad\xe6\x8cM\x97s\xfd\xfc%s\xa0y\xe4\xe2\x07\x96B,\xa7\xd3\x8b\xcc\xc9\xea\xd4\xa7-\x05\x18\x01A\x04Ivg\x98\x90\xc4\x12&c\xf70\x1c?\x15a\x89`\xbe\x8e)Y3\xac7\xee\xc3\x83\x85\x83\xd1\xa0w\x88\\y\x8e\xb2\xbe\xd0\xe7k\x9a$\xb05c\xc9\xdf\xeeYt_\xf2\xda\r\xad0I1\x91\x0f`?(\xff\xff\xff\xff\x02;\x9c\x03\x00\x00\x00\x00\x00\x19v\xa9\x14xD\xca\x19\x0f\xed1\x97,\xa6\xa6*\xadL\xfbT\xc12o\x93\x88\xac@\xd2\xdf\x03\x00\x00\x00\x00\x19v\xa9\x14\xe6\xa8\x99\x92}M\xd1~\xe8\xff\x85\x02\xees\xce\xc8\x83!v\xd1\x88\xac\x00\x00\x00\x00" [/usr/lib/python2.7/asyncore.py|read|79] [/usr/lib/python2.7/asyncore.py|handle_read_event|438] [./blkmond|handle_read|573] [./blkmond|got_data|613])
close

my blkmond.cfg is:
Code:
host=ipremote
port=8333
pid=/tmp/pushpoold.pid
also tried
Code:
host=127.0.0.1
port=8333
pid=/tmp/pushpoold.pid

but I have always the same error. Can anyone help me? thanks a lot..

"Se domani senti due massaie che parlano di bitcoin tra di loro dal macellaio, forse e' il momento di vendere.. se pero' le sentirai fra 10 anni forse staranno solo pagando il conto" GBianchi
---- +++ ----
http://www.bitcoinmarket.net
ziomik
Legendary
*
Offline Offline

Activity: 1820


http://www.bitcoinmarket.net


View Profile WWW
July 28, 2011, 09:24:25 PM
 #345

http://forum.bitcoin.org/index.php?topic=10321.0

thats the pushpool thread , the mining farm thread link is at the bottom

I imported this:  miningfarm_database.sql

which coincidently is not the name of the file that we are told to import in the thread
but after I imported it I was able to register my account and setup worker etc
the front end seems to be working just fine, I can log in and play around with all the admin features etc
but when I try to actually mine on the pool with the registered worker it says
wrong username / password in guiminer

Look pool_worker in database..

syntax is usernamesite.usernameworker:passwordworker

"Se domani senti due massaie che parlano di bitcoin tra di loro dal macellaio, forse e' il momento di vendere.. se pero' le sentirai fra 10 anni forse staranno solo pagando il conto" GBianchi
---- +++ ----
http://www.bitcoinmarket.net
cablepair
Hero Member
*****
Offline Offline

Activity: 854


https://btc-republic.com/index.php?ref=cablepair


View Profile WWW
July 28, 2011, 09:25:24 PM
 #346

here is a copy of my configuration files the only thing I changed was the actual password to 'password' for the sake of security everything else is exactly like it is on my server


my bitcoin.conf looks like this:

rpcuser=miningfarm
rpcpassword=password
rpcallowip=*
rpcport=8332
server=1

my config.php looks like this:

<?php
//Fit to your need variables // These should be the only variables you need to edit

$mysqlUsername  = "miningfarm";
$mysqlPassword  = "password";
$mysqlDatabase  = "miningfarm";
$mysqlHost      = "localhost";


//Linkage
$header         = $req."header.php";
$menu           = $req."menu.php";
$footer         = $req."footer.php";
$bitcoind       = $req."/bitcoinWallet/bitcoin.inc.php";

//Cookies!
$cookieName = "miningfarm#2";
$cookiePath = "/";
$cookieDomain = "";


//Bitcoind RPC information
$rpcType        = "http";
$rpcUsername    = "miningfarm";
$rpcPassword    = "password";
$rpcHost        = "127.0.0.1:8333";
?>

my server.json looks like this:

     # 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" : 8332, "protocol" : "http-json",
                  "proxy" : "127.0.0.1" },

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

        # database settings
        "database" : {
                "engine" : "mysql",
                "host" : "miningfarm.db.7858894.hostedresource.com",
                "port" : 3306,
                "name" : "miningfarm",
                "username" : "miningfarm",
                "password" : "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) VALUES (?, ?, ?, ?, ?, ?)"

        },

        # 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 inconjunction with the JSON RPC port $
        "rpc.url" : "http://127.0.0.1:8333/",
        "rpc.user" : "miningfarm",
        "rpc.pass" : "password",

        # rewrite returned 'target' to difficulty-1?
        "rpc.target.rewrite" : true
}
ziomik
Legendary
*
Offline Offline

Activity: 1820


http://www.bitcoinmarket.net


View Profile WWW
July 28, 2011, 09:31:37 PM
 #347

Code:
rpcuser=miningfarm
rpcpassword=password
rpcallowip=*
rpcport=8332
server=1

rpcport=8333

"Se domani senti due massaie che parlano di bitcoin tra di loro dal macellaio, forse e' il momento di vendere.. se pero' le sentirai fra 10 anni forse staranno solo pagando il conto" GBianchi
---- +++ ----
http://www.bitcoinmarket.net
cablepair
Hero Member
*****
Offline Offline

Activity: 854


https://btc-republic.com/index.php?ref=cablepair


View Profile WWW
July 28, 2011, 09:53:27 PM
 #348

anyone have any other ideas?

thank you for your help but now I messed something else up and instead of getting username error in the miner its rpc error cant connect

so please just confirm for me that im doing things right

pushpool and bitcoin communicate with eachother on port 8333 correct?

and i configure miningfarm rpc to use port 8332 for bitcoind?

pushpool and miningfarm use the same mysql database

to get everything rolling
i start bitcoind
then i run ./blkmond server.json

am I correct here?
ziomik
Legendary
*
Offline Offline

Activity: 1820


http://www.bitcoinmarket.net


View Profile WWW
July 28, 2011, 10:07:10 PM
 #349

pushpool and bitcoin communicate with eachother on port 8333 correct?
Yes bitcoind and pushpool
and i configure miningfarm rpc to use port 8332 for bitcoind?
No 8333
pushpool and miningfarm use the same mysql database
YES
to get everything rolling
i start bitcoind
then i run ./blkmond server.json
No..
./bitcoind -server
./pushpoold -E -F

change port bitcoind in 8333

bye

"Se domani senti due massaie che parlano di bitcoin tra di loro dal macellaio, forse e' il momento di vendere.. se pero' le sentirai fra 10 anni forse staranno solo pagando il conto" GBianchi
---- +++ ----
http://www.bitcoinmarket.net
cablepair
Hero Member
*****
Offline Offline

Activity: 854


https://btc-republic.com/index.php?ref=cablepair


View Profile WWW
July 28, 2011, 10:14:30 PM
 #350

ok thank you, what does blkmond do?

sorry for my ignorance, but there is not much documentation on this stuff.
cablepair
Hero Member
*****
Offline Offline

Activity: 854


https://btc-republic.com/index.php?ref=cablepair


View Profile WWW
July 28, 2011, 10:17:47 PM
 #351

I changed everything the way you told me to
but now I keep getting this when I start bitcoind

************************
EXCEPTION: N5boost16exception_detail10clone_implINS0_19error_info_injectorINS_6system12sys tem_errorEEEEE
Address already in use
bitcoin in ThreadRPCServer()

terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
  what():  Address already in use
Aborted
ziomik
Legendary
*
Offline Offline

Activity: 1820


http://www.bitcoinmarket.net


View Profile WWW
July 28, 2011, 10:22:02 PM
 #352

try to change the port 8333 bitcoind and, therefore, and pushpoold minifarm .. put the 8331

"Se domani senti due massaie che parlano di bitcoin tra di loro dal macellaio, forse e' il momento di vendere.. se pero' le sentirai fra 10 anni forse staranno solo pagando il conto" GBianchi
---- +++ ----
http://www.bitcoinmarket.net
ziomik
Legendary
*
Offline Offline

Activity: 1820


http://www.bitcoinmarket.net


View Profile WWW
July 28, 2011, 10:26:19 PM
 #353

ok thank you, what does blkmond do?

sorry for my ignorance, but there is not much documentation on this stuff.

better manage and share it prevents the loss of share. excuse for the translation google translate! ;-)

"Se domani senti due massaie che parlano di bitcoin tra di loro dal macellaio, forse e' il momento di vendere.. se pero' le sentirai fra 10 anni forse staranno solo pagando il conto" GBianchi
---- +++ ----
http://www.bitcoinmarket.net
cablepair
Hero Member
*****
Offline Offline

Activity: 854


https://btc-republic.com/index.php?ref=cablepair


View Profile WWW
July 28, 2011, 10:33:08 PM
 #354

i dont know whats going on man
nothing will run on port 8333 now
keeps saying address already in use

i had this problem last night and I forgot how i fixed it

thank you for helping but now im in worse shape then when i started ;/
ziomik
Legendary
*
Offline Offline

Activity: 1820


http://www.bitcoinmarket.net


View Profile WWW
July 28, 2011, 10:36:15 PM
 #355

ok, try doing a nice reboot.
bye

"Se domani senti due massaie che parlano di bitcoin tra di loro dal macellaio, forse e' il momento di vendere.. se pero' le sentirai fra 10 anni forse staranno solo pagando il conto" GBianchi
---- +++ ----
http://www.bitcoinmarket.net
cablepair
Hero Member
*****
Offline Offline

Activity: 854


https://btc-republic.com/index.php?ref=cablepair


View Profile WWW
July 28, 2011, 10:41:49 PM
 #356


[2011-07-28 22:35:8.091291] Listening on host 127.0.0.1 port 8338


does that mean I should be connecting the miners to port 8338?

ziomik
Legendary
*
Offline Offline

Activity: 1820


http://www.bitcoinmarket.net


View Profile WWW
July 28, 2011, 10:43:39 PM
 #357

No, your setting is  8341

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

"Se domani senti due massaie che parlano di bitcoin tra di loro dal macellaio, forse e' il momento di vendere.. se pero' le sentirai fra 10 anni forse staranno solo pagando il conto" GBianchi
---- +++ ----
http://www.bitcoinmarket.net
cablepair
Hero Member
*****
Offline Offline

Activity: 854


https://btc-republic.com/index.php?ref=cablepair


View Profile WWW
July 28, 2011, 10:51:42 PM
 #358

ok I set bitcoind to be on port 8331

started it up - its running
I can connect my miner directly to that on port 8331 using the rpcusername and password (just to test the connection)

I edited server.json so the rpcurl http://127.0.0.1:8331

this is what I got on the pushpool screen:

tom@BitCoinMinersUnion:/home/pushpool/sbin$ ./pushpoold -E -F

[2011-07-28 22:48:7.708102] Listening on host :: port 8342
[2011-07-28 22:48:7.708348] Listening on host :: port 8341
[2011-07-28 22:48:7.708427] Listening on host :: port 8332
[2011-07-28 22:48:7.708499] Listening on host 127.0.0.1 port 8338


you said to connect the miner to 8341 and that would connect to push pool? but its not working

any ideas?

 
cablepair
Hero Member
*****
Offline Offline

Activity: 854


https://btc-republic.com/index.php?ref=cablepair


View Profile WWW
July 28, 2011, 10:54:13 PM
 #359

I really want to get this working, I will pay 5 BTC to the person who gets this working for me tonight!
ziomik
Legendary
*
Offline Offline

Activity: 1820


http://www.bitcoinmarket.net


View Profile WWW
July 28, 2011, 10:58:17 PM
 #360

how did you write the command of the miner? write it

"Se domani senti due massaie che parlano di bitcoin tra di loro dal macellaio, forse e' il momento di vendere.. se pero' le sentirai fra 10 anni forse staranno solo pagando il conto" GBianchi
---- +++ ----
http://www.bitcoinmarket.net
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!