Bitcoin Forum

Other => Beginners & Help => Topic started by: jimsonunique on August 06, 2013, 10:57:26 AM



Title: need help with p2pool
Post by: jimsonunique on August 06, 2013, 10:57:26 AM
still in newbie section

trying to set up p2pool on my macbook. been following this guide https://bitcointalk.org/index.php?topic=64329.0

when i run_p2pool.py  i get error after error

python run_p2pool.py
fatal: Not a git repository (or any of the parent directories): .git
2013-08-06 11:57:29.206600 p2pool (version unknown 666f7272657374762d7032706f6f6c2d64356238363833)
2013-08-06 11:57:29.206684
2013-08-06 11:57:29.206767 Testing bitcoind RPC connection to 'http://127.0.0.1:8332/' with username ''...
2013-08-06 11:57:29.207786 > Error while checking Bitcoin connection:
2013-08-06 11:57:29.207839 > Traceback (most recent call last):
2013-08-06 11:57:29.207889 > Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 61: Connection refused.

over and over again. i did everthing in the guide. bit coin-qt is fully synced.

any ideas?


Title: Re: need help with p2pool
Post by: K1773R on August 06, 2013, 01:28:00 PM
Connection Refused means there is nothing listening on that Port.
add "server=1" to the bitcoin.conf file (and restart bitcoin-qt afterwards) or just dont run the QT and learn to use bitcoind ;)


Title: Re: need help with p2pool
Post by: jimsonunique on August 09, 2013, 01:26:27 AM
Connection Refused means there is nothing listening on that Port.
add "server=1" to the bitcoin.conf file (and restart bitcoin-qt afterwards) or just dont run the QT and learn to use bitcoind ;)

hmm i have server=1 in the conf file.

is it even possible to run the p2pool on a seperate device?



Title: Re: need help with p2pool
Post by: jimsonunique on August 09, 2013, 01:47:30 AM
Connection Refused means there is nothing listening on that Port.
add "server=1" to the bitcoin.conf file (and restart bitcoin-qt afterwards) or just dont run the QT and learn to use bitcoind ;)

also... how do i get bitcoind and not just bitcoin-qt? i thought they were the same thing


Title: Re: need help with p2pool
Post by: iamnightelf on August 09, 2013, 03:21:23 AM
Connection Refused means there is nothing listening on that Port.
add "server=1" to the bitcoin.conf file (and restart bitcoin-qt afterwards) or just dont run the QT and learn to use bitcoind ;)

also... how do i get bitcoind and not just bitcoin-qt? i thought they were the same thing

bitcoind is the server for the bitcoin-qt app (unfortunately NOT included as a seperate executable app in the build of Bitcoin-Qt for Mac OS X)... the bitcoin.conf file is what turns the server on or off via the server=1 command (creates a server with a "listen" port) and CAN be used to set the server on with Mac OS X ... something in the likes of:
rpcuser=bitcoinrpc (or can be anything you want)
password= (can be anything you want)
rpcport=8332 (or whatever port you specify here, use default 8332 for running pypool on top)
port=8333 (for listen function)
rpcconnect=127.0.0.1 (internal loop-back address)
testnet=0 (to turn off testnet testing service)
listen=1
server=1
rpcallowip=your miner(s) ip here or use the * for a range (ie 192.168.1.* for whole block range of 192.168.1.1-255)
allowreceivebyip=1

The bitcoind app can be manually built on Mac OS X if you read the make file... but then you can't run the GUI, so just stick with the Qt app...

That should get you started.

Next run python 'run_pypool.py' command in terminal to execute the app (with select flags for whatever you want to manually set). If it gives you a fuss you can cd into the containing folder and/or cd and drag the file to the terminal window and press enter...


Don't forget to tip me.

Thanks

 ;D