Pages:
Author

Topic: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool (Read 5743 times)

hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
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

full member
Activity: 162
Merit: 100
Where can i check to see if its also mining namecoins. 
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
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

full member
Activity: 162
Merit: 100
One more thing,  is this also going to mine namecoins.  Thanks again, I sent you a little extra. 
full member
Activity: 162
Merit: 100
Thanks,  works from my external rig.  How can i view the shares. 
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
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
full member
Activity: 162
Merit: 100
Sent you a pm Cablepair.
full member
Activity: 162
Merit: 100
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.
full member
Activity: 162
Merit: 100
I just emailed you my conf file.  Thanks.
full member
Activity: 162
Merit: 100
I did wget http://cablepair.devcoin.org/cgminer, followed your steps and still got the same error.  Not sure why. 
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
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

full member
Activity: 162
Merit: 100
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'
full member
Activity: 162
Merit: 100
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.
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
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

full member
Activity: 162
Merit: 100
Man this is frustrating.  I can't get this to work. lol
full member
Activity: 162
Merit: 100
Thanks, now after execute the last command line with the password and user name I get,
bash: ./cgminer-cpuonly: cannot execute binary file
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
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
full member
Activity: 162
Merit: 100
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
full member
Activity: 162
Merit: 100
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. 
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
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
Pages:
Jump to: