Pages:
Author

Topic: please help !!!! ( need to build up private bitcoin pool on ubuntu 14.04 ) (Read 2358 times)

zvs
legendary
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
ah, hi, I answered in PM but just in case,

I don't keep up with bitcoin mining so much anymore, so I really have no clue what p2pool's current block time is, I'm guessing it's somewhere between 12-36 hours.  Once p2pool finds a block, you'll get paid out based on the total value of your shares vs everyone else's (over x period of time).  

If it says 'GOT SHARE' in your log and it's not returning orphans or DOA's, then it's working..

If you're running the p2pool as a solo pool (just yourself mining), then it might be a very long time until you find a block... then you'd want to make sure your bitcoind is well connected (connect it to me at 5.9.24.81 for one, hoho).

ed:  Payment is to default address (-a) used on command line (*or if you edited default in source code) unless a different valid address is provided on miner (and you aren't taking 100% fees)...   I always mined with Colonel Sanders or Ronald McDonald or something and just had the -a flag set to where I wanted payout to be.
newbie
Activity: 23
Merit: 0
hey all

i just have good news  Grin

i've fixed the pool
and it's working now

and it's working on my miners from more than 5 hours
but nothing received in my wallet ...

the question when will i receive the coins .. ??

and the other question is .. money goes to address which in config.py ?? right ??



here the info.. dear

2014-06-15 14:40:37,110 INFO template_registry # New template for 0000000000000000098bee37662dcaff9d7e68cb48a228700191931ac59612cc
2014-06-15 14:40:37,110 INFO subscription # BROADCASTED to 4 connections in 0.000 sec
2014-06-15 14:40:37,111 INFO template_registry # Update finished, 0.010 sec, 53 txes
2014-06-15 14:40:53,460 INFO interfaces # 00000000000bdba529e453872ab25d4a0af8176934be3dd789053656a70da283 (5526) valid guest
2014-06-15 14:40:54,729 INFO interfaces # 000000000004cab51f3ad19044e498dcb67fe24d04b7b16023276e4ef29b145d (13676) valid guest
2014-06-15 14:41:09,129 INFO interfaces # 000000000004c1a4fd461372aa8f1e01956ab0fbe8b7872a232daee0a03c38b7 (13778) valid guest
2014-06-15 14:41:34,470 INFO template_registry # Yay, share with diff above 100000
2014-06-15 14:41:34,470 INFO interfaces # 0000000000007ddb30309f54cd52161ce0c5eae4199319112408334abc1b2db1 (133302) valid guest
2014-06-15 14:41:37,063 INFO block_updater # Checking for new block.
2014-06-15 14:41:37,331 INFO block_updater # Merkle update! Prevhash: 0000000000000000098bee37662dcaff9d7e68cb48a228700191931ac59612cc
2014-06-15 14:41:37,388 INFO template_registry # New template for 0000000000000000098bee37662dcaff9d7e68cb48a228700191931ac59612cc
2014-06-15 14:41:37,389 INFO subscription # BROADCASTED to 4 connections in 0.000 sec
2014-06-15 14:41:37,389 INFO template_registry # Update finished, 0.010 sec, 85 txes
2014-06-15 14:42:23,190 INFO interfaces # 000000000006e2551ed98ea58f7f6bdc3790bc8df0909e9c22c58b09be5140f5 (9519) valid guest
2014-06-15 14:42:23,640 INFO interfaces # 000000000001ee683e298fd3815e52ca7bb0f0e92d12971a3c8a76289b70998e (33933) valid guest
2014-06-15 14:42:34,261 INFO template_registry # Yay, share with diff above 100000
2014-06-15 14:42:34,261 INFO interfaces # 0000000000001147fbd3110e6f580439370a84022ad9192c2475cb6bea1c55eb (970822) valid guest
2014-06-15 14:42:37,331 INFO block_updater # Checking for new block.
2014-06-15 14:42:37,339 INFO block_updater # Merkle update! Prevhash: 0000000000000000098bee37662dcaff9d7e68cb48a228700191931ac59612cc
2014-06-15 14:42:37,408 INFO template_registry # New template for 0000000000000000098bee37662dcaff9d7e68cb48a228700191931ac59612cc
2014-06-15 14:42:37,409 INFO subscription # BROADCASTED to 4 connections in 0.000 sec


thank you alot for helping
waiting for reply
hero member
Activity: 784
Merit: 500
Acknowledged, just trying to offer any additional help if it were needed. Hopefully I haven't offended anyone with the offer.
newbie
Activity: 23
Merit: 0
I'd be willing to do this for .07 BTC, assuming you're able to follow basic instructions and report back the exact results. Message me if interested.

He's got all the help here already, I don't see why he would need to pay for answers he's already got. I mean he has Google at his feet, what more could he want? There's tons and tons of tutorials out there, it's easy to mix and match if something doesn't work.


that's what i would to say .. !!

plus am not a newbie and i don't know nor also new in linux

it was a problem ..
and it will be fixed soon ..


full member
Activity: 133
Merit: 100
I'd be willing to do this for .07 BTC, assuming you're able to follow basic instructions and report back the exact results. Message me if interested.

He's got all the help here already, I don't see why he would need to pay for answers he's already got. I mean he has Google at his feet, what more could he want? There's tons and tons of tutorials out there, it's easy to mix and match if something doesn't work.
hero member
Activity: 784
Merit: 500
I'd be willing to do this for .07 BTC, assuming you're able to follow basic instructions and report back the exact results. Message me if interested.
sr. member
Activity: 252
Merit: 250
Why don't you hire a freelancer or software developer to help you ??
full member
Activity: 196
Merit: 100
All coins have default ports of you don't actually have to declare them.

I think the only conflict I had was with i0coin and name coin

So I decided to have it there as a nice teminder

So bitcoin uses default port.
full member
Activity: 133
Merit: 100
Took from MPOS Quick Install.. The best way to make sure Python Stratum will work is to do;

Code:
sudo apt-get install python-twisted python-mysqldb python-dev python-setuptools python-memcache python-simplejson python-pylibmc
sudo easy_install -U distribute

Then execute;
Quote
cd ~
cp stratum-mining/conf/config_sample.py stratum-mining/conf/config.py
nano stratum-mining/conf/config.py

This will backup the config and then put you in an editor so you can edit your config (if you haven't already done so).

Make sure you run those commands, then run the stratum server. It _should_ work. If not, then double check everything.
newbie
Activity: 23
Merit: 0
Check my guide:
https://bitcointalksearch.org/topic/how-to-run-your-own-p2pool-in-ubuntu-1404-lts-with-merged-mining-651819

run the aptitude get command to install all prerequisites


okay man .
am going to try this ..

thank you

i will tell you wut's happen

but i've a question .:

why bitcoin doesn't has a rpc port

cat >~/.bitcoin/bitcoin.conf
server=1
daemon=1
rpcuser=bitcoin
rpcpassword=h3wby4zWjGwywZ

like another alt.

cat >~/.namecoin/namecoin.conf
server=1
daemon=1
rpcuser=namecoin
rpcpassword=e9s4bmEaHvofEZ
rpcport=7333


---------------------------------------------

i got another question please ..

where can i put my wallet address ??

thank you
waiting for your reply

newbie
Activity: 23
Merit: 0
Check my guide:
https://bitcointalksearch.org/topic/how-to-run-your-own-p2pool-in-ubuntu-1404-lts-with-merged-mining-651819

run the aptitude get command to install all prerequisites


okay man .
am going to try this ..

thank you

i will tell you wut's happen

but i've a question .:

why bitcoin doesn't has a rpc port

cat >~/.bitcoin/bitcoin.conf
server=1
daemon=1
rpcuser=bitcoin
rpcpassword=h3wby4zWjGwywZ

like another alt.

cat >~/.namecoin/namecoin.conf
server=1
daemon=1
rpcuser=namecoin
rpcpassword=e9s4bmEaHvofEZ
rpcport=7333


newbie
Activity: 23
Merit: 0
Check my guide:
https://bitcointalksearch.org/topic/how-to-run-your-own-p2pool-in-ubuntu-1404-lts-with-merged-mining-651819

run the aptitude get command to install all prerequisites


okay man .
am going to try this ..

thank you

i will tell you wut's happen

full member
Activity: 196
Merit: 100
newbie
Activity: 23
Merit: 0
Do in the folder where you have .bitcoin the following:
Code:
du -h .bitcoin/
Is the total around 22G?




yes


root@BTCX:~# du -h .bitcoin/
525M    .bitcoin/chainstate
1.1M    .bitcoin/database
42M     .bitcoin/blocks/index
21G     .bitcoin/blocks
22G     .bitcoin/
root@BTCX:~#
full member
Activity: 196
Merit: 100
Do in the folder where you have .bitcoin the following:
Code:
du -h .bitcoin/
Is the total around 22G?
newbie
Activity: 23
Merit: 0
okay download is done now
but i got another problem ..

root@BTCX:~/stratum-mining# twistd -ny launcher.tac -l -
Removing stale pidfile /root/stratum-mining/twistd.pid
2014-06-14 14:09:40,899 INFO mining # Connecting to bitcoind...
2014-06-14 14:09:40+0300 [-] Log opened.
2014-06-14 14:09:40+0300 [-] twistd 14.0.0 (/usr/bin/python 2.7.6) starting up.
2014-06-14 14:09:40+0300 [-] reactor class: twisted.internet.epollreactor.EPollR                                                                                                                                                             eactor.
2014-06-14 14:09:40+0300 [Uninitialized] Unhandled error in Deferred:
2014-06-14 14:09:40+0300 [Uninitialized] Unhandled Error
        Traceback (most recent call last):
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linu                                                                                                                                                             x-i686.egg/twisted/internet/defer.py", line 423, in errback
            self._startRunCallbacks(fail)
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linu                                                                                                                                                             x-i686.egg/twisted/internet/defer.py", line 490, in _startRunCallbacks
            self._runCallbacks()
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linu                                                                                                                                                             x-i686.egg/twisted/internet/defer.py", line 577, in _runCallbacks
            current.result = callback(current.result, *args, **kw)
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linu                                                                                                                                                             x-i686.egg/twisted/internet/defer.py", line 1155, in gotResult
            _inlineCallbacks(r, g, deferred)
        --- ---
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linu                                                                                                                                                             x-i686.egg/twisted/internet/defer.py", line 1097, in _inlineCallbacks
            result = result.throwExceptionIntoGenerator(g)
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linu                                                                                                                                                             x-i686.egg/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
            return g.throw(self.type, self.value, self.tb)
          File "/root/stratum-mining/mining/__init__.py", line 48, in setup
            if isinstance(e[2], str):
        exceptions.IndexError: tuple index out of range

2014-06-14 14:09:59+0300 [-] Unhandled Error
        Traceback (most recent call last):
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linu                                                                                                                                                             x-i686.egg/twisted/application/app.py", line 392, in startReactor
            self.config, oldstdout, oldstderr, self.profiler, reactor)
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linu                                                                                                                                                             x-i686.egg/twisted/application/app.py", line 313, in runReactorWithLogging
            reactor.run()
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linu                                                                                                                                                             x-i686.egg/twisted/internet/base.py", line 1192, in run
            self.mainLoop()
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linu                                                                                                                                                             x-i686.egg/twisted/internet/base.py", line 1201, in mainLoop
            self.runUntilCurrent()
        --- ---
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linu                                                                                                                                                             x-i686.egg/twisted/internet/base.py", line 824, in runUntilCurrent
            call.func(*call.args, **call.kw)
          File "/root/stratum-mining/mining/DBInterface.py", line 80, in run_imp                                                                                                                                                             ort
            d = self.bitcoinrpc.getinfo()
        exceptions.AttributeError: DBInterface instance has no attribute 'bitcoi                                                                                                                                                             nrpc'



so can anyone help please ??
full member
Activity: 133
Merit: 100
Be patient... You can type in "bitcoind getinfo" to see how many blocks you have downloaded. Just look at your bitcoin client on your computer and compare to see how many blocks your server needs to download. Before it'll be finished.

Also, when you run bitcoind, it won't show any output in the terminal, so just put it in a screen out of the way. When its not running for whatever reason, it'll return to the command line again.

PS: You may have gigabit and the download will still be slow. It depends on how powerful your servers processor is as well as the connection. It took a server which I ran bitcoind on at least a day to download the blockchain.
newbie
Activity: 23
Merit: 0
which block it is showing currently  ?

not block name/number it's only shown >>>>>>>  ERROR mining # Bitcoind downloading blockchain... will check back in 30 sec

 ERROR mining # Bitcoind downloading blockchain... will check back in 30 sec
 ERROR mining # Bitcoind downloading blockchain... will check back in 30 sec
 ERROR mining # Bitcoind downloading blockchain... will check back in 30 sec
member
Activity: 68
Merit: 10
which block it is showing currently  ?
newbie
Activity: 23
Merit: 0
blockchain download can be around 15GB i think
'

hello

it's more than 3 hours now ..
and it's running on dedicated server with high connection ..

not slow connection..

Pages:
Jump to: