Pages:
Author

Topic: A Complete Guide to P2Pool - Merged Mining (BTC/NMC/DVC/IXC/I0C) plus LTC, Linux - page 22. (Read 198725 times)

hero member
Activity: 742
Merit: 500
Anyone know what is the problem?
Are you sure litecoin has downloaded the whole blockchain? You can't mine with p2pool until you have the block chain.
vip
Activity: 756
Merit: 503
I followed every instruction to mine litecoin with p2pool without sucess.

I run the server in a VM with bridged adapter. The router 192.168.1.1 is forwarding port 9338 to the VM 192.168.1.10

Code:
root@p2Pool:~/bitcoind/litecoin/src# ./litecoind -rpcuser=a -rpcpassword=1
root@p2Pool:~/bitcoind/litecoin/src# litecoin server starting

root@p2Pool:~/bitcoind/p2pool# python run_p2pool.py --net litecoin a 1
2012-03-11 00:41:19.839442 p2pool (version 0.9.2-27-g07f4128)
2012-03-11 00:41:19.839645
2012-03-11 00:41:19.839795 Testing bitcoind RPC connection to 'http://127.0.0.1:9332/' with username 'a'...
2012-03-11 00:41:19.840403 > Error while checking bitcoind identity:
2012-03-11 00:41:19.840556 > Traceback (most recent call last):
2012-03-11 00:41:19.840704 > Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 111: Connection refused.



Here are my port forwarding rules:

Code:
# this is the configuration file for rinetd, the internet redirection server
#
# you may specify global allow and deny rules here
# only ip addresses are matched, hostnames cannot be specified here
# the wildcards you may use are * and ?
#
allow *
# deny 192.168.2.1?


#
# forwarding rules come here
#
# you may specify allow and deny rules after a specific forwarding rule
# to apply to only that forwarding rule
#
# bindadress    bindport  connectaddress  connectport
192.168.1.10 9327 127.0.0.1 9327
192.168.1.10 9338 127.0.0.1 9338
# logging information
logfile /var/log/rinetd.log

# uncomment the following line if you want web-server style logfile format
# logcommon


This is my litecoin.conf

Code:
rpcport=10332
port=10333
server=1
daemon=1
rpcuser=a
rpcpassword=1

Anyone know what is the problem?
legendary
Activity: 2912
Merit: 1060
just stumbled over this thread...


so if I can setup a VM with Ubuntu on it within my win7 system (on which I have 4 GPUs to mine) I can run P2P on that VM and point my miners there, amirite?

Absolutely, but dont use NAt networking, use bridged and give its own ip straight to the router. No bridged either. Though i got bitcoin, cgminer and p2pool running perfect on windows server 2008r2.
hero member
Activity: 742
Merit: 500
just stumbled over this thread...


so if I can setup a VM with Ubuntu on it within my win7 system (on which I have 4 GPUs to mine) I can run P2P on that VM and point my miners there, amirite?
Yeah, that should work.
hero member
Activity: 574
Merit: 500
The chain is about 2.4gb.. Uh is there a way to make it smaller? I would need to get a larger drive for my miner.
Maybe try p2pmining.com.  He runs a p2pool node built for small miners.

I restated the bitcoind, it freed up a gig of space.
hero member
Activity: 742
Merit: 500
The chain is about 2.4gb.. Uh is there a way to make it smaller? I would need to get a larger drive for my miner.
Maybe try p2pmining.com.  He runs a p2pool node built for small miners.
legendary
Activity: 2058
Merit: 1005
this space intentionally left blank
just stumbled over this thread...


so if I can setup a VM with Ubuntu on it within my win7 system (on which I have 4 GPUs to mine) I can run P2P on that VM and point my miners there, amirite?
hero member
Activity: 574
Merit: 500
The chain is about 2.4gb.. Uh is there a way to make it smaller? I would need to get a larger drive for my miner.
legendary
Activity: 2912
Merit: 1060
Is this type of merged mining like at slush pool? I dont think so, I think its akin to solo mining nmc and you get a whole block, no shares
legendary
Activity: 1204
Merit: 1000
฿itcoin: Currency of Resistance!
Mmm... Okay...

Anyway, if he follow this guide, it should work. There is no reason to not work.

If you guys want to upgrade from Bitcoin 0.5.2 to 0.6.0, there is the need to clean / reset the entire ~/.bitcoin directory.

To upgrade just do:

1- Stop P2Pool;
2- Stop Bitcoin 0.5.2;
3- Move old directory away with: "mv ~/.bitcoin ~/_bitcoin_OLD";
4- Make a clean Bitcoin dir with: "mkdir ~/.bitcoin";
5- Copy the bitcoin.conf from backup: "cp ~/_bitcoin_OLD ~/.bitcoin/";
6- Start bitcoin-0.6.0rc2...

 Wait the download of the blockchain, start P2Pool again...

Cheers!
Thiago
legendary
Activity: 2912
Merit: 1060
Not if 0.6 doesn't work in his setup
legendary
Activity: 1204
Merit: 1000
฿itcoin: Currency of Resistance!
The current P2Pool works much better with Bitcoin 0.6.0 rc2.
legendary
Activity: 2912
Merit: 1060
newbie
Activity: 14
Merit: 0
newbie
Activity: 14
Merit: 0
newbie
Activity: 14
Merit: 0
user@***-pc:~$ ~/bitcoin-0.6.0rc2-linux/bin/32/bitcoind -paytoscripthashtime=1333238400
user@***-pc:~$ bitcoin server starting


************************
EXCEPTION: 22DbRunRecoveryException       
DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery       
bitcoin in AppInit()       

terminate called after throwing an instance of 'DbRunRecoveryException'
  what():  DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery


What is this?
newbie
Activity: 14
Merit: 0
thanks for your help, it worked
hero member
Activity: 574
Merit: 500
another problem: when i do this tar xf bitcoin-0.6.0rc2-linux.tar.gz
i get an error: cannot open, no such file or directory, error not recoverable

tar zxvf bitcoin-0.6.0rc2-linux.tar.gz
newbie
Activity: 14
Merit: 0
another problem: when i do this tar xf bitcoin-0.6.0rc2-linux.tar.gz
i get an error: cannot open, no such file or directory, error not recoverable
Pages:
Jump to: