Bitcoin Forum
May 12, 2024, 03:43:00 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: 1 2 [All]
  Print  
Author Topic: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool  (Read 5683 times)
cablepair (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
November 27, 2011, 04:30:39 PM
 #1

I created a PoolserverJ tutorial

anyone should be able to get PoolServerJ working if they follow this step by step:

http://devtome.org/wiki/index.php?title=How_to_Setup_a_Merged_Mining_Bitcoin_Pool_with_PoolServerJ

subtitle: how to setup a merged mining pool for dummys

let me know what you think! Smiley
1715485380
Hero Member
*
Offline Offline

Posts: 1715485380

View Profile Personal Message (Offline)

Ignore
1715485380
Reply with quote  #2

1715485380
Report to moderator
1715485380
Hero Member
*
Offline Offline

Posts: 1715485380

View Profile Personal Message (Offline)

Ignore
1715485380
Reply with quote  #2

1715485380
Report to moderator
In order to get the maximum amount of activity points possible, you just need to post once per day on average. Skipping days is OK as long as you maintain the average.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
urstroyer
Full Member
***
Offline Offline

Activity: 142
Merit: 100


View Profile
November 28, 2011, 08:53:20 PM
 #2

Can you confirm source.local.1.merged.namecoin.localCoinbasing=true is working for you and created at least one valid namecoin block?

cablepair (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
November 28, 2011, 08:58:06 PM
 #3

i mined testnet namecoin blocks with my setup yes. I dont have enough hashing power to really test it on mainnet.
cablepair (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
December 01, 2011, 10:53:06 PM
 #4

tutorial was revised today a bit, polished up some things and also added a phpmyadmin / add a worker to the database howto at the end, check it out!
mu50stang
Full Member
***
Offline Offline

Activity: 162
Merit: 100


View Profile
December 05, 2011, 05:00:14 AM
 #5

Great tutorial.  I was able to get to the very end but when enter http://127.0.0.1/phpmyadmin/ in my browser it says Not Found

The requested URL /phpmyadmin/ was not found on this server.  If I enter just 127.0.0.1 it says
It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.  I did install the phpadmin from the step above.  Am I missing something.  Thanks.

cablepair (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
December 05, 2011, 07:56:00 PM
 #6

I think you emailed me on this

after thinking about it some more I think I know what your problem is and If this works I will add it to the tutorial because this is a fairly common problem people have

you need to edit /etc/apache2/apache2.conf

add this line to the bottom of the file

Quote
Include /etc/phpmyadmin/apache.conf

save it and then restart apache
Quote
sudo apachectl restart

let me know what happens

donations gladly accepted and appreciated Smiley
19kimvNmXQ1nvc7qFz4d6Zx9Si1fsT56EP
mu50stang
Full Member
***
Offline Offline

Activity: 162
Merit: 100


View Profile
December 06, 2011, 06:53:11 AM
 #7

I was able to get in the php.  Thanks.  Im waiting for the blocks to download so I can test out the pool.  Where can I go see the information for each worker as far as shares etc.  Thanks again.
finway
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


View Profile
December 06, 2011, 07:36:22 AM
 #8

Nice turorial, like it.

cablepair (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
December 06, 2011, 12:00:51 PM
 #9

thank you for the positive feedback finway. that is always appreciated! Smiley
cablepair (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
December 06, 2011, 12:03:14 PM
 #10

I was able to get in the php.  Thanks.  Im waiting for the blocks to download so I can test out the pool.  Where can I go see the information for each worker as far as shares etc.  Thanks again.

after your pool is up and running and accepting shares go back to phpmyadmin and look at the tables you will see one for shares. if you want to add additional workers just repeat the steps I outlined on how to add your initial test worker.

mu50stang
Full Member
***
Offline Offline

Activity: 162
Merit: 100


View Profile
December 06, 2011, 10:59:21 PM
 #11

I set everything up and downloaded all the blocks.  I'm using gui miner on another computer in my home network.  I cant get the pool to connect.  I keep getting problems communicating error.  I have server set to other,  host at 192.168.1.104 which is the ip address for the computer running the pool and port 8999.  When I entered the username and password on phpmyadmin it took it but i recieved and error regarding and integer value.  Not sure what to do now.  Thanks.
cablepair (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
December 06, 2011, 11:08:47 PM
 #12

I would try mining first from the local machine , get cgminer and put it on the local linux box

user ./cgminer-cpuonly -o http://127.0.0.1:8999 -u user -p pass

find out if its a network problem or a pool problem

let me know what happens and we can go from there.

The error in phpmyadmin was because you did not enter an ID # but its ok, it puts one in for you - no big deal and it will still work

mu50stang
Full Member
***
Offline Offline

Activity: 162
Merit: 100


View Profile
December 06, 2011, 11:13:00 PM
 #13

the machine that im using for my pool has no cards on it.  Its and older laptop that i setup as the server. 
mu50stang
Full Member
***
Offline Offline

Activity: 162
Merit: 100


View Profile
December 06, 2011, 11:24:26 PM
 #14

Sorry im a complete ubuntu dummy.  How do install cgminer on it.  Thanks.

cablepair (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
December 06, 2011, 11:33:57 PM
 #15

no prob

try

Code:
wget http://ck.kolivas.org/apps/cgminer/cgminer-2.0.8-x86_64-built.tar.bz2
tar -xvf http://ck.kolivas.org/apps/cgminer/cgminer-2.0.8-x86_64-built.tar.bz2
cd cgminer-2.0.8
chmod +x cgminer-cpuonly

then try
Code:
./cgminer-cpuonly -o http://127.0.0.1:899 -u user -p pass

let me know
mu50stang
Full Member
***
Offline Offline

Activity: 162
Merit: 100


View Profile
December 06, 2011, 11:41:38 PM
 #16

when I enter
tar -xvf http://ck.kolivas.org/apps/cgminer/cgminer-2.0.8-x86_64-built.tar.bz2
the terminal window stops and doesnt show anything. 
mu50stang
Full Member
***
Offline Offline

Activity: 162
Merit: 100


View Profile
December 06, 2011, 11:52:15 PM
 #17

Finally this message showed up
ssh: connect to host http port 22: Connection timed out
tar: http\://ck.kolivas.org/apps/cgminer/cgminer-2.0.8-x86_64-built.tar.bz2: Cannot open: Input/output error
tar: Error is not recoverable: exiting now
cablepair (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
December 07, 2011, 12:13:04 AM
 #18

Finally this message showed up
ssh: connect to host http port 22: Connection timed out
tar: http\://ck.kolivas.org/apps/cgminer/cgminer-2.0.8-x86_64-built.tar.bz2: Cannot open: Input/output error
tar: Error is not recoverable: exiting now



lol sorry (cut/paste mistake)

Code:
wget http://ck.kolivas.org/apps/cgminer/cgminer-2.0.8-x86_64-built.tar.bz2
tar -xvf cgminer-2.0.8-x86_64-built.tar.bz2
cd cgminer-2.0.8
chmod +x cgminer-cpuonly
mu50stang
Full Member
***
Offline Offline

Activity: 162
Merit: 100


View Profile
December 07, 2011, 12:21:18 AM
 #19

Thanks, now after execute the last command line with the password and user name I get,
bash: ./cgminer-cpuonly: cannot execute binary file
mu50stang
Full Member
***
Offline Offline

Activity: 162
Merit: 100


View Profile
December 07, 2011, 01:02:04 AM
 #20

Man this is frustrating.  I can't get this to work. lol
cablepair (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
December 07, 2011, 01:30:23 AM
 #21

did you make it executable by doing chmod +x cgminer-cpuonly ?

if still still does not work you need a 32 bit binary
or to compile your own

I cant do anything tonight but I can help you with it tomorrow, in fact for a very reasonable fee I would be willing to ssh into your server and fix whatever is wrong with it

let me know tomorrow
got to go
-cp

mu50stang
Full Member
***
Offline Offline

Activity: 162
Merit: 100


View Profile
December 07, 2011, 02:28:27 AM
 #22

I did try chmod +x cgminer-cpuonly and no luck.  I have no idea on how to compile a 32 bit binary so ill wait for you tommorrow.  Thanks for all your help.
mu50stang
Full Member
***
Offline Offline

Activity: 162
Merit: 100


View Profile
December 07, 2011, 01:17:00 PM
 #23

When I run poolserverj I get this as one of the lines.  Maybe this is the problem.  I downloaded it and imported it like you had on your tutorial.  I do see a pool tab in my phpmyadmin but no database called poolserverj_native. 
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'poolserverj_native'
cablepair (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
December 07, 2011, 01:21:01 PM
 #24

what command did you use to create the database?

what is the database called them if its not poolserverj_native?

if you did this correctly

Code:
coinserver~: sudo mysqladmin create poolserverj_native -p[password]

you would have created the database poolserverj_native

email me your poolserverj.config

and I will take a look at it for you

btw I compiled cgminer for you if you want to use it for testing

wget http://cablepair.devcoin.org/cgminer

just make sure you chmod +x cgminer before you try to run it

mu50stang
Full Member
***
Offline Offline

Activity: 162
Merit: 100


View Profile
December 07, 2011, 01:39:30 PM
 #25

I did wget http://cablepair.devcoin.org/cgminer, followed your steps and still got the same error.  Not sure why. 
mu50stang
Full Member
***
Offline Offline

Activity: 162
Merit: 100


View Profile
December 07, 2011, 01:52:01 PM
 #26

I just emailed you my conf file.  Thanks.
mu50stang
Full Member
***
Offline Offline

Activity: 162
Merit: 100


View Profile
December 07, 2011, 02:16:16 PM
 #27

I just noticed that you compiled the cgminer file and not the cgminer cpu only.  Not sure if that makes a difference.  I move the cg miner file in the correct directory after i did the get and when i run the cgminer cpu only command i get the same  error.  If I run the cgminer command i get
./cgminer: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory.  Thanks.
mu50stang
Full Member
***
Offline Offline

Activity: 162
Merit: 100


View Profile
December 07, 2011, 11:52:29 PM
 #28

Sent you a pm Cablepair.
cablepair (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
December 08, 2011, 12:22:50 AM
 #29

it should be fixed now, go ahead and try it

you know what you did wrong? Smiley

you named your database pool instead of poolserverj.native like it said to in the tutorial

because if you rename the database you have to change it in the conf

let me know how it works out!!!

Smiley
mu50stang
Full Member
***
Offline Offline

Activity: 162
Merit: 100


View Profile
December 08, 2011, 12:29:31 AM
 #30

Thanks,  works from my external rig.  How can i view the shares. 
mu50stang
Full Member
***
Offline Offline

Activity: 162
Merit: 100


View Profile
December 08, 2011, 12:37:30 AM
 #31

One more thing,  is this also going to mine namecoins.  Thanks again, I sent you a little extra. 
cablepair (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
December 08, 2011, 12:53:18 AM
 #32

thank you for the tip Smiley

yes it will mine namecoin and bitcoin as long as you used ArtForz fork of namecoind which if you used the binary i provided it is the right one.

As far as I know the same setup my tutorial instructs on is being used by yourbtc.net and at least one other public merge mining pool

to view the shares you just click 'shares' in phpmyadmin

mu50stang
Full Member
***
Offline Offline

Activity: 162
Merit: 100


View Profile
December 08, 2011, 01:11:25 AM
 #33

Where can i check to see if its also mining namecoins. 
cablepair (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
December 08, 2011, 03:25:42 AM
 #34

go to where the daemons are

to check to see if you have solved any blocks

do

./bitcoind listtransactions

./namecoind listtransactions


you can also open back up the screens by doing

screen -r

and then putting the number of the screen

like screen -r 31114

or whatever when you do screen -r it will give you some numbers to chose from

remember to always exit out of a screen by doing control A+D

to put it back in the background

when you find the screen for PoolServerJ you will see it submitting shares and syncing with both the bitcoin and namecoin networks on the console

Pages: 1 2 [All]
  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!