Bitcoin Forum

Bitcoin => Mining support => Topic started by: schwartzs on April 09, 2015, 08:58:03 PM



Title: making mining pool problems
Post by: schwartzs on April 09, 2015, 08:58:03 PM
hi not to sure if this is in the right sections if so sorry mod

main question
im able to do all the compiling
./autogen
./configure
make

etc

but when i run it it tells me to switch over to bitcoin-qt i cant seem to get the wallet setup let alone start downloading the blockchain via terminal
also keep running into the problem of pointing the bitcoin-qt to the conf file

any tips and help any one can provide would be much appreicated


schwartzs


Title: Re: making mining pool problems
Post by: Muhammed Zakir on April 09, 2015, 11:07:03 PM
Can you give more details? If you want to run Bitcoin-qt, you can download it from https://bitcoin.org/en/download and install it.

FYI: You can't run Bitcoin-qt via terminal, but you can run Bitcoind or Bitcoin-cli.

Better answers can be expected(from others and me) if you can post more details like what problem you are occuring, when it occur etc...

Edit: Recommended configuration(Bitcoin.conf):

Code:
server=1
rpcuser=a_username_which_isn't_easily_guessed.
rpcpassword=a_long_random_password
rpctimeout=60
rpcport=8332
paytxfee=0.0001

• Windows: Go to %AppData%\Bitcoin and create a new notepad file and name it "bitcoin.conf". After you do, open it and add the above code with preferred username and password and save it.
• Linux: Type "nano ~/.Bitcoin/bitcoin.conf" in terminal and add above code with preferred username and password and save it.
• Mac: Type “nano "~/Library/Application Support/Bitcoin/"” in terminal aand add above code with preferred username and password and save it.

Now run "bitcoind -daemon". Hopefully, blockchain will be downloaded now.


Title: Re: making mining pool problems
Post by: schwartzs on April 09, 2015, 11:28:09 PM
when running bitcoind saying setup rpc user etc  even tho i have trouble with bitcoin.conf location maybe

also
says bitcoind no longer supports rpc function


im also doin this via a vps

any help to get past this and start server and block chain download be much appreicated


schwartzs


Title: Re: making mining pool problems
Post by: Muhammed Zakir on April 09, 2015, 11:43:36 PM
I have edited my previous post regarding Bitcoin configuration file. Please try it out.

im also doin this via a vps

You are connecting from vps to pc or pc to vps or connection bitcoind to locally(in vps)?


Title: Re: making mining pool problems
Post by: schwartzs on April 10, 2015, 12:27:00 AM
Connection via pc to my vps and running bitcoind via the static ip assigned to the vps


Title: Re: making mining pool problems
Post by: adaryian on April 10, 2015, 01:48:35 AM
hi not to sure if this is in the right sections if so sorry mod

main question
im able to do all the compiling
./autogen
./configure
make

etc

but when i run it it tells me to switch over to bitcoin-qt i cant seem to get the wallet setup let alone start downloading the blockchain via terminal
also keep running into the problem of pointing the bitcoin-qt to the conf file

any tips and help any one can provide would be much appreicated


schwartzs

Only reason I say this is because it's been told to me before.  Not to this specifically to this...

But if you're having trouble just setting up the wallet, what makes you think you're going to run a successful pool?

Just food for thought.  Make sure all your deps are installed prior to running ./autogen and ./configure and perhaps run sudo -i before running those commands or putting sudo in front of them.  Hard to diagnose without a copy/paste of the exact information it's giving you.  If there is some sort of debug log you could check that too, to determine the issue as well.

If you want post the information out here to let us help you setup your wallet then think about the running the pool.  It takes a lot more than a wallet and some php-mpos to run a pool successfully and I'll tell you, if you're on a VPS you're already on the wrong path.

My 2 Satoshi's,

Adaryian


Title: Re: making mining pool problems
Post by: schwartzs on April 10, 2015, 10:31:41 AM
ok so iv installed ubuntu on
on my pc linux compilling etc went fine

now i  have got

bitcoin server starting


bingo got wallet adress

now onto stratum
schwartzs


Title: Re: making mining pool problems
Post by: schwartzs on April 10, 2015, 02:52:51 PM
ok run into next problem iv tried assignging one of my miners to the adress on mpos and it isnt doin nout not even mining any idea ???


Title: Re: making mining pool problems
Post by: Muhammed Zakir on April 10, 2015, 03:44:15 PM
ok run into next problem iv tried assignging one of my miners to the adress on mpos and it isnt doin nout not even mining any idea ???

Have you installed it correctly? See https://github.com/MPOS/php-mpos/blob/master/README.md and other DOCs(if any), if you have missed something.

P.S. Please give any image or something, it is hard to answer without knowing exact problem(s).


Title: Re: making mining pool problems
Post by: jonnybravo0311 on April 10, 2015, 05:48:19 PM
Setting up your own MPOS pool is a relatively non-trivial task.  The instructions on how to do so are very extensive.  Just out of curiosity, why are you trying to setup your own pool?


Title: Re: making mining pool problems
Post by: schwartzs on April 11, 2015, 12:25:19 PM
have a relatively good knowledge of linux and the pool its self will only  be on local network just  for the sakwe of learning from it im already mining on
slushs pool i was just looking to gain a better in depth knowledge of how the setting up a mining pool and understanding how it works will post in regards of mpos shortly as iv had to start from scratch


upto stratum again silly question is there some where i can download the sha256 script from or do i just change the coin algo in stratum setup


Title: Re: making mining pool problems
Post by: schwartzs on April 11, 2015, 05:20:35 PM
am i to guess that i cant start mining on the pool until the entire block chains down etc ??
got all compiled cant run stratum till block chains downloaded


Title: Re: making mining pool problems
Post by: Muhammed Zakir on April 12, 2015, 05:58:49 AM
am i to guess that i cant start mining on the pool until the entire block chains down etc ??
got all compiled cant run stratum till block chains downloaded

Yes, you can't. You can't earn anything from it unless you have a lot of miners but you can learn from it.


Title: Re: making mining pool problems
Post by: schwartzs on April 12, 2015, 08:12:04 AM
any idea



Traceback (most recent call last):
  File "/root/stratum-mining/lib/block_updater.py", line 49, in run
    prevhash = util.reverse_hash((yield self.bitcoin_rpc.prevhash()))
Error: 404 Not Found


Which port would I have to open  to connect externally ???


also my miners will only mine for like 25 minutes and then mpos front will start showing decreases in hash rates then hit zero but my miners still show in there  web GUI they’re mining
but on mpos it will show no hashing rates


Title: Re: making mining pool problems
Post by: Muhammed Zakir on April 13, 2015, 06:22:19 AM
any idea

Traceback (most recent call last):
  File "/root/stratum-mining/lib/block_updater.py", line 49, in run
    prevhash = util.reverse_hash((yield self.bitcoin_rpc.prevhash()))
Error: 404 Not Found

I am not certain what is the problem. Have you downloaded whole blockchain and is your parameters in Bitcoin.conf correct?

Which port would I have to open  to connect externally ???

8332 would be fine. You can also use a custom port if you like.

also my miners will only mine for like 25 minutes and then mpos front will start showing decreases in hash rates then hit zero but my miners still show in there  web GUI they’re mining
but on mpos it will show no hashing rates

Which miners and OS are you using? I think mpos supports getblocktemplate mining protocol, have you tried it?

You may want to look at this tutorial: https://github.com/MPOS/php-mpos/wiki/Quick-Start-Guide

If you can't make it ready, you can try CoiniumServ. It looks like easier to setup. https://bitcointalk.org/index.php?topic=604476.0

P.S. This might also help you. http://coingolem.com/how-to-set-up-your-own-mining-pool-using-mpos-229/.


Title: Re: making mining pool problems
Post by: schwartzs on April 13, 2015, 11:43:22 AM
no longer have error listed above just trying to solve

miners and hope they dont cut out on mpos


Title: Re: making mining pool problems
Post by: schwartzs on April 14, 2015, 08:17:49 PM
using an s1 and s3 that mine fine when i just leave 1 miner on the local it stops showing hasing rates for like 25 minutes but if i connect my 2nd unit its a continous hash rate bouncing between the two


Title: Re: making mining pool problems
Post by: schwartzs on April 15, 2015, 04:43:24 PM
yep params are right no interferance on connections whats so ever block chains down 100%


if i run 2 units i have no issue but  if its just one unit connected it acts up

both units connected   under same user it runs fine it switchs between the 2 at certain difficulty


etc so the hasing rate is fluxing  dependant on which device is on if its solo 1 device only then there a period of no displayed hash rates but the server is still accepting valid shares


Title: Re: making mining pool problems
Post by: Xandrah on April 16, 2015, 09:26:28 PM
Fixed 404 issue, downgrade to bitcoind v0.9.0 github repo, 0.10.0 does something to the bitcoind service.


Title: Re: making mining pool problems
Post by: schwartzs on April 18, 2015, 05:43:27 PM
will do cheers


Title: Re: making mining pool problems
Post by: schwartzs on April 19, 2015, 08:32:01 AM
solved wallet reg issue


Title: Re: making mining pool problems
Post by: helloword2013 on November 29, 2015, 12:43:10 PM
how do you fix it ? :)