Title: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: cablepair on November 27, 2011, 04:30:39 PM 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! :) Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: urstroyer on November 28, 2011, 08:53:20 PM Can you confirm source.local.1.merged.namecoin.localCoinbasing=true is working for you and created at least one valid namecoin block?
Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: cablepair on November 28, 2011, 08:58:06 PM i mined testnet namecoin blocks with my setup yes. I dont have enough hashing power to really test it on mainnet.
Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: cablepair on December 01, 2011, 10:53:06 PM 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!
Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: mu50stang on December 05, 2011, 05:00:14 AM 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. Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: cablepair on December 05, 2011, 07:56:00 PM 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 :) 19kimvNmXQ1nvc7qFz4d6Zx9Si1fsT56EP Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: mu50stang on December 06, 2011, 06:53:11 AM 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.
Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: finway on December 06, 2011, 07:36:22 AM Nice turorial, like it.
Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: cablepair on December 06, 2011, 12:00:51 PM thank you for the positive feedback finway. that is always appreciated! :)
Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: cablepair on December 06, 2011, 12:03:14 PM 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. Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: mu50stang on December 06, 2011, 10:59:21 PM 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.
Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: cablepair on December 06, 2011, 11:08:47 PM 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 Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: mu50stang on December 06, 2011, 11:13:00 PM the machine that im using for my pool has no cards on it. Its and older laptop that i setup as the server.
Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: mu50stang on December 06, 2011, 11:24:26 PM Sorry im a complete ubuntu dummy. How do install cgminer on it. Thanks.
Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: cablepair on December 06, 2011, 11:33:57 PM no prob
try Code: wget http://ck.kolivas.org/apps/cgminer/cgminer-2.0.8-x86_64-built.tar.bz2 then try Code: ./cgminer-cpuonly -o http://127.0.0.1:899 -u user -p pass let me know Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: mu50stang on December 06, 2011, 11:41:38 PM 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. Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: mu50stang on December 06, 2011, 11:52:15 PM 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 Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: cablepair on December 07, 2011, 12:13:04 AM 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 Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: mu50stang on December 07, 2011, 12:21:18 AM Thanks, now after execute the last command line with the password and user name I get,
bash: ./cgminer-cpuonly: cannot execute binary file Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: mu50stang on December 07, 2011, 01:02:04 AM Man this is frustrating. I can't get this to work. lol
Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: cablepair on December 07, 2011, 01:30:23 AM 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 Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: mu50stang on December 07, 2011, 02:28:27 AM 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.
Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: mu50stang on December 07, 2011, 01:17:00 PM 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' Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: cablepair on December 07, 2011, 01:21:01 PM 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 Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: mu50stang on December 07, 2011, 01:39:30 PM I did wget http://cablepair.devcoin.org/cgminer, followed your steps and still got the same error. Not sure why.
Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: mu50stang on December 07, 2011, 01:52:01 PM I just emailed you my conf file. Thanks.
Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: mu50stang on December 07, 2011, 02:16:16 PM 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. Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: mu50stang on December 07, 2011, 11:52:29 PM Sent you a pm Cablepair.
Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: cablepair on December 08, 2011, 12:22:50 AM it should be fixed now, go ahead and try it
you know what you did wrong? :) 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!!! :) Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: mu50stang on December 08, 2011, 12:29:31 AM Thanks, works from my external rig. How can i view the shares.
Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: mu50stang on December 08, 2011, 12:37:30 AM One more thing, is this also going to mine namecoins. Thanks again, I sent you a little extra.
Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: cablepair on December 08, 2011, 12:53:18 AM thank you for the tip :)
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 Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: mu50stang on December 08, 2011, 01:11:25 AM Where can i check to see if its also mining namecoins.
Title: Re: Step by Step Tutorial: How To Setup A Merged Mining BTC/NMC Pool Post by: cablepair on December 08, 2011, 03:25:42 AM 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 |