Bitcoin Forum
May 24, 2024, 10:46:00 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: need help with p2pool  (Read 1047 times)
jimsonunique (OP)
Member
**
Offline Offline

Activity: 92
Merit: 10


View Profile
August 06, 2013, 10:57:26 AM
 #1

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?
K1773R
Legendary
*
Offline Offline

Activity: 1792
Merit: 1008


/dev/null


View Profile
August 06, 2013, 01:28:00 PM
 #2

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 Wink

[GPG Public Key]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
jimsonunique (OP)
Member
**
Offline Offline

Activity: 92
Merit: 10


View Profile
August 09, 2013, 01:26:27 AM
 #3

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 Wink

hmm i have server=1 in the conf file.

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

jimsonunique (OP)
Member
**
Offline Offline

Activity: 92
Merit: 10


View Profile
August 09, 2013, 01:47:30 AM
 #4

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 Wink

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

Activity: 47
Merit: 0


View Profile
August 09, 2013, 03:21:23 AM
Last edit: August 15, 2013, 06:40:52 PM by iamnightelf
 #5

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 Wink

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

 Grin
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!