Bitcoin Forum
November 07, 2024, 04:52:29 PM *
News: Latest Bitcoin Core release: 28.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 5734 times)
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!