Setup Your Own Mining Pool

This is a step by step guide on how to setup your own mining pool for things like bitcoin, litecoin, and other crypto-currencies.

This guide is meant to replace Novice’s Guide to Setting up a Crypto-Currency Mining Pool

Why the update? MPOS (Mining Portal Open Source) is very old now and NOMP (Node Open Mining Portal) has branched off into another project called uNOMP (Unified, Node Open Mining Portal). uNOMP has a very active development team and is updated on a regular basis. This not only ensures adequate support of new currencies, but also better security. uNOMP also has many things in one, and is easier to setup then the old MPOS/NOMP hybrid as described in the legacy guide.

I have ran several large mining pool operations, and helped out at several more. The purpose of this guide is to enable more people the opportunity to run their own pool, whether it be for their own miners or just out of curiosity to understand how it all works. This is by no means meant to be a guide so you can setup your own professional mining pool operation. Running your own mining pool that other miners other then yourself will use is not an easy undertaking, and requires extensive systems administration experience as well as a large budget, patience, troubleshooting skills, and a solid knowledge of how crypto-currencies work. This guide will not be going over any security features.

This guide is going over how to setup a uNOMP (Unified, Node Open Mining Portal) pool. This is meant to setup a mining pool for a single crypto-currency. This is not a guide for a multipool.

Guide Requirements

  • VPS with at least 2 Cores, 4GB Ram, 50GB Disk Space and Ubuntu Server 14.04 x64 (I used Vultr for this guide)
  • Putty
  • WinSCP
  • Very basic knowledge of Linux

While writing this guide I was using a Vultr Cloud Server Yes, those are referral links that we benefit from if you sign up.

If you are setting up a bitcoin pool, you will need more then 50GB of disk space because the blockchain is very large.

I am using a Windows 10 based PC, and communicate with the VPS using Putty and WinSCP.

This guide will probably take you a long time, especially if you are new to Linux. I highly suggest you be patient, and take it one step at a time.

This guide is meant for novices. If you are already an experienced systems administrator then head on over to the uNomp Github and follow their directions.

A lot of these commands will seem very redundant, especially all the blank “cd” commands. Since everything is split up into different sections, sometimes readers can loose track easily. Blank “cd” commands can put them on track and get them into the right directory.

I will be using Litecoin (scrypt), I will not be going into specific of how to host something like dash (x11) or other algorithms. After you understand the basic concept of how uNOMP works, you will later realize it is not hard to change algorithms.

If you have the ability to snapshot your VPS, then I suggest you do that every time you complete a step. It will save you a lot of time if you make a mistake.

All shell commands will be surrounded with a code box like this:

shell command

Information I want you to insert into a file, or somewhere else will be surrounded with a block quote box like this:

info for a file

 

VPS Setup

At this point you should have your VPS started, putty up and running and your logged in as root.

Let’s go ahead and setup the VPS before we get into the meat and potatoes.

 

Update Ubuntu

apt-get update
apt-get dist-upgrade

 

Setup Swap

By default there is no swap setup on my VPS, it is required especially on a system with limited memory. I am setting up a 4GB swap, which is the most common swap size used for a VPS.

dd if=/dev/zero of=/mnt/myswap.swap bs=1M count=4000
mkswap /mnt/myswap.swap
swapon /mnt/myswap.swap

Now let’s add it into fstab so it will activate at boot.

nano /etc/fstab

Add the following line at the end of the file.

/mnt/myswap.swap none swap sw 0 0

Should look something like this:

fstab

Ctrl+O to save, and Ctrl+X to exit the nano editor.

Now your swap is setup, you can modify the size in the future if you need more or less.

 

Install Required Packages

apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev
apt-get install libboost-all-dev git npm nodejs nodejs-legacy libminiupnpc-dev redis-server
add-apt-repository ppa:bitcoin/bitcoin
apt-get update
apt-get install libdb4.8-dev libdb4.8++-dev
curl https://raw.githubusercontent.com/creationix/nvm/v0.16.1/install.sh | sh
source ~/.profile
nvm install 0.10.25
nvm use 0.10.25

All required packages are installed, we may have to hit a few more later but for right now you are good.

 

User Setup

You never run things like your coin daemon (wallet), or other things as root!

Let’s create a user for your mining pool.

As root type:

adduser usernameyourwant

Use whatever username you want, I will be using “poolguide” for this guide just because it is simple.
Do not use the sample username I use, think of your own for security purposes.
You will be prompted for a password, please use a password that is different from your root password.
The other info it asks for you can either fill out or just leave blank and hit enter.

Now let us give that new user sudo access:

adduser usernameyousetup sudo

 

Reboot

A lot has been done to the VPS. Let us go ahead and reboot it as a good, safe practice.

reboot

That is it for the VPS setup, let’s move on.

 

Litecoin Daemon Setup (Wallet)

Now let’s setup the coin daemon, I will be using Litecoin.

Boot up putty and login to that new user we setup earlier.

cd
git clone https://github.com/litecoin-project/litecoin.git

Now let’s compile litecoin.

cd litecoin
sudo ./autogen.sh
sudo ./configure
sudo make
sudo make install

The compile process will take a long time, especially if you have a small VPS with only 1 or 2 vCores. Once you do the command “sudo make” I highly suggest you take a break or whatever it is you need to do, because it will be a moment until you are ready to do the next command.

Now let’s go ahead and run litecoind (the daemon) so it will create the .litecoin directory in your users home dir.

cd src
./litecoind

You will get a message stating there is no configuration file, and they suggest such and such rpc user/pass. We are getting to that.

Now we need to setup the config file for the litecoind.

I am going to start using WinSCP to edit/add files, yes you can use nano, gedit, vim, or whatever shell based text editor you want instead. However, when a novice starts editing as many files as we are about to edit it will be easier for them if they use graphic interface for all of it. It will also help a novice understand the file structure better.

You can get WinSCP here: http://winscp.net/eng/download.php

I will walk you through WinSCP with this litecoind config file, but after that you should be able to use it easily if I just list out what directory you need to go to. You will see here shortly.

Once you install WinSCP, you should be prompted with a login screen.

  • Select “New Site”
  • “File Protocol” will be SFTP
  • “Hostname:” is your VPS IP
  • “Port number” is your ssh port that you have been using with putty
  • “User name:” will be root
  • “Password:” is your root password

Fill all that out and it should look like this (with your server info in there):
winscp

Click login, make sure to accept the host key.

Now that you have logged in, you are in the /root folder. Double click the “..” to back out of it.
winscp2

The file path is /home/username/.litecoin

  • Click on the “home” folder.
  • Click on the folder that is named after your username.
  • Click on “.litecoin” it will be grayed out like such:

winscp3

  • Right click on the white area in WinSCP and Go to “New” and “File”. Should look like this:

winscp4

  • Name the file “litecoin.conf”

A white text editor window should pop up, this is WinSCP’s internal editor and what we will be using to edit files. Now we’ll want to put some basic stuff into the configuration file. You should definitely use a different username and password then that I use in the guide. I am just using the ones that litecoind generated for me already.

rpcuser=litecoinrpc
rpcpassword= wdYMsDT4E61jCv8xx6zZd6PYF3iZkjD7t3NpuiGpn6X
rpcallowip=127.0.0.1
rpcport=2300
daemon=1
server=1
gen=0

I understand that some of these .conf settings are redundant for litecoin, however in the past I have ran into certain crypto-currencies that did not allow localhost to connect, etc… Just thought this was the best overall config for a multitude of scrypt coins since the users following this guide are probably not setting up a litecoin pool. I also changed the rpcport, which is just a simple security measure I like to take.

If you are setting this up for a PoS (Proof of Stake) currency ensure that you put “staking=0” into the config otherwise your miners may not be able to withdraw their matured coins if they start staking.

The default listen port for litecoin is 9333.

Now that you have updated the litecoin.conf file, go ahead and click on the floppy disk icon in the top left of the WinSCP Editor.

winscp5

Now that we have setup and saved the config file, let’s get back into ssh (putty) on your user that you created earlier.

cd
cd litecoin/src
./litecoind

You should get a message that states “Litecoin server starting” if for some reason you can’t get out of that command simply press Ctrl+C in putty and it’ll fix it.

Now let’s make sure it’s updating.

./litecoin-cli getinfo

You should see a bunch of info that looks like this:
litecoininfo

Run that getinfo command several times, and you should see the “blocks” number updating everytime you run that getinfo command.

The wallet should be fully updated by the time this guide is over, however if you are quick or unsure simply run the getinfo command again and compare the block number to http://explorer.litecoin.net/ if the block number matches what’s on that site then you are good to go.

Now let us set the crontab so that the litecoin daemon (litecoind) will always start on boot.

  • crontab -e
  • Select “2. /bin/nano <—- easiest”
  • Use your arrow keys to scroll down to the bottom of the crontab.
  • Add this line below the # symbols.

@reboot ./litecoin/src/litecoind

  • Should look something like this:

crontabcorrectlitecoin

  • Press Ctrl + O to save and Ctrl + X to exit

The Litecoin daemon will now start on boot.

Last thing we need to do is get a new address for our litecoin wallet.

./litecoin-cli getnewaddress

An address will show up, please keep record of this address. We will be using it later in the guide.

 

Mining Pool Setup

Now we are at the part you have been waiting for, actually setting up the mining pool. As mentioned earlier we will be using uNOMP for this. uNOMP already has the stratum server, webpage, payout system, and much more built into it.

You should have Putty and WinSCP up and running, you are logged in as your new username on Putty and root on WinSCP.

Download and Update uNOMP

cd
git clone https://github.com/UNOMP/unified-node-open-mining-portal.git unomp
cd unomp
sudo npm update

Main Configuration

cd
cd unomp
cp config.json.example config.json

Now let’s open up WinSCP.

  • Navigate to /home/username/unomp
  • Right click on config.json and select edit
  • Find “website”:
  • Underneath website, find “host”: and change the “0.0.0.0”, to your VPS IP
  • Save It!

Here is a picture example, what I had you change is highlighted in yellow. I used a fake IP but please use your actual IP.

config1

The rest of the default settings in the config.json will work, however it is recommended you open it up on WinSCP after this guide is over and change things like your site title, admin password, stratum host, etc… For right now we will be using the default config settings to make the guide easier to follow.

Pool Configuration

Your asking, what do you mean by pool configuration? I thought we were doing that! Well yes, you are. However, the way the uNOMP works you can have multiple pools running on one instance. For this pool configuration portion of the guide you will be setting up the Litecoin pool. So if you want another pool for your currency of choice in the future, you can add another pool config into the pool_configs folder and you will have another pool running for a different currency (as long as you setup the coin daemon, make sure the coin.json is in unomp/coins/ and the settings are correct in the pool config).

cd
cd unomp/pool_configs
cp litecoin.json.example litecoin.json

Now let’s open up WinSCP.

  • Navigate to /home/username/unomp/pool_configs
  • Right click on litecoin.json and select edit
  • Find “enabled” and change it to true,
  • Find “auxes”: and delete everything inbetween the [  ], if you do not understand there will be pictures below.
  • Find “address”: and place that address we saved earlier from the litecoin daemon setup.
  • Find “paymentInterval”: and change it to 30,
  • Find “minimumPayment”: and change it to 0.01,
  • Find “daemon”: and underneath it find “port”: and change it to the user from your litecoin.conf (see litecoin daemon setup)
  • Find “user”: and change it to the password from your litecoin.conf (see litecoin daemon setup)
  • Find “password”: and change it to the password from your litecoin.conf (see litecoin daemon setup)
  • Scroll down to “daemons”: after ports and configure your litecoin daemon (same info as the past 3 steps)
  • Save It!

Here are picture examples, everything I had you change is highlighted in yellow.

poolconfig1

poolconfig2

 

Start your Mining Pool

Now it’s time to start everything up, fingers crossed!

cd
cd unomp
sudo node init.js

You should see something like this:

initjs

If you see something like the picture above, congratulations you configured everything correctly. If you got an error somewhere, the first thing I suggest is while in the unomp directory, do a quick “sudo npm update” then try again. If it does not work, then read through the guide again and try to spot any mistakes. If that does not work, then use a search engine to lookup your error. Odds are there is a solution for it on github or somewhere else.

Now let’s see if your webpage is working, use your web browser and go to http://yourvpsip

You should see something like this:

unompfront

Now fire up your miner, I am not going to go into specifics about setting up cgminer or what have you. If you don’t know how to setup a miner, you probably should of researched that long before you attempted to setup your own pool.

Details for your miner:

stratum+tcp://yourvpsip:3032
-u ltcpayoutaddress
-p anything

Open up SSH Terminal (Putty) that you used the command “sudo node init.js” in. You should see that your LTC address was authorized, should look something like this:

hashes

Overtime you will see accepted shares. You can also look at the statistics on your uNOMP webpage.

Now that you verified everything is working, go ahead and open up the Putty window again and “Ctrl + C” to stop the pool for the time being.

 

Install Forever

Forever will make it so you can start a nodejs application (unomp for instance) and close your SSH client (Putty) and it will still remain running.

cd
cd unomp
sudo npm install forever -g

Forever is now installed, now let’s run your pool.

sudo forever start init.js

You can now close out of Putty and your pool will keep on running.

You may want to read up on forever on their github page, https://github.com/foreverjs/forever. You can use forever to log all outputs of uNOMP, which will make life much easier if you run into an issue later on. You can simply read the logs and find the error.

If you want to stop uNOMP, simply go to the unomp directory again as your user and type:

sudo forever stop init.js

 

Conclusion

congrats

Congratulations if you completed this guide successfully, it is not an easy task especially if you are a novice with mining pools and linux. Remember that the best way to learn something is just to mess with it, and see what you can do. Push your mining pool to it’s limits, edit the software, mess with the database, etc… These things will make you more knowledgeable. I did not get to where I am at from simply following guides.

You can edit the actual uNOMP website by going to /unomp/website/. If you have a basic knowledge of HTML you should have no issues, the website is still in early development. Please remember that this guide has not gone over the security aspect whatsoever. You need to secure your VPS! There is plenty of guides about this on the internet.

If you have any issues, please review the guide again and make sure you have not missed anything before you start asking questions. It is a huge guide and you can easily miss a step. Also, search engines are your friend.

I get asked a lot about what sort of server power is required to run a mining pool. Based off of the scrypt algorithm, you want about at least 1 CPU Core and 1GB of Memory per 1 GH/s to be on the safe side. This is not including at least 1 CPU Core and 1GB minimum to run your frontend (website), which will also fluctuate depending on the amount of traffic. Internet connection wise, you want at least a 10Mbps port. Most VPS or Servers that you can rent usually have at least a 100Mbps port now-a-days. I would highly recommend SSD drives, especially if you plan on going over 1 GH/s on your pool. Mining pools love to use a lot of IOPS.

I would like to thank the developers that made  uNOMP. I had to cross-reference their guides multiple times to make this one. Please check them out on Github, and donate to them if you are using their software.

uNOMP.org
uNOMP Github

You are free to use my guide whichever way you want, just please give credit to my site BlockGen.

Zach A.

View posts by Zach A.
Mining Pool Operator & Mining Enthusiast.

369 Comments

  1. CHRISTOPHER PAUL STAPLES
    September 22, 2018

    node int.js not launching,
    run npm rebuild then run node init.js

    Reply
  2. Carlos Gamarra
    July 9, 2018

    blockchain do not issue

    error –> Thread 1 Downloaded 100.00% of blockchain from 9 peers

    Reply
  3. Carlos Gamarra
    July 9, 2018

    Error.

    Reply
  4. Simon
    June 24, 2018

    When I write “sudo node init.js” II receive this error, what I have to do for correct it???

    [2018-06-24 11:21:39.439] [ERROR] [default] – Payments litecoin Error with payment processing daemon {“type”:”offline”,”message”:”connect ECONNREFUSED”}
    [2018-06-24 11:21:39.473] [DEBUG] [default] – Website Server Website started on 0.0.0.0:8081
    [2018-06-24 11:21:39.490] [ERROR] [default] – Website litecoin Could not dumpprivkey for litecoin {“type”:”offline”,”message”:”connect ECONNREFUSED”}

    Thanks in advance!

    Reply
  5. Paul
    June 20, 2018

    How to turn made with own app cryptocurrency into real money? commercial mining pools give wallets, and here how do you prove that you have that cryptomoney and withdraw it?

    Reply
  6. Ghosty_CC
    June 19, 2018

    Hey guys,

    Thanks Zach fore this guide!
    However anyone managed to get this to work recently ?
    If so could you post version of your distrib and nodes you’re using ?

    So far I could never get this to work even with 14.04.5srvr nor 16.04 ot even lastest.
    About the nodes I’ve tried 0.10.25 up to the recent one 9.9.x passing by some between these 2 versions.
    I managed to get the website running but not the pool with even recent version. So far everything up to date was the best shot.

    But it’s still not working. And I’m not a linux crack.
    This is the error message I end up with, anyone could help ?
    Its almost evertytime same errors, going around syntax or reading.

    XXXXX:~/unomp$ sudo node init.js
    [2018-06-19 15:48:58.089] [INFO] [default] – New Relic
    [2018-06-19 15:48:58.092] [DEBUG] [default] – NewRelic Monitor New Relic initiated
    [2018-06-19 15:48:58.093] [INFO] [default] – POSIX Not Installed
    [2018-06-19 15:48:58.094] [DEBUG] [default] – POSIX Connection Limit (Safe to ignore) POSIX module not installed and resource (connection) limit was not raised
    [2018-06-19 15:48:58.094] [INFO] [default] – Run Workers

    /home/ghosty/unomp/init.js:139
    for (var i=0; i < poolOptions.auxes.length; i++){
    ^
    TypeError: Cannot read property ‘length’ of undefined
    at /home/ghosty/unomp/init.js:139:43
    at Array.forEach (native)
    at buildPoolConfigs (/home/ghosty/unomp/init.js:135:21)
    at init (/home/ghosty/unomp/init.js:526:19)
    at Object. (/home/ghosty/unomp/init.js:542:3)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    XXXXXt:~/unomp$

    thanks guys

    Reply
  7. Mike
    June 16, 2018

    Hello, good evening … this guide helps me to install an ETC pool? What command line should change to achieve it? thank you very much!

    Reply
  8. color switch
    June 11, 2018

    Thank you so much! my next step is now to add more coins to my pool to mine.

    Reply
  9. Parampreet Singh
    May 26, 2018

    while running node init.js i am getting the error invalid address length
    but i get my address using ./src/btcp-cli getnewaddress please help me to solve this issue

    Reply
  10. Clemens Biedrawa
    May 12, 2018

    hello i Have an issue ! and i almost dont know anything about linux …
    i think i downloaded some data from github now i have to compile.. but i get this message …

    [email protected](none):~/litecoin$ sudo ./autogen.sh
    sudo: unable to resolve host (none)
    [sudo] password for clemo_2:
    Can’t exec “aclocal”: No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
    autoreconf: failed to run aclocal: No such file or directory
    [email protected](none):~/litecoin$

    Reply
  11. darkpenguin350
    April 11, 2018

    This is not working anymore for bitconi because of this error:

    Pool bitcoin Thread 1 Could not start pool, error with init RPC getinfo – {“code”:-32601,”message”:”getinfo\n\nThis call was removed in version 0.16.0.

    Reply
    1. J Garcia
      April 12, 2018

      I believe you are using the latest Digibyte core.I have the same issue and theoretically -from my own little knowledge / research- the only way to remove that error message would be to use the previous core stable release (0.14.2) from Digibyte or alternatively change the non-functioning call within the UNOMP code (litecoin-cli getinfo should be changed by litecoin-cli getblockchaininfo). If you manage to sort it out please let us know.

      Reply
  12. Mathew
    April 3, 2018

    “UNOMP: Development stopped and is now unsupported.“ Can you write about that on start of this article and give us guide for supported mining pool?

    Reply
  13. Sam
    April 2, 2018

    I Want to make a MiningPool. But i want to use a raspberry as the server. Is it possible?

    Reply
  14. ycusoy
    March 28, 2018

    “” ~/unomp$ sudo npm update
    sudo: npm: command not found “”

    what is the best solution for this??

    Reply
    1. john
      March 31, 2018

      try without sudo?

      Reply
    2. mohamed
      May 13, 2018

      just install nodejs and than install npm and chown

      sudo apt-get install -y curl
      sudo curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash –
      sudo apt-get install -y nodejs
      sudo npm install npm –global
      sudo chown -R $USER:$(id -gn $USER) /home/$USER/.config

      Reply
  15. bigbit
    March 27, 2018

    How does the owner cash out the mining pool wallet?Any ideas?

    Reply
  16. Lucy Tao
    March 26, 2018

    Can’t find unomp directory! Need help

    Reply
    1. john
      March 31, 2018

      try sudo locate filename?

      Reply
  17. Lucy Tao
    March 26, 2018

    When I open the litecoin folder it doesn’t show what is on your screen. It has autogen.sh on it

    Reply
  18. Lucy Tao
    March 26, 2018

    When I do ./litecoind nothing appears in the terminal

    Reply
    1. DisFish
      March 27, 2018

      enable hidden files view in WinSCP 😉

      Reply
  19. Lucy Tao
    March 26, 2018

    Can’t exec “aclocal”: No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
    Does this when I enter sudo ./autogen.sh

    Reply
    1. Harry
      October 23, 2018

      Were you able to fix this issue. I ran into same problem and was wondering how to resolve. thanks

      Reply
  20. DisFish
    March 26, 2018

    You omited a few things, man. Like enabling hidden files view in WinSCP and a few command lines, but thanks anyway. 🙂

    Reply
  21. tidex
    March 19, 2018

    HI guys i stuck on this error and when i try when i stry setup my miner on the my pool is not conneting to server anyone can help?

    [ERROR] [default] – Payments litecoin Check finished – daemon rpc error with batch gettransactions {“type”:”offline”,”message”:”connect ECONNREFUSED”}

    Reply
  22. Alex
    March 16, 2018

    Im stuck at sudo init.js… any ideas?

    Reply
    1. john
      March 31, 2018

      sudo node init.js

      Reply
  23. lubing7683
    March 7, 2018

    I followed the guide to set up a unomp pool, then i have a question: how to set up and run multiple pools?
    Can anyone guide me ?

    Reply
    1. john
      March 31, 2018

      Unomp is able to host many pools and algo’s, add a config file for each coin in pool_configs .. use the litecoin example as a base line .. change the necessary info for each coin make sure your specified ports are open also make sure you have a coin.json for the coin in your coins folder to match

      Reply
  24. Ana Gutierrez Jordano
    March 2, 2018

    Hi, please help me I feel so frustrated right now. I cannot type ” | ” in my noVNC console, on which my VPS is running, so I keep stuck in the step of installing nvm… so frustrating. Please help me. Thank you

    Reply
    1. Ana Gutierrez Jordano
      March 4, 2018

      Ok, I installed succesfully libvirt, qemu and all this stuff I had no idea of. Now, I still cannot type ‘@’ nor ‘|’ . When I use the command ‘qemu-system-x86_64 -k es’ (Spanish keyboard) I get the following error: warning: TCG doesn’t support the requested feature: CPUID.01H:ECX.vmx [5 bit]

      If anyone can help out withh tis I’ll be forever grateful. I cannot even get to the part of setting up the pool because of the lack of ‘|’ . It is very frustrating

      Reply
      1. Ana Gutierrez Jordano
        March 5, 2018

        OK, now I feel deeply stupid…. I just needed to use PuTTY instead of the noVNC console that the shitty vps company was providing.. I wasted two days because of this, but now is all good. Anyone knows why their customer service is so poor? (from all VPS companies I mean). Never mind. Now re-reading the guide I thought to give PuTTY a go and now I can type everything normally. Nevertheless, a new problem not mentioned on this guide arose.
        None of my coins are getting any connections. Even though I tried them first on my local machine and they were connected, once I compile them on the VPS none of them are working. When I do ‘netstat -pna | grep LISTEN’ or ‘grep PORTOFTHECOIN’ I can see the port is effectively listening, and the debug.log doesn’t show any error. Any ideas what is wrong?

        Thank you for all the help you can provide. As you can see I am a total newbie and everything takes so much effort for me.
        Thanks

        Reply
      2. malvastyle
        March 22, 2018

        copy and paste the char

        Reply
  25. Furio
    March 1, 2018

    Sorry, i just noticed my post lost its formatting and enters, hope you can read through it, otherwise i got the questions here: http://freetexthost.com/z4a1plwcv4

    Reply
  26. Furio
    March 1, 2018

    Great guide Zack!

    Got it all up and running but me and probably some other guys got some general questions, i hope you or someone who has the answers can enlighten us a little:

    The litecoin address that we had to generate and the block rewards gets sent to right? How do we get this address for instance in our ledger wallet or exodus, is there a method to extract the private key from it?
    How to confirm everything is (still) working? If the miner is active in the frontend your good? Or Is there a command or a log file we need to keep checking?
    I tested the server with 1x L3 (504MH/S) and its getting a lot of valid shares (88699) and very little invalid shares (35), this is good? Or should i/we change something, if so in what file/setting?
    In the frontend there is this key thing: /key.html (Is it better to remove this or no harm?)
    I see many pools running their stratum url on port: 3333 for Litecoin, does it matter you used a different port?
    After running init.js in putty and then doing: i close putty but how can we make sure everything is still running smoothly because when you go back to putty and run init.js again it gives errors, is this because init.js is already running by forever? This question belongs to #2 really, is there a command that poops out: “everything is running good, you might get lucky today?” aka: “Status”.
    Can we use the same payout address for each worker or does each worker needs its own payment address? And can we leave password blank? (Lets say you got 6x miners and want to connect all of them to the pool but getting 6 different wallets (payment addresses) is not very efficient ).
    Can we disable the payments for each miner so only the pool operator gets the block reward? Easy setting? If so in what file?
    Should we install POSIX? It always says “POSIX Not Installed” or no problem without it?

    That are my questions so far and really hope Zack or somebody with knowledge can answer them.

    To give back a little ive read almost every comment and here are some fixes/tips/problems i encountered coming from a linux noobie:

    If a command does not work, typ sudo in front of it and that should do it as a “superadmin” i believe.
    If a step in the guide does not work, it will give you a error/warning: Google the warning with ubuntu behind it and 9/10 times your just missing something the step needed before. Run it again after installing what you missed and you should be good to go.
    My ubuntu did not have a ssh server so i spend 30minutes figuring out why i could not connect, after googling ubuntu ssh server install, i was good to go. (quick tip, change the port, crazy russian bruteforcers are scanning port 22, 24/7).
    If you get a error on getting the actual block size, wait 30seconds and try the command again. Worked for me.
    Do not putt your own litecoin address in the config file or you will get the error daemon does not belong to address or something, i think its best to leave the generated address there.
    I waited a long time after one step where you need to make the .litecoin directory. Just go to the gui file viewer and in properties select show hidden files and it should be there, make sure to check correct user.
    When you had to do things in putty and then go back to the file viewer sometimes i did not see the new files so i just closed and re-opened the file viewer and it was all there.

    So far this ridiculous long post!

    Reply
  27. peacesal
    February 24, 2018

    Can’t get this to work: ./litecoin-cli getnewaddress

    giving errors, any clue?

    Thanks.

    Reply
  28. Siracer09
    February 24, 2018

    What Linux Distro is the best? I seem to be having issues with Ubuntu 16.04. Also, are all the commands up to date with the latest versions? Will this work with Litecoin Cash? Thanks

    Reply
  29. Peacesal
    February 24, 2018

    The block displayed does not match the block on http://explorer.litecoin.net/

    The site shows 1374542 mine is 353965, any clue?

    Thanks.

    Reply
    1. Furio
      March 2, 2018

      You just keep refreshing the command: ./litecoin-cli getinfo and it should update, its written in the guide…

      Reply
  30. albinstein
    February 20, 2018

    Hello Friend,
    I want to know how to make a PoS pool of any cryptocurrency

    Reply
  31. Peacesal
    February 18, 2018

    Can’t get this command to work

    sudo ./autogen.sh
    sudo ./configure
    sudo make
    sudo make install

    Error no such files, command not file, failed to run

    Reply
    1. smarinlo
      February 20, 2018

      solo make

      Reply
      1. Peacesal
        February 24, 2018

        Thank you!

        Reply
  32. soundsticks
    February 18, 2018

    I’m not able to start mining with this error

    MySQL litecoin Database error when authenticating worker: {“code”:”ECONNREFUSED”,”errno”:”ECONNREFUSED”,”syscall”:”connect”,”fatal”:true}

    Reply
  33. diMarco
    February 11, 2018

    I have it up and running on my local VM….. I’m using CentOS 7 as os, because I’m more familiar with that …. but this software is not complety up to date anymore … f.i. the payment processor and website use ‘dumpprivkey’ which you can no longer do on a HD wallet without first running walletpassphrase …. and for sure dumping private key is a risk, so that code needs rewriting ……. if anyone has the same issues please contact me… meanwhile I will continue to rewrite parts of the code 🙂

    Reply
  34. Charan
    February 11, 2018

    It will be more helpful if you do a making video

    Reply
  35. lopezi
    February 9, 2018

    Please don’t take me wrong but I’ve been running this for enough probabilistic time and hash power to get a block and, well, it’s a really great tutorial and can be only bad luck but can anyone confirm they really get blocks with this mining pool software? With so make scams these days you never know and once again sorry for enabling the doubt.

    Reply
    1. newbie
      February 9, 2018

      wish i could give you good news but I was wondering the same thing

      Reply
    2. Zach A.
      February 11, 2018

      The concern is understood in this day and age. I can assure you that uNOMP is a legitimate piece of software. In this guide you are using the uNOMP source code from their official repository. The pool software is dated now, so it’s not necessarily the best pool software out there but existing pools have and do find blocks with it. There are several large, popular pools that use modified versions of it as well.

      If your pool has a small amount of hashrate compared to the rest of the network, you are going to suffer from variance. Just because you punch your hashrate into a mining calculator and it says you’ll get a block in this amount of time does not mean you’ll always get it. Sometimes your luck is bad. Think of it like gambling, a roulette table so-to-speak. The larger pools can take up a lot of spaces on the board so their chances of winning everytime is higher than yours while you are stuck with 1 space which may not hit when you think it will after so many turns. It’s a lot more complicated then this and there is plenty of articles on Google that go into detail. Just trying to give you a real life visual.

      The intent of a mining pool from the get-go is reducing that variance. Miners pool their hashrate together and find blocks more often so their payout is steady. I understand wanting to avoid those 1 to 3% fees that pools charge but if your network hashrate is too small then you’ll risk a lot more than those pool fees.

      Reply
      1. lopezi
        February 17, 2018

        Thank you for your detailed feedback. I can now confirm I mined a first block.

        Reply
        1. sachin verma
          April 30, 2018

          which coin did you mined?

          Reply
    3. Mike Hachem
      February 14, 2018

      I’m getting a few blocks …

      [2018-02-14 07:11:06.491] [INFO] [default] – Pool bitmark Thread 1 Block found: 729188a2726cb932267ab0f7fcefd74c8cb732619da146dd9d54af81073abd70

      I used this guide and adapted the parameters for bitmark coin (BTM)

      I managed to setup a pool without much Linux knowledge, koodos to the author for making this guide easy to use and very detailed.

      Reply
      1. Newbie
        February 15, 2018

        this mining pool is easier to setup and offers an opton to buy the precompiled version that only needs to be configured by the user……. https://github.com/bonesoul/CoiniumServ

        Reply
      2. lopezi
        February 21, 2018

        I tried CESC, might be spending electricity but at least i make plenty a blocks 🙂

        Reply
        1. Jisis
          February 23, 2018

          I actually got some BTC with it thanks!

          Reply
  36. Fernando
    February 9, 2018

    Why don’t they just make a Raspbery-Pi design as a coin mining pool server? Is much easier because we could buy a cheap Raspbery-Pinmade to be a mining pool server so everyone can mine easily, no installing anything and could use the pool for other coins as well, multi mining pool server for different coins

    Reply
  37. mreza73
    February 5, 2018

    hi
    got error when trying update unomp
    sudo npm update

    npm ERR! [email protected] install: node-gyp rebuild
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the [email protected] install script ‘node-gyp rebuild’.
    npm ERR! Make sure you have the latest version of node.js and npm installed.
    npm ERR! If you do, this is most likely a problem with the unomp-multi-hashing package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR! node-gyp rebuild
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR! npm bugs unomp-multi-hashing
    npm ERR! Or if that isn’t available, you can get their info via:
    npm ERR! npm owner ls unomp-multi-hashing
    npm ERR! There is likely additional logging output above.
    npm ERR! Please include the following file with any support request:
    npm ERR! /home/pooluser/unomp/npm-debug.log

    Reply
    1. J Garcia
      April 3, 2018

      Same issue here. Tried 3 different computers/servers running Ubuntu Xenial (16/04) but I got stuck in this very same stage due to the same error. Any help will be much appreciated. Thanks in advance!

      Reply
  38. Peacesal
    January 29, 2018

    Hi Zach,

    Will need your help setting up a mine pool from the scratch. What is the cost and your availability?

    Thanks

    Reply
  39. solo
    January 27, 2018

    Is it possible to set this pool so that each miner can do solo mining?

    Reply
  40. sebhase
    January 26, 2018

    Zach. currently while trying to install this pool my ubuntu vps will not let me run the sudo make or sudo make install commands. please help me.

    Reply
  41. D
    January 24, 2018

    HI

    I followed your guide to set up a unomp pool
    When launching it i see Network Hash Rate: NaN KH
    it looks like the pool is not connected to the network of the coin.
    I used the latest wallet i did update.
    Still not working
    Anyone who can help me?

    Thanks in advance

    Reply
  42. bit jaff
    January 23, 2018

    I tried to create a swap file, but it gave me the following error:
      swapon failed: Operation not permitted.

    Please How to resolve this situation.

    Thanks in advance

    Reply
    1. bit jaff
      January 24, 2018

      Part of the issue is resolved. I change de permission to 0600. Now i have this error mensage:

      ~# chmod 0600 /mnt/myswap.swap
      ~# swapon /mnt/myswap.swap
      swapon: /mnt/myswap.swap: swapon failed: Operation not permitte

      Anyone who can help me?

      Reply
      1. bit jaff
        January 24, 2018

        🙁 The service here i have my VPS don’t permited swap :(:(
        Can I install the pool without this step?

        Reply
      2. efwfwe
        May 31, 2018

        try putting sudo before the command your having issues with

        Reply
  43. Aaron
    January 20, 2018

    When installing the litecoin client I get this error after issuing the command: ./configure
    checking for main in -lminiupnpc… (cached) yes
    checking for QT5… no
    configure: error: Qt dependencies not found

    I’ve Googled the issue but can’t really find anything that helps.

    Reply
    1. Mihai
      April 3, 2018

      sudo apt-get install qtbase5-dev

      Reply
  44. Igor
    January 10, 2018

    Hello Zach, we are looking for someone who is capable of creating new mining pool for our project.
    Any chance to get a help from you?

    Igor

    Reply
  45. harumi
    January 9, 2018

    I wang to build a Nexus mining pool server in japan,I am looking for installation engineer,remuneration or cooperative。if you can installation, please email to me:[email protected]

    Reply
  46. rolling sky
    January 9, 2018

    Thanks and keep up the good work!

    Reply
  47. Newbie Extreme
    January 2, 2018

    I set up 2 pools using this guide, litecoin and digibyte. Both pools seem to operate fine and i can connect my ASIC’s to them but after mining for several days, receiving valid shares, no confirmed blocks, no payouts of any kind. What is going on with this guide? Seems like there should be some payouts after several days, even for just partial shares, but nothing.

    Reply
    1. Zach A.
      January 7, 2018

      There is nothing to payout if you have not found a block. Large and/or well-funded mining pools are capable of offering a PPS (pay-per-share) payout model that you may be used to elsewhere. Either they have a large share of hashrate on the network that lowers their variance and/or deep pockets.

      uNOMP utilizes a proportional payout model. Shares are not worth anything until the round is over (block is found). You are then paid out in a proportional manner. I.E. Miner Joe contributed 40% of the shares so he gets 40% of the block reward and Miner Bob contributed 60% of the shares so he gets 60% of the block reward.

      Reply
      1. Newbie Extreme
        January 8, 2018

        zach,

        I am getting valid shares but nothing gets confirmed, and no payouts at the end of any round.

        Reply
        1. lopezi
          January 8, 2018

          This is a “the winner takes it all” pool. You only get rewards if you find a block. In that case, if you are the only one mining on the pool, at the moment, you get 25 LTC. Depending on your hashrate it may take days/weeks/months or at the moment even years. It looks like you are talking about a PPS pool (https://en.wikipedia.org/wiki/Mining_pool#Pay-per-Share). This is not the case.

          Reply
      2. Joseph Doughty, DC
        January 10, 2018

        Zach, I work with a US based cryptomining startup company. We are set up a commercial mining pool and want to cover all our bases as far as software and security. Please reach out to me at bitcoincryptocurrencyblog (at) gmail (.dot) com. We are in need of consulting related services or a referral. Thank you

        Reply
        1. adamparrish (@adamparrish)
          January 23, 2018

          Joseph you may want to consider just having someone do some penetration testing. A solid Linux Systems administrator should be able to secure quite a bit of your operation.

          Reply
  48. Osiris Discordia
    December 29, 2017

    Thank you! Worked like a charm.

    Reply
    1. Koko
      January 11, 2018

      Hi. I have a problem with the installation.
      would you please to share the command ?

      i got the following error

      gyp ERR! build error
      gyp ERR! stack Error: make failed with exit code: 2
      gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:269:23)
      gyp ERR! stack at emitTwo (events.js:87:13)
      gyp ERR! stack at ChildProcess.emit (events.js:172:7)
      gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
      gyp ERR! System Linux 4.4.0-1048-aws
      gyp ERR! command “/usr/bin/nodejs” “/usr/bin/node-gyp” “rebuild”
      gyp ERR! cwd /home/mainantikus/unomp/node_modules/unomp-multi-hashing
      gyp ERR! node -v v4.2.6
      gyp ERR! node-gyp -v v3.0.3
      gyp ERR! not ok

      and

      pm ERR! Linux 4.4.0-1048-aws
      npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “update”
      npm ERR! node v4.2.6
      npm ERR! npm v3.5.2
      npm ERR! code ELIFECYCLE

      npm ERR! [email protected] install: node-gyp rebuild
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the [email protected] install script ‘node-gyp rebuild’.
      npm ERR! Make sure you have the latest version of node.js and npm installed.
      npm ERR! If you do, this is most likely a problem with the unomp-multi-hashing package,
      npm ERR! not with npm itself.
      npm ERR! Tell the author that this fails on your system:
      npm ERR! node-gyp rebuild
      npm ERR! You can get information on how to open an issue for this project with:
      npm ERR! npm bugs unomp-multi-hashing
      npm ERR! Or if that isn’t available, you can get their info via:
      npm ERR! npm owner ls unomp-multi-hashing
      npm ERR! There is likely additional logging output above.

      Reply
      1. Moxx
        January 20, 2018

        uninstall “nvm” and install “n” node version packager:
        sudo npm uninstall nvm
        rm -rf ~/.npm ~/.nvm ~/.bower
        sudo npm install -g n
        n 0.10.25

        now delete incorrect “node_modules” folder inside unomp:
        sudo rm -rf node_modules

        And try again. This worked for me.
        Additionally you can restart machine after removing nvm.

        Reply
      2. J Garcia
        April 3, 2018

        Hi. I got the same error. Did you manage to resolve it? If so, how? Thanks

        Reply
  49. […] Setup Your Own Mining Pool […]

    Reply
  50. Parin
    December 29, 2017

    Can i put ltcaddress.workername in the miner config ? So It will be easier for me to monitored my workers.

    Reply
  51. John Peemer
    December 28, 2017

    Would you please help me – why after installation of the website i do see this:

    UNOMP BETA
    {{=it.selected}}
    {{=it.page}}
    like here

    https://bloohawken.neocities.org/

    Reply
  52. Internet O
    December 28, 2017

    Hi,
    Thank you for the manual.
    I have an issue with the uNOMP installtion.
    After sudo node init.js i got this:

    [2017-12-28 23:27:02.556] [INFO] [default] – Switching Setup Thread 1 Loading last proxy state from redis

    events.js:72
    throw er; // Unhandled ‘error’ event
    ^
    Error: Redis connection to 10.128.0.5:6379 failed – connect ECONNREFUSED
    at errnoException (net.js:901:11)
    at Object.afterConnect [as oncomplete] (net.js:892:19)
    [2017-12-28 23:27:02.571] [ERROR] [default] – Master PoolSpawner Fork 0 died, spawning replacement worker…
    [2017-12-28 23:27:02.854] [INFO] [default] – New Relic

    I am sure one posible reason is that the settings of rpc.. are not , ok, because after
    “You can download a prebuilt version Litecoin here: https://download.litecoin.org/litecoin-0.13.2/linux/litecoin-0.13.2-x86_64-linux-gnu.tar.gz
    there was not option (directory /.litecoin) where i can setup the parameters.

    I’ll appreciate any idea .

    Reply
  53. Joe
    December 27, 2017

    I just wanted to thank you for such a wonderful guide. I follow step by step and I did have lots of problems but because I was running UBUNTU 16 or over. It has to be Ubuntu Server 14.04 x64. I had most of the errors people enter in the comments sections and after 4 hours I gave up and rebuilt to Ubuntu Server 14.04 x64 and everything run smoothly. THANK YOU VERY MUCH!

    Reply
  54. Shasi
    December 26, 2017

    Very2 good info n sharing.. thanks man.. anywhere can i get ur advise or turtiol tu build own mining pool for lbry algo..? Please email me at [email protected]

    Reply
  55. Dominic
    December 19, 2017

    Can someone help me? I don’t know what i’m doing wrong…
    make: *** [Release/obj.target/multihashing/cryptonight.o] Error 1
    make: Leaving directory /home/dominic/unomp/node_modules/merged-pooler/node_modules/unomp-multi-hashing/build'
    gyp ERR! build error
    gyp ERR! stack Error:
    make` failed with exit code: 2
    gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23)
    gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
    gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
    gyp ERR! System Linux 4.4.0-31-generic
    gyp ERR! command “nodejs” “/usr/bin/node-gyp” “rebuild”
    gyp ERR! cwd /home/dominic/unomp/node_modules/merged-pooler/node_modules/unomp-multi-hashing
    gyp ERR! node -v v0.10.25
    gyp ERR! node-gyp -v v0.10.10
    gyp ERR! not ok
    npm WARN This failure might be due to the use of legacy binary “node”
    npm WARN For further explanations, please read
    /usr/share/doc/nodejs/README.Debian

    npm ERR! weird error 1
    npm ERR! not ok code 0

    Reply
    1. Bryce Ritzler
      December 23, 2017

      I have the same error, did you ever end up fixing it?

      Reply
      1. Kendall Denko
        December 27, 2017

        The problem is your not compiling in version 0.10.25 which is required for this to work. While in your /home/dominic/unomp folder you need to use the command “nvm use 0.10.25” Although you inst

        Reply
  56. Simen
    December 17, 2017

    Hi,

    great tutorial. I got everything working it seems, but when I try to connect with a miner I get:

    ./minerd -o stratum+tcp://127.0.0.1:3032 -u NYRXaz4Vhax5a78DuJdnYQ5cjD8gHYwUfW -p x -a sha256d -t 1

    [2017-12-18 02:44:12] Starting Stratum on stratum+tcp://127.0.0.1:3032
    [2017-12-18 02:44:12] 1 miner threads started, using ‘sha256d’ algorithm.
    [2017-12-18 02:44:12] Stratum connection failed: Failed to connect to 127.0.0.1 port 3032: Connection refused
    [2017-12-18 02:44:12] …retry after 30 seconds

    the UNOMP output:
    [2017-12-18 02:54:51.135] [INFO] [default] – New Relic
    [2017-12-18 02:54:51.136] [DEBUG] [default] – NewRelic Monitor New Relic initiated
    [2017-12-18 02:54:51.138] [INFO] [default] – POSIX Not Installed
    [2017-12-18 02:54:51.138] [DEBUG] [default] – POSIX Connection Limit (Safe to ignore) POSIX module not installed and resource (connection) limit was not raised
    [2017-12-18 02:54:51.138] [INFO] [default] – Run Workers
    [2017-12-18 02:54:51.763] [INFO] [default] – New Relic
    [2017-12-18 02:54:51.766] [INFO] [default] – POSIX Not Installed
    [2017-12-18 02:54:51.766] [INFO] [default] – Run Workers
    [2017-12-18 02:54:51.773] [INFO] [default] – Switching Setup Thread 1 Loading last proxy state from redis
    [2017-12-18 02:54:51.783] [DEBUG] [default] – Pool bitcoin Thread 1 Share processing setup with redis (127.0.0.1:6379)
    [2017-12-18 02:54:51.788] [DEBUG] [default] – Pool bitcoin Thread 1 Daemon is still syncing with network (download blockchain) – server will be started once synced
    [2017-12-18 02:54:51.790] [DEBUG] [default] – Pool bitcoin Thread 1 Downloaded NaN% of blockchain from 1 peers
    [2017-12-18 02:54:52.037] [INFO] [default] – New Relic
    [2017-12-18 02:54:52.039] [INFO] [default] – POSIX Not Installed
    [2017-12-18 02:54:52.040] [INFO] [default] – Run Workers
    [2017-12-18 02:54:52.047] [INFO] [default] – Switching Setup Thread 2 Loading last proxy state from redis
    [2017-12-18 02:54:52.053] [DEBUG] [default] – Pool bitcoin Thread 2 Share processing setup with redis (127.0.0.1:6379)
    [2017-12-18 02:54:52.157] [DEBUG] [default] – Master PoolSpawner Spawned 1 pool(s) on 4 thread(s)
    [2017-12-18 02:54:52.285] [INFO] [default] – New Relic
    [2017-12-18 02:54:52.288] [INFO] [default] – POSIX Not Installed
    [2017-12-18 02:54:52.288] [INFO] [default] – Run Workers
    [2017-12-18 02:54:52.295] [INFO] [default] – Switching Setup Thread 3 Loading last proxy state from redis
    [2017-12-18 02:54:52.304] [DEBUG] [default] – Pool bitcoin Thread 3 Share processing setup with redis (127.0.0.1:6379)
    [2017-12-18 02:54:52.536] [INFO] [default] – New Relic
    [2017-12-18 02:54:52.539] [INFO] [default] – POSIX Not Installed
    [2017-12-18 02:54:52.539] [INFO] [default] – Run Workers
    [2017-12-18 02:54:52.546] [INFO] [default] – Switching Setup Thread 4 Loading last proxy state from redis
    [2017-12-18 02:54:52.551] [DEBUG] [default] – Pool bitcoin Thread 4 Share processing setup with redis (127.0.0.1:6379)
    [2017-12-18 02:54:56.795] [DEBUG] [default] – Pool bitcoin Thread 1 Downloaded NaN% of blockchain from 1 peers
    [2017-12-18 02:55:01.145] [DEBUG] [default] – Master CLI CLI listening on port 17117
    [2017-12-18 02:55:01.535] [INFO] [default] – New Relic
    [2017-12-18 02:55:01.535] [INFO] [default] – New Relic
    [2017-12-18 02:55:01.537] [INFO] [default] – POSIX Not Installed
    [2017-12-18 02:55:01.537] [INFO] [default] – POSIX Not Installed
    [2017-12-18 02:55:01.538] [INFO] [default] – Run Workers
    [2017-12-18 02:55:01.538] [INFO] [default] – Run Workers
    [2017-12-18 02:55:01.553] [DEBUG] [default] – Payments bitcoin Payment processing setup to run every 30 second(s) with daemon ([email protected]:41226) and redis (127.0.0.1:6379)
    [2017-12-18 02:55:01.578] [DEBUG] [default] – Website Server Website started on 127.0.0.1:8090
    [2017-12-18 02:55:01.805] [DEBUG] [default] – Pool bitcoin Thread 1 Downloaded NaN% of blockchain from 1 peers
    [2017-12-18 02:55:06.805] [DEBUG] [default] – Pool bitcoin Thread 1 Downloaded NaN% of blockchain from 1 peers

    I’m running an alt coin locally on two computers talking to each other. But the miner should be able to connect to the pool regardless if something is wrong with the underlying bitcoin network, right?

    Reply
    1. Zach A.
      January 7, 2018

      Blockchain is not synced.

      Reply
  57. Pi El
    December 15, 2017
    Reply
  58. Georgie Porgie
    December 12, 2017

    It might be worthwhile to mention you can load in the GUI coin wallet on another box and do json RPC to that and not have to compile the coin daemon in linux? Also you always want to mine to a cold wallet not one on a linux box.

    Reply
    1. Zach A.
      December 13, 2017

      I do appreciate the input. On a production level pool there is a lot of security practices that would need to be in-place to secure your payment processor and mining wallet. This goes above and beyond the scope of this guide, as it is strictly intended for hobby use as stated in the beginning. If I put in steps about using a GUI wallet, there would be readers that would run their json RPC over the public net which is a significantly worst security risk than running it on localhost. It would also increases the invalid and stale share rate.

      Reply
      1. Newbie
        December 27, 2017

        When i try to log into the website it tells me that nothing is available. Can you help with this?

        Reply
      2. Newbie
        December 27, 2017

        How do you check you wallet balance? how do you extract coins from the wallet?

        Reply
  59. Sam Derek
    December 12, 2017

    Bounty reward: I tried to initiate sudo init.js but it’s giving me an error code: module.js 328 (Chris posted the error code on this page). I believe what’s wrong is the node modules, specifically npm and nvm.

    For anyone who can fix this issue, I’ll pay $100 as a bounty reward.

    I’m using Ubuntu 14.04 on Amazon web services.

    [email protected]

    Reply
    1. Johnny
      December 12, 2017

      Do the following again:

      $ cd ~
      $ nvm install 0.10.25
      $ nvm use 0.10.25
      $ nvm alias default 0.10.25

      If you performed the entire installation with an unprivileged user, try not to use sudo:

      $ cd ~/unomp/
      $ npm install posix
      $ npm update
      $ node init.js

      Reply
      1. Filipe Lage
        January 31, 2018

        Great! Thanks! It worked!

        Reply
  60. Muhammad Asad
    December 11, 2017

    Hi I need to setup a goldblocks mining pool can you help. I have an antminer D3.

    Reply
  61. Austin
    December 9, 2017

    I’m able to run ./litecoind and get the response: Litecoin server starting

    But then trying to run this: ./litecoin-cli getinfo

    I’m getting this error:
    error code: -28
    error message:
    Loading block index…

    Any tips? I appreciate your awesome guide, but stuck on this step currently.

    Reply
    1. Austin
      December 9, 2017

      Update: fixed the issue. I was running a disk size of 30GB, which is more than the 20GB this guide recommends, but I assume the minimum file size has changed since this was written. I added 100GB volume to my VPS and that seems to have solved the issue.

      Reply
      1. jojo
        December 13, 2017

        Hi i’ve also changed my size but it’s still saying my old disk size on putty, so i guess it hasnt updated?

        Reply
        1. Zach A.
          December 13, 2017

          You have to manually increase the size of your system’s volume(s) or mount a new one. More than likely the new disk space is allocated but not formatted and mounted in a fashion that could be utilized by your distro. I suggest contacting your hosting provider and seeing if they can assist you with this if you are new to Linux.

          Reply
    2. Björn Plathner
      December 9, 2017

      Type ./litecoind getinfo

      Reply
  62. findyou
    December 7, 2017

    hi,

    can anyone explain me how i can add x11 coins?

    the pool works fine with scrypt coins , but i will add other coins.

    Reply
  63. Chad
    December 4, 2017

    Hi,

    What I should change MaxDiff for current litecoin mining? If I left it as 512, I got a lot of invalid shares, if I put a very large number like current litecoin network difficulty then I will not get any invalid shares. SO my question is, what’s the best MaxDiff value I should set for mining litecoin?

    Reply
    1. Zach A.
      December 5, 2017

      For an Antminer L3+ I’d suggest minDiff 2048 and maxDiff 8192. It is a guesstimate, I haven’t tested it personally.

      Reply
      1. Chad
        December 6, 2017

        Hi Zach, is there any trick here I am missing? I setup the pool successfully, I connected 80 Antminer L3+ miner to the pool, several of them are get invalid share and I run it for days, it seems not find one block. How do i need the pool is working correctly? (my server is strong enough to hold the pool)

        Reply
        1. Zach A.
          December 13, 2017

          There is a lot of things that can generate invalid shares. It may or may not be the pool. Ensure that your latency between your L3+ miners and pool is adequate.

          Reply
      2. Chad
        December 6, 2017

        should I change gen=1 in the conf file for the pool? I think this option is removed, but not sure.

        Reply
        1. Zach A.
          January 7, 2018

          Depends on the crypto-currency you are mining. If the crypto-currency is a hybrid PoW/PoS then you would want Gen=0. If it’s something like Litecoin then you do not need Gen in the .conf at all.

          Reply
      3. Maria
        December 12, 2017

        Hi setting up a pool thnaks for all info, can i tip you ? hashingaway.com european

        Reply
      4. lopezi
        January 7, 2018

        how would be the best way to test if minDiff 2048 and maxDiff 8192 are the right values? thanks for the tutorial

        Reply
  64. ioshacker1
    December 1, 2017

    Hello, how to install uNOMP with zcash or bitcoin gold?

    Reply
    1. Zach A.
      December 13, 2017

      There is a few forks of NOMP/uNOMP on github that support Equihash. I suggest looking them up!

      Reply
  65. Sachin verma
    November 30, 2017

    NPM will run on Ubuntu 14.04x 64 bit

    Reply
  66. Sam Derek
    November 30, 2017

    Hello Zach,

    I tried to initiate sudo npm update, after I created the unomp directory. It gave me this:

    sudo npm update

    gyp ERR! build error
    gyp ERR! stack Error: make failed with exit code: 2
    gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:269:23)
    gyp ERR! stack at emitTwo (events.js:87:13)
    gyp ERR! stack at ChildProcess.emit (events.js:172:7)
    gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
    gyp ERR! System Linux 4.4.0-1041-aws
    gyp ERR! command “/usr/bin/nodejs” “/usr/bin/node-gyp” “rebuild”
    gyp ERR! cwd /home/minerxx/unomp/node_modules/unomp-multi-hashing
    gyp ERR! node -v v4.2.6
    gyp ERR! node-gyp -v v3.0.3
    gyp ERR! not ok
    [email protected] /home/minerxx/unomp
    ├── [email protected] extraneous (git://github.com/n0mad01/node.bittrex.api.git#845d64b3e31131701bc7be19d078ca8cbe2cf3eb)
    └── [email protected] extraneous (git://github.com/sigwo/poloniex.js.git#9f2651b6ab282936cada4814464f3d9251457215)

    npm ERR! Linux 4.4.0-1041-aws
    npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “update”
    npm ERR! node v4.2.6
    npm ERR! npm v3.5.2
    npm ERR! code ELIFECYCLE

    npm ERR! [email protected] install: node-gyp rebuild
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the [email protected] install script ‘node-gyp rebuild’.
    npm ERR! Make sure you have the latest version of node.js and npm installed.
    npm ERR! If you do, this is most likely a problem with the unomp-multi-hashing package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR! node-gyp rebuild
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR! npm bugs unomp-multi-hashing
    npm ERR! Or if that isn’t available, you can get their info via:
    npm ERR! npm owner ls unomp-multi-hashing
    npm ERR! There is likely additional logging output above.

    npm ERR! Please include the following file with any support request:

    npm ERR! There is likely additional logging output above.

    npm ERR! Please include the following file with any support request:
    npm ERR! /home/minerxx/unomp/npm-debug.log
    [email protected]:~/unomp$ node -v
    v0.10.25

    What is the problem? Because, as you can see, I set the node version to 0.10.25

    Reply
    1. d4v3s3v!ll3
      November 30, 2017

      Sam,

      As you can uNOMP is only compatible with Node v0.10.25, though you used this version with NVM, upon running npm update, you can see on the errors that your environment is using Node v4.2.6.

      npm ERR! node v4.2.6

      I’ve had the same issue on my first attempt to follow the procedure. The problem occurs when you run npm update, at some point the execution losing its focus to the environment where your Node v0.10.25 is running. What I did to solve the issue is to completely remove NVM. I used n npm package to install v0.10.25 globally, then placed node and npm binaries to /usr/local/bin replacing the existing binaries. From here, you can remove node_modules directory under uNOMP and run npm update again.

      By the way I’m installing in a Ubuntu 16.04 version since it is more stable than the required 14.04.
      If you are using 14.04 there shouldn’t be a problem.

      Reply
      1. Sam Derek
        November 30, 2017

        Hi, I’m not an expert on this, but I’m a self – learner. Can you show me the code to do the above?

        Reply
  67. d4v3s3v!ll3
    November 29, 2017

    I followed this thread and had successfully setup a mining pool for Litecoin (LTC). The mining pool is still in beta state and currently rolling up test miners to test the server’s capacity. Since pool is running in production state, everybody can join the pool. I’m a new to this and I would like to have a better understanding of how cryptocurrency works.

    LTC mining pool info:

    Stratum Host: klintsh.com
    Stratum IP: 35.188.87.34
    Current Connect Peers: 8
    Network Hash Rate: 43.66 TH
    Stratum Port(s): 3008, 3032, 3256
    Pool Fee Percent: 2.5%
    lock polling every: 1000 ms

    Example
    Mining with cpuminer and linux gpu:

    /usr/local/bin/minerd -o stratum+tcp://35.188.87.34:3032 -a scrypt –user= –pass= > /var/log/minerd.log 2>&1 &

    Reply
    1. Sachin verma
      November 30, 2017

      You will not get any coin or block like the way you are mining …

      You need to be more open in this world.

      Reply
      1. d4v3s3v!ll3
        November 30, 2017

        Hi Sachin,

        Can you please explain what you mean when you said ‘You need to be more open in this world’? I just followed everything this tuts said, so how possible can I not be able to get any coin or block? As I’ve said I’m new to the world of cryptocurrency and I’m learning from time to time so your help would be greatly appreciated 🙂

        Reply
        1. Sachin verma
          November 30, 2017

          I mean to say the pool you have created with the help of this article this will not at all help you to get coins or block … You need to research that how a coin is generating on pool or wallet. For that you need to study Moore stuff apart from this article …

          But I will a secret to you and all the members on this article that everything is possible if you will find the solution.

          My hidden answer is inside my message…

          Best of luck

          Reply
          1. d4v3s3v!ll3
            December 1, 2017

            Well, I did some researching and found out this is not what I was looking for. Thanks to this guide though it made me understand a lot of things about mining and pools.

    2. Sachin verma
      November 30, 2017

      Brother you are wasting your time by running ur miner like this …. Weather you will put whole world hash power you will not get a single coin in your wallet… This article is just a reference to make a pool … This article will not give a single Satoshi even on world’s network Hashrate also…. So don’t waste time and electricity…. Doin mining is very easy but it needs so much skills…. I hope you understand what I am saying…

      Best of luck

      Reply
    3. Mohammed Ahmed
      December 2, 2017

      Hey Mr.d4v3s3v!ll3

      Can I ask you Bro about this Project ?

      Thank you

      Reply
  68. teknick
    November 22, 2017

    Hi, I was very happy to get this up and running with my limited linux knowledge so thanks Zach. I have a couple of questions – how do I configure more than one coin (Litecoin and Dash) and are you aware of whether Litecoin addresses starting in M are supported?

    Reply
  69. ternival Desouza
    November 21, 2017

    Just one question to start I have to Run Windows and Ubuntu to make this work or i can do only with Ubuntu ?

    Reply
  70. nagababu
    November 18, 2017

    Hi.very good resource to start mining pool.I completed this successfully. I’m using bitcoin pool and running bitcoind. But here i don’t know how to communicate with miners. Can you help me?

    Reply
  71. Teguh Dhanu
    November 17, 2017

    Hi Zach,

    very good article, I have 1 question, I already have litecoin address from general wallet, Do I still need to install wallet? How to send the coin directly to other wallet?

    thank you

    Reply
  72. Sachin verma
    November 12, 2017

    Hi Zack,

    Thanks for making this useful article . I made two pool from your article MPOS and UNOMP .
    And in result I am able to do solo mining on my CPU on just 100 khs speed … And somehow in return I am getting 10 litecoin in 15 minutes on an average of 100 khs… and I am mining since last 2 months on my L3+ and in last 2 months with your article I have made 5000 litecoin in my wallet…while doin solo mining

    This is just because of you …

    This is really good article…

    Thanks a lot for making this article..

    Keep it up

    Best regards
    Sachin verma

    Reply
    1. Sandeep
      November 13, 2017

      hi Sachin I am from Delhi…. would you please guide me on the same … I am new to Linux… so need your help

      I will be very thankful

      Reply
      1. Sachin verma
        November 30, 2017

        If you really want to earn money or coins then please go through mining … How mining is doing.. you will get your answer..

        Reply
    2. ternival Desouza
      November 21, 2017

      can i ask you one question I try to this for hobby and i get stack in one thing i have to install windows and Ubuntu? or just Ubuntu?

      Reply
    3. Mohammed Ahmed
      December 2, 2017

      Dear Sachin verma

      Can I ask you Bro about this Project ?

      Thank you

      Reply
  73. findyou
    November 12, 2017

    [email protected]:~/unomp$ sudo npm update
    npm ERR! code 1
    npm ERR! Command failed: /usr/bin/git clone –depth=1 -q -b master git://github.com/UNOMP/node-merged-pool.git /home/findyou/.npm/_cacache/tmp/git-clone-e8ac7386
    npm ERR! /home/findyou/.npm/_cacache/tmp/git-clone-e8ac7386/.git: Permission denied
    npm ERR!

    npm ERR! A complete log of this run can be found in:
    npm ERR! /home/findyou/.npm/_logs/2017-11-12T18_15_11_251Z-debug.log

    ehst can i do to solve this problem?

    Reply
  74. findyou
    November 12, 2017

    [email protected]:~$ cd litecoin/src
    [email protected]:~/litecoin/src$ ./litecoind
    Litecoin server starting
    [email protected]:~/litecoin/src$ ./litecoin-cli getinfo
    error: couldn’t connect to server: unknown (code -1)
    (make sure server is running and you are connecting to the correct RPC port)

    what is the correct rpc port? server is running

    Reply
    1. findyou
      November 12, 2017

      sry , its solved

      Reply
      1. Fred
        November 23, 2017

        could you tell us all how you solved it ?

        Reply
      2. monmoy
        November 6, 2018

        Can u tell me how u have solved “couldn’t connect to server” problem

        Reply
  75. Luca Rinaldi
    October 25, 2017

    Can i create a criptonight pool?

    Reply
  76. Imran
    October 15, 2017

    great article! But I still have the question others how can I add a complete nee coin that is not listed under coins config folder? Or is it not possible? I understand it can’t come with all the coins of the world, but someone with some programming and shell scripting skills can configure it support a coin and algorithm ?

    Reply
  77. Cédric Dufour
    October 13, 2017

    when running “./autogen.sh” I get the followin error “configure: error: libevent not found.” what can I do about this?

    Reply
    1. Cédric Dufour
      October 13, 2017

      that’s after ./configure not ./autogen.sh

      Reply
      1. rob
        January 24, 2018

        you have to do : apt-get install libevent-dev

        Reply
    2. Cédric Dufour
      October 13, 2017

      sudo apt-get install libevent-dev

      this command fixed the problem for me. Just adding the solution just in case someone else would encounter the same problem

      Reply
  78. soundsticks
    October 13, 2017

    The uNOMP development stopped and is now unsupported. What other script can recommend?

    Reply
    1. Sam Derek
      October 16, 2017

      What does that mean? Does the unomp files on the above guide not work anymore?

      Reply
  79. Gregory
    October 10, 2017

    Hi Zach,

    Need some help. Trying tp setup multipool, litecoin, BTC. Run into this error:

    [2017-10-10 14:27:52.547] [ERROR] [default] – Payments bitcoin Error with payment processing daemon {“type”:”offline”,”message”:”connect ECONNREFUSED”}
    [2017-10-10 14:27:52.547] [INFO] [default] – POSIX Not Installed
    [2017-10-10 14:27:52.548] [INFO] [default] – Run Workers
    [2017-10-10 14:27:52.594] [DEBUG] [default] – Website Server Website started on 11.11.1.11:80
    [2017-10-10 14:27:52.637] [ERROR] [default] – Website bitcoin Could not dumpprivkey for bitcoin {“type”:”offline”,”message”:”connect ECONNREFUSED”}
    [2017-10-10 14:27:52.800] [ERROR] [default] – Payments litecoin Unauthorized RPC access – invalid RPC username or password
    [2017-10-10 14:27:52.800] [ERROR] [default] – Payments litecoin Unauthorized RPC access – invalid RPC username or password

    Any help much appreciated. TIA

    Reply
    1. Zach A.
      October 10, 2017

      Error is “Payments litecoin Unauthorized RPC access – invalid RPC username or password”, meaning that the RPC credentials are wrong. Check your config files on both the coin daemon and pool (pool_configs directory).

      Reply
      1. Gregory
        October 11, 2017

        Thanks Zach A. The setup ran fine again, but stumble into another roadblock, port 3008, 3032 and 3256 is not opened anywhere on the server. There’s no iptables or ipchains blocking any port. Other ports are opened 80, 8081, 2300, 9333 etc. Can you point as to where is the config files that I need to troubleshoot.

        Thanks again Zach A.

        Reply
        1. Zach A.
          October 11, 2017

          Ubuntu has UFW installed by default, which can overwrite any iptables rule you implement by hand. You can either disable UFW and set your own iptables rules or just use UFW as intended (which I recommend). Port 2300 should not be open to the public. If the firewall supports Stateful Packet Inspection then you shouldn’t need to have port 9333 open either.

          You’d check those stratum ports in the configs located in pool_configs directory.

          Your issue sounds like a firewall or operating system based issue, and there is a plethora of resources online that can address this. Out of scope of this article, so really can’t do much else for you until you troubleshoot it.

          Reply
          1. Gregory
            October 11, 2017

            Thanks again Zach. Found out ufw is disabled, so it’s not firewall issue:

            [email protected]:~# sudo ufw status verbose
            Status: inactive

            The pool is having problem when I looked into the log:

            [39mPool bitcoin Thread 4 Could not start pool, error with init batch RPC call: {“type”:”offline”,”message”:”connect ECONNREFUSED”}
            [36m[2017-10-12 11:41:30.751] [DEBUG] [default] – [39mPool bitcoin Thread 4 Share processing setup with redis (127.0.0.1:6379)
            [36m[2017-10-12 11:41:39.054] [DEBUG] [default] -[39mMaster CLI CLI listening on port 17117
            [32m[2017-10-12 11:41:39.986] [INFO] [default] -[39mNew Relic
            [32m[2017-10-12 11:41:39.989] [INFO] [default] -[39mPOSIX Not Installed[32m[2017-10-12 11:41:39.989] [INFO] [default] -[39mRun Workers
            [31m[2017-10-12 11:41:39.998] [ERROR] [default] -[39mPayments bitcoin Error with payment processing daemon {“type”:”offline”,”message”:”connect ECONNREFUSED”}
            [32m[2017-10-12 11:41:40.225] [INFO] [default] -[39mNew Relic
            [32m[2017-10-12 11:41:40.233] [INFO] [default] -[39mPOSIX Not Installed
            [32m[2017-10-12 11:41:40.234] [INFO] [default] -[39mRun Workers
            [36m[2017-10-12 11:41:40.344] [DEBUG] [default] -[39mWebsite Server Website started on 104.251.214.162:80
            [31m[2017-10-12 11:41:40.448] [ERROR] [default] -[39mWebsite bitcoin Could not dumpprivkey for bitcoin {“type”:”offline”,”message”:”connect ECONNREFUSED”}
            ~
            maybe a problem with the bitcoin daemon config. Will update if I find the solution.. If you have any hints, much appreciated.

  80. Buckey
    October 9, 2017

    Which version of Ubuntu do you recommend?

    Reply
    1. Zach A.
      October 9, 2017

      The guide calls for Ubuntu 14.04 LTS, but I have ran uNOMP on 16.04 LTS with no issues. It could work on another version, but I have no clue. Generally speaking, it’s good to use an LTS release.

      Reply
  81. Sam Derek
    October 8, 2017

    Great article Zach. I’m relatively new to this, and yet I’ve used your guide from the beginning and I can say its effective so far. I’m in the last process of setting up a mining pool. When I run

    sudo node init.js

    It gives me the following error:

    events.js:72
    throw er; // Unhandled ‘error’ event
    ^
    Error: bind EADDRNOTAVAIL
    at errnoException (net.js:901:11)
    at net.js:1069:30
    at Object.3:1 (cluster.js:592:5)
    at handleResponse (cluster.js:171:41)
    at respond (cluster.js:192:5)
    at handleMessage (cluster.js:202:5)
    at process.EventEmitter.emit (events.js:117:20)
    at handleMessage (child_process.js:318:10)
    at Pipe.channel.onread (child_process.js:345:11)
    [2017-10-08 08:17:23.904] [ERROR] [default] – Master Website Website process died, spawning replacement…

    It says master website died, spawning replacement and keeps on loading again and again. What did I do wrong?

    Reply
    1. Zach A.
      October 8, 2017

      This is your issue “bind EADDRNOTAVAIL”

      Check the config.json in the main unomp directory and go to website and check what the IP is for “host”. By default it should be 0.0.0.0 meaning it would bind to every interface available. Also change the port setting to “8081” as Ubuntu is restrictive when it comes to binding to port 80.

      If you have another instance of uNOMP running already it would cause this issue as well.

      If you are trying to set it to a specific IP, then you would have to make sure that it’s actually available to your operating system by typing “ifconfig” and seeing what is available.

      Could also be a firewall issue, but that is above and beyond the scope of this article and I can’t really assist you with that as there are too many variables.

      Reply
      1. Sam Derek
        October 8, 2017

        I change the host to 0.0.0.0 and the port. It gave me this:

        [email protected]:~/unomp$ sudo node init.js
        [sudo] password for minerxx01:
        [2017-10-08 16:24:40.197] [INFO] [default] – New Relic
        [2017-10-08 16:24:40.199] [DEBUG] [default] – NewRelic Monitor New Relic initiated
        [2017-10-08 16:2jh4:40.201] [INFO] [default] – POSIX Not Installed
        [2017-10-08 16:24:40.201] [DEBUG] [default] – POSIX Connection Limit (Safe to ignore) POSIX module not installed and resource (connection) limit was not raised
        [2017-10-08 16:24:40.201] [INFO] [default] – [39mRun Workers
        [2017-10-08 16:24:40.458] [DEBUG] [default] – Master PoolSpawner Spawned 1 pool(s) on 1 thread(s)
        [2017-10-08 16:24:40.852] [INFO] [default] – New Relic
        [2017-10-08 16:24:40.856] [INFO] [default] – POSIX Not Installed
        [2017-10-08 16:24:40.856] [INFO] [default] – Run Workers
        [2017-10-08 16:24:40.865] [INFO] [default] – Switching Setup Thread 1 Loading last proxy state from redis
        [2017-10-08 16:24:40.873] [DEBUG] [default] – Pool litecoin Thread 1 Could not start pool, error with init batch RPC call: {“type”:”offline”,”message”:”connect ECONNREFUSED”}
        [2017-10-08 16:24:40.d875] [DEBUG] [default] – Pool litecoin Thread 1 Share processing setup with redis (127.0.0.1:[2017-10-08 16:24:50.212] [DEBUG] [default] – Master CLI CLI listening on port 17117
        [2017-10-08 16:24:51.031] [INFO] [default] – New Relic
        [2017-10-08 16:24:51.032] [INFO] [default] – New Relic
        [2017-10-08 16:24:51.038] [INFO] [default] – POSIX Not Installed
        [2017-10-08 16:24:51.039] [INFO] [default] – Run Workers
        [2017-10-08 16:24:51.038] [INFO] [default] – POSIX Not Installed
        [2017-10-08 16:24:51.039] [INFO] [default] – Run Workers
        [2017-10-08 16:24:51.060] [ERROR] [default] – Payments litecoin Error with payment processing daemon {“type”:”offline”,”message”:”connect ECONNREFUSED”}
        [2017-10-08 16:24:51.100] [DEBUG] [default] – Website Server Website started on 0.0.0.0:8081
        [2017-10-08 16:24:51.142] [ERROR] [default] – Website litecoin Could not dumpprivkey for litecoin {“type”:”offline”,”message”:”connect ECONNREFUSED”}

        Reply
        1. Zach A.
          October 8, 2017

          All that is stating is that uNOMP cannot connect to the litecoin daemon. Check all your configs (litecoin.json in uNOMP and litecoin.conf in .litecoin).

          I noticed your using AWS judging by that hostname. If you happen to be locating the daemon on another EC2 instance, you need to make sure your in the same VPC. If your doing everything on the same machine then disregard.

          Reply
        2. Diaa
          November 7, 2017

          you did not create the litecoin.conf in the .litecoin folder you have created it in the litecoin
          make sure to create it in this path “~/.litecoin”

          Reply
      2. Aaron
        February 8, 2018

        This was my exact problem. Setting host to 0.0.0.0 fixed it. I was using Google Compute Engine as my VPS host and they have internal IP’s that are different from what you see externally. I don’t think the VPS actually knows its external IP.

        Reply
        1. Ana
          February 26, 2018

          Hi. When I do this to solve the same issue that Aaron had I can open my uNOMP pool on 0.0.0.0:8081… I don’t know if this is good. Can I mine there? Why doesn’t it show the VPS IP provided by the service I hired? How can I know it is even connected there?
          I am a total noob at this. Thank you for any advice. I will be trying to mine on this very weird address though

          Reply
  82. Sam Derek
    October 4, 2017

    Hi zack,

    I tried to create .litecoin directory by revoking the command ./litecoind

    However, nothing happens: just blank. I’ve to press CTRL C, neither does it create the .litecoin directory

    Reply
    1. Sam Derek
      October 5, 2017

      Update:

      I got the problem. ./litecoin directory was formed, but didn’t show up in winscp. So, I typed the folder address (in winscp):
      /username/.litecoin

      It was there the whole time. It took me 2 days to figure out!

      Reply
      1. Zach A.
        October 6, 2017

        There is also a setting in WinSCP to show hidden files/folders, for future reference.

        Reply
        1. Sam Derek
          October 8, 2017

          Dully noted

          Reply
      2. rpgheros
        January 12, 2018

        Here is a link to how to “unhide” the file:
        https://winscp.net/eng/docs/ui_pref_panels

        Reply
        1. Sam Derek
          January 13, 2018

          Thank you, @rpgheros. I appreciate it!

          Reply
  83. Vu
    September 29, 2017

    Do you have installation service? I want to set up my own pool. But knowledge is a limitation. Thank you

    Reply
  84. Sero
    September 27, 2017

    Hello if i make ( node init.js or sudo node init.js) i get this

    module.js:435
    return process.dlopen(module, path._makeLong(filename));
    ^

    Error: Module did not self-register.
    at Error (native)
    at Object.Module._extensions..node (module.js:435:18)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    at new require (internal/module.js:12:17)
    at Object. (/root/unomp/node_modules/bignum/index.js:4:14)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)

    could some one Help pleas?

    Reply
    1. Zach A.
      September 27, 2017

      Ensure that you are on the correct version of node.js (0.10.25), to do so type “node -v”. If not then type “nvm install 0.10.25”. Clone a new uNOMP directory and try running the npm update/install commands and starting it. While I can’t say this will work for everyone, a majority of the time I have witnessed people attempting to use a later version of node.js which is not compatible with several of uNOMP’s modules listed in the package.json.

      Reply
    2. Waesk
      October 16, 2017

      Hi Sero,

      Did you manage to fix this error?

      I am at the exact same point as you and am getting the same error.

      I have 0.10.25 running.

      Thanks!

      Reply
  85. Gà Rừng
    September 23, 2017

    next: sudo ./configure
    –> configure: error: libdb_cxx headers missing, Litecoin Core requires this library for wallet functionality (–disable-wallet to disable wallet functionality)
    next: sudo make
    –> make: *** No targets specified and no makefile found. Stop.

    Reply
    1. Zach A.
      September 27, 2017

      You can download and run the official litecoind that’s already been built instead of building it yourself. Just head over to the official litecoin website.

      Reply
      1. Sam Derek
        October 5, 2017

        What’s the code to do that?

        Reply
          1. Internet O
            December 28, 2017

            Hi,
            I did install wget https://download.litecoin.org/litecoin-0.14.2/linux/litecoin-0.14.2-x86_64-linux-gnu.tar.gz
            But after that i got only 2 directories – share and bin
            And I dont see how i can get settings changed (rpcuser, rpcpass etc.) and dont see ./litecoin directory. What do i miss?
            Thanks

  86. Juan
    September 22, 2017

    hi, who i can use m7m algo?

    Reply
    1. Zach A.
      September 27, 2017

      The node-multihashing module that uNOMP interfaces with does not support m7m.

      Reply
  87. sachin verma
    September 13, 2017

    hi Zach

    I have created my mining pool from this article and all is good but the problem is my payout is not showing in wallet balance. since 5 days i am just running my miner in a hope that my balance will update . but it is not updating on my admin panel but on the other hand i have created one user account too . on user account balance is updating.

    i am mining with a scrypt miner .

    i dont know weather the block is found or not.

    is this pool works on solo mining pool or something else?

    my wallet is synced ok.
    cron job is ok
    stratum is working fine.

    now can you please tel me who i can see balance and when the balance will update?

    Best Regards

    sachin

    Reply
    1. Zach A.
      September 27, 2017

      Check litecoind’s default wallet for any transactions. If you found a block it would be in there. “./litecoin-cli listtransactions”. Your balance will not update until you have actually found a block and it has matured (120 confirmations).

      Reply
      1. Sachin verma
        September 27, 2017

        Hi Zack,
        Thanks for your reply,

        Finding a block is based on luck or on some practical calculation?

        Regards

        Reply
        1. Zach A.
          September 27, 2017

          The correct term is variance, although there is no official “pool mining dictionary” so it’s more of a term that I like to use. Some pools like to publish this figure as luck to simplify things for their miners.

          I suggest checking your hashrate against network difficulty. Make sure that it is viable for you to mine on your own pool, assuming that you are solo-mining.

          Reply
          1. Sachin verma
            September 27, 2017

            Hi,

            I have seen lots of pool made on UNOMP .they don’t even have hashpower to find a block but still they are finding . Those pool are made up by people like us . And I have seen them finding blocks even on 1450000 of accepted shares of litecoin. And this pool person had 4 blocks of litecoin on his pool with the Hashrate of 1.25 MH/s.

            I made same pool and my pool has accepted more that 2500000 of litecoin valid shares . But I was not awarded by single Satoshi. And I have 550 mh/s

            What’s is this monopoly?

            Should I say this luck or something else like technique in codings …

            Regards

      2. sachin verma
        September 27, 2017

        [2017-09-27 17:30:32.908] [INFO] [default] – Payments litecoin addressAccount:
        [2017-09-27 17:30:32.908] [INFO] [default] – Payments litecoin
        [2017-09-27 17:30:32.908] [INFO] [default] – Payments litecoin addressAmounts:
        [2017-09-27 17:30:32.908] [INFO] [default] – Payments litecoin {}
        [2017-09-27 17:30:32.908] [DEBUG] [default] – Payments litecoin Finished interval – time spent: 60030ms total, 2ms redis, 8ms daemon RPC
        [2017-09-27 17:30:52.930] [INFO] [default] – Payments litecoin addressAccount:
        [2017-09-27 17:30:52.931] [INFO] [default] – Payments litecoin
        [2017-09-27 17:30:52.931] [INFO] [default] – Payments litecoin addressAmounts:
        [2017-09-27 17:30:52.931] [INFO] [default] – Payments litecoin {}
        [2017-09-27 17:30:52.941] [DEBUG] [default] – Payments litecoin Finished interval – time spent: 60039ms total, 3ms redis, 9ms daemon RPC
        [2017-09-27 17:31:12.938] [INFO] [default] – Payments litecoin addressAccount:
        [2017-09-27 17:31:12.939] [INFO] [default] – Payments litecoin
        [2017-09-27 17:31:12.941] [INFO] [default] – Payments litecoin addressAmounts:
        [2017-09-27 17:31:12.945] [INFO] [default] – Payments litecoin {}
        [2017-09-27 17:31:12.947] [DEBUG] [default] – Payments litecoin Finished interval – time spent: 60037ms total, 2ms redis, 8ms daemon RPC
        [2017-09-27 17:31:13.001] [DEBUG] [default] – Pool litecoin Thread 1 No new blocks for 55 seconds – updating transactions & rebroadcasting work
        [2017-09-27 17:31:32.939] [INFO] [default] – Payments litecoin addressAccount:
        [2017-09-27 17:31:32.943] [INFO] [default] – Payments litecoin
        [2017-09-27 17:31:32.946] [INFO] [default] – Payments litecoin addressAmounts:
        [2017-09-27 17:31:32.947] [INFO] [default] – Payments litecoin {}
        [2017-09-27 17:31:32.947] [DEBUG] [default] – Payments litecoin Finished interval – time spent: 60037ms total, 3ms redis, 3ms daemon RPC
        [2017-09-27 17:31:40.941] [DEBUG] [default] – Pool litecoin Thread 1 Share accepted at diff 32/115.14525427 by Lfsb2QHcHeeVroQVY9Kg7V9oFhRhEx4pwR [67.205.159.193]
        [2017-09-27 17:31:52.947] [INFO] [default] – Payments litecoin addressAccount:
        [2017-09-27 17:31:52.949] [INFO] [default] – Payments litecoin
        [2017-09-27 17:31:52.949] [INFO] [default] – Payments litecoin addressAmounts:
        [2017-09-27 17:31:52.949] [INFO] [default] – Payments litecoin {}
        [2017-09-27 17:31:52.950] [DEBUG] [default] – Payments litecoin Finished interval – time spent: 60021ms total, 11ms redis, 13ms daemon RPC
        [2017-09-27 17:32:08.023] [DEBUG] [default] – Pool litecoin Thread 1 No new blocks for 55 seconds – updating transactions & rebroadcasting work
        [2017-09-27 17:32:12.979] [INFO] [default] – Payments litecoin addressAccount:
        [2017-09-27 17:32:12.980] [INFO] [default] – Payments litecoin

        this is the issue i am facing with . my pool is accepting shares but ADDRESS ACCOUNT & ADDRESS AMOUNT is updating .

        is this any network connectivity issue?

        Reply
        1. Zach A.
          September 27, 2017

          uNOMP will not have any coins to process for payment if the pool has not found any blocks recently. It’s not a magic money printing machine.

          Valid Shares ≠ Guaranteed Payment. At least with uNOMP, because it’s a proportional based reward system.

          Reply
        2. Johnny
          December 9, 2017

          Hi, you could solve this: …”Pool litecoin Thread 1 No new blocks for 55…”

          Reply
          1. Sachin verma
            December 9, 2017

            Hi Johnny .

            I didn’t get you what you want to say?

        3. Johnny
          December 10, 2017

          Hi. I have a pool in production, for more than a week and I still get this message: Pool litecoin Thread 1 No new blocks for 55 seconds – updating transactions & rebroadcasting work

          Reply
          1. Sachin verma
            December 10, 2017

            Sorry sir.

            With the help of this article nobody in this world will get a single Satoshi…

            In this article there are some loop hole and so many things which is hidden… This article can make profit to the writer . No one else..

            Sorry for my words band comment but this is truth .

            You can see in this article there is a person who has put his 80 antminer L3+ for almost couple of days .. but he didn’t get a single Satoshi..

            So I would suggest follow this article as a guide but not for profit…

            God bless

          2. Chad
            December 10, 2017

            It’s not that fast. At first, I thought it does not working, but after few days, I have successfully mined 1 LTC, so I guess as long as you have enough hash power, you will get some luck. And I am not sure why Sachin keep saying follow this guild cannot get a single coin? no idea.

          3. Sachin verma
            December 10, 2017

            That’s good you have mined 1 litecoin in few days .. conngratulation…

            If you will see my old comment with ZACK the writer of this pool … He has clearly said that till the time you will not find a block you will not get coins… And here you are saying that in few days you have mined 1LTC … Either you are joking or you have understand the missing things in this article.

            I have found some missing things in this article so I changed it and made my mining successful on my A4 Dominator…

            I am happily mining with those changes which writer of this article never shared…

            This pool can give you block not single coin… So don’t misguide people ..

            According to me this article will never give you a single coin

            And if you have mined 1LTC then why don’t you share your experience…

            All people who is creating their pool with help of this article they will be sure as you are.

            Please don’t mind my words my friend..

            Happy mining

          4. Chad
            December 10, 2017

            Sorry, I do mean 1 block, not 1 LTC, just typo. I am not sure what is the missing thing you talking about, if you are saying the profit goes to the write of the article, I did change the reward address, other things I have changed is the config file of the litecoin. other then that most of the things I have follow this article, I did mined 25 ltc.

          5. Sachin verma
            December 10, 2017

            If you have mined 1 block then I would congratulate you ..

            Keep on mining

            Happy mining..

          6. Sachin verma
            December 10, 2017

            And I am mining direct on blockchain with the help of this article…and my dominator A4 is giving me much better performance ..

            And I just took reference from this article..

          7. Chad
            December 10, 2017

            hm….I am not sure, if you have a better solution why do not help other people here by share it? I think people come to here just want seeking for help. Anyway, all i know this pool is working, it just maybe do not have better performance as yous, because you know some secret technique other people do not know.

          8. Johnny
            May 1, 2018

            Ready, with the procedure explained here the pool is in production, Thank you very much. https://pool.onixcoin.com

        4. Johnny
          December 10, 2017

          Thank you very much. Amen.

          But what have been the changes that have made this article and how could you solve all those gaps that you comment here.

          Thanks again. God bless you

          Reply
  88. Ben Miller
    August 26, 2017

    You need to add this as the 3rd required package, or the bitcoin repository will not install:

    apt-get install software-properties-common python-software-properties

    Reply
  89. Eugene
    August 23, 2017

    For those who have an error sudo make

    Install first: apt-get install libevent-dev
    next: sudo ./configure
    than: sudo make

    Reply
    1. Gà Rừng
      September 23, 2017

      next: sudo ./configure
      –> configure: error: libdb_cxx headers missing, Litecoin Core requires this library for wallet functionality (–disable-wallet to disable wallet functionality)
      next: sudo make
      –> make: *** No targets specified and no makefile found. Stop.

      Reply
  90. Huynh Nhan
    August 10, 2017

    How about information of worker to connect this pool ? I can’t see it in your instruction.

    Reply
  91. Huynh Nhan
    August 10, 2017

    How about the information of worker to connect this mining pool ? I can’t find it in your instruction.

    Reply
  92. Andrew Henson
    August 7, 2017

    Hello, Great document, could you also consider doinh a document on securing the pool server to prevent unauthorised access. Also what measures we can put in place to avoid ddos attacks.
    Finally, trouble shooting issues with the pool. Things are great when they are working, but when the front end states an error the downtime is expensive.

    Thanks

    Andrew

    Reply
  93. oynak21
    July 26, 2017

    Bropls make me a ethereum mining pool and i will give your my first money that i make

    Reply
  94. Ian Duncan
    July 22, 2017

    Hello When get to this point,

    Now let’s compile litecoin.

    cd litecoin
    sudo ./autogen.sh
    sudo ./configure
    sudo make <————————-
    sudo make install

    i get the following:

    make: *** No targets specified and no makefile found. Stop.

    why is that?

    Reply
    1. leon
      August 9, 2017

      Type this first :

      Install first: apt-get install libevent-dev

      Than “sudo make”

      Reply
      1. leon
        August 9, 2017

        apt-get install libevent-dev <– so this command first

        Reply
  95. Jesus
    July 21, 2017

    Hello Zach.
    I followed the guide and it seems that everything works fine, (I have not tried the miner), in Kubuntu 14.04 in VirtualBox machine.
    The currency and pool settings seem to be clear, but how do I install the keccak core (for example)?

    I’m very interested in Yiimp, I tried to install it but it never worked for me … do you know any tutorial or do you plan to make one?

    Thank you very much for sharing your knowledge.

    Reply
  96. Max
    July 17, 2017

    Hello Zach.

    I’ve been able to get most of the tutorial in. I’m having trouble with the wallet. 9333 you say is a requirement but I’m having issues with my wallet getting updated from work I do (300,000,000 shares). Where do we set this? Telnet shows this port is open; I assume it’s set in the litecoin daemon possibly hardcoded.

    With the MPOS up are you sure we want to set paymentProcessing to false? Was unsure on it. Ok.

    Thanks,

    Max Rupplin

    Reply
  97. doraemon
    June 25, 2017

    Doraemon
    Hello Zach,
    Thanks for good useful articles.
    I have a plan to build a pool server which could be connected at least more than 30 ASIC machines.
    So I have a few questions.
    Q1.
    How many ASIC machines could be connected this UNOMP pool server ?
    Q2. How spec is needed for pool server machine ?
    I prepared for a machine for this purpose.
    This spec is
    CPU:2*SixCore Xeon X5650 @2.66GHz
    Memory:96GB
    Is this machine spec enough for this purpose?
    Please answer this questions.

    Reply
  98. Dave
    June 24, 2017

    Hello Zach,

    Thanks for this great tutorial. I haven’t been able to get it runing successfully unfortunately. Do you offer consultation to setup a pool? I have a vultr account, and would like to mine an x-11 coin. thanks,Dave

    Reply
  99. Bobby
    June 17, 2017

    Hey Zach, I need help with the getnewaddress

    Im making a pool for a coin called electro.
    When I do the command getnewaddress
    ./electro-cli getnewaddress
    It says there is no such folder.
    Can you please Help?

    Reply
    1. Zach A.
      July 16, 2017

      Make sure you are in the correct directory. I also have no experience with that specific coin your trying to setup, so make sure to follow up with their documentation as well.

      Reply
  100. john smith
    June 16, 2017

    when i run:
    sudo ./autogen.sh

    then eror:
    Can’t exec “aclocal”: No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
    autoreconf: failed to run aclocal: No such file or directory

    Reply
    1. Xenu
      July 16, 2017

      sudo apt-get install automake
      sudo apt-get install autoconf

      Reply
    2. Zach A.
      July 16, 2017

      You can also download pre-built litecoind from https://litecoin.org/#download if you don’t want to go through the hassle of building it yourself from the source.

      Reply
  101. Shobi
    June 16, 2017

    Is there a scryp multi pool guide?

    Reply
    1. Zach A.
      July 16, 2017

      No, but you can check out YIIMP: https://github.com/tpruvot/yiimp

      Reply
  102. liu
    May 27, 2017

    First of all very grateful, I use your guide to build a successful pool, but the operation I found a lot of coins are the following problems:
    “Payments obamacare Not enough funds to cover the tx fees for sending out payments, decreasing rewards by 10.999999999999998% and retrying”

    The effect is that coins are not enough to pay. I think it is not the reason for the fee, because the gap is ten times huge, to several times, and will be dug before but has stopped mining address continue to pay coins.
    There are a lot of coins that have the same problem. Do I have a problem with the setting of a place?

    Reply
    1. Zach A.
      October 6, 2017

      The pool wallet needs some extra funds in it for transaction fees. I suggest sending some coins directly to your pool wallet to cover these transaction fees. You shouldn’t need to send a lot, as most altcoin transaction fees are rather low.

      Reply
  103. makkotech
    May 25, 2017

    Woooww this guide is awesome, I believe this is the best compilation on the internet about how to create your own pool. Congrats

    Ok, I have a couple questions, I have my own bitcoin full node working properly, I follow all your instructions using bitcoin.

    My first question:
    1- I have the same user and pssw configuration inside of my bitcoin.conf and bitconf.json files but every time that I run the init.js i receive this message:

    :~/unomp# node init.js
    [2017-05-25 19:44:12.952] [INFO] [default] – New Relic
    [2017-05-25 19:44:12.955] [DEBUG] [default] – NewRelic Monitor New Relic initiated
    [2017-05-25 19:44:12.957] [INFO] [default] – POSIX Not Installed
    [2017-05-25 19:44:12.957] [DEBUG] [default] – POSIX Connection Limit (Safe to ignore) POSIX module not installed and resource (connection) limit was not raised
    [2017-05-25 19:44:12.958] [INFO] [default] – Run Workers
    [2017-05-25 19:44:13.219] [DEBUG] [default] – Master PoolSpawner Spawned 1 pool(s) on 1 thread(s)
    [2017-05-25 19:44:13.902] [INFO] [default] – New Relic
    [2017-05-25 19:44:13.907] [INFO] [default] – POSIX Not Installed
    [2017-05-25 19:44:13.908] [INFO] [default] – Run Workers
    [2017-05-25 19:44:13.921] [INFO] [default] – Switching Setup Thread 1 Loading last proxy state from redis
    [2017-05-25 19:44:13.933] [DEBUG] [default] – Pool bitcoin Thread 1 Share processing setup with redis (127.0.0.1:6379)
    [2017-05-25 19:44:14.179] [DEBUG] [default] – Pool bitcoin Thread 1 Unauthorized RPC access – invalid RPC username or password
    [2017-05-25 19:44:22.973] [DEBUG] [default] – Master CLI CLI listening on port 17117
    [2017-05-25 19:44:24.396] [INFO] [default] – New Relic
    [2017-05-25 19:44:24.404] [INFO] [default] – POSIX Not Installed
    [2017-05-25 19:44:24.405] [INFO] [default] – Run Workers
    [2017-05-25 19:44:24.411] [INFO] [default] – New Relic
    [2017-05-25 19:44:24.420] [INFO] [default] – POSIX Not Installed
    [2017-05-25 19:44:24.421] [INFO] [default] – Run Workers
    [2017-05-25 19:44:24.489] [DEBUG] [default] – Website Server Website started on xxx.xx.xx.xxx:80
    [2017-05-25 19:44:24.700] [ERROR] [default] – Payments bitcoin Unauthorized RPC access – invalid RPC username or password
    [2017-05-25 19:44:24.702] [ERROR] [default] – Payments bitcoin Unauthorized RPC access – invalid RPC username or password
    [2017-05-25 19:44:24.785] [ERROR] [default] – Website bitcoin Unauthorized RPC access – invalid RPC username or password

    My second question:
    2- Should I change inside the bitcoin.conf file the “rewardRecipients” address by default and use mine ???

    I am running all this on VPS ubuntu 16.04 it’s Awesome, almost there almost there, my miners are starving for work, can you help me with this last step. thank you in advance.

    Reply
    1. Sam Derek
      October 5, 2017

      good question on number 2: shall we change the “rewardRecipients” address to our own address (in the litecoin.conf file or bitcoin.conf file, if your mining bitcoins? because it seems like if we get a block of reward, it’s going to a different address.

      Reply
      1. Zach A.
        October 6, 2017

        The rewardRecipients is the address and where the pool fee goes and percentage. Yes, you would want to change it to your own.

        The block reward itself goes to the pool’s wallet. Which is located in the same .litecoin directory listed in this guide.

        Reply
  104. Niels
    May 21, 2017

    Help me! I don’t get the “Litecoin server started” piece of text when starting litecoin and when I use litecoin getinfo i a “Server not found” kind of error.

    Reply
    1. Niels
      May 21, 2017

      * I get a “Server not found” kind of error.

      Reply
  105. bjarne
    April 25, 2017

    I am trying to use the updated blockgen-multi-hashing module on Ubuntu 17.04 with node.js version 6.9.4 installed using nvm. The module seems to crash right after hashing.
    I am using this script for testing:

    var multiHashing = require(‘blockgen-multi-hashing’);
    console.log(multiHashing.c11(new Buffer(20)));

    Here is the log of the error: https://pastebin.com/U2p5tC5N

    (I also get the error when using UNOMP).

    Reply
    1. Max
      July 16, 2017

      I believe you would post your versions of:

      node
      nvm
      npm

      There is a big pitfall in the nvm –> node and many will find this error or something similar. I’m led to believe this will be a version compatibility issue.

      Reply
  106. ola
    April 19, 2017

    [2017-04-19 11:38:35.935] [DEBUG] [default] – Pool litecoin Thread 1 could not update auxillary chains: [object Object]

    Hi , find your tutorial very nice and thanks for writing and posting it , I have followed the post to the letter
    until it worked , let it running over night and I start getting this errors the site is working (not really updating)
    I tiried sudo update in the unomp directory and ran sudo node init.js and this keep happening and help please

    /home/coinboner/unomp/node_modules/merged-pooler/lib/jobManager.js:122
    var pos = util.getAuxMerklePosition(auxData[i].chainid, size);
    ^
    TypeError: Cannot read property ‘chainid’ of undefined
    at buildMerkleTree (/home/coinboner/unomp/node_modules/merged-pooler/lib/jobManager.js:122:63)
    at JobManager.processTemplate (/home/coinboner/unomp/node_modules/merged-pooler/lib/jobManager.js:186:29)
    at /home/coinboner/unomp/node_modules/merged-pooler/lib/pool.js:722:69
    at itemFinished (/home/coinboner/unomp/node_modules/merged-pooler/lib/daemon.js:156:36)
    at /home/coinboner/unomp/node_modules/merged-pooler/lib/daemon.js:169:17
    at parseJson (/home/coinboner/unomp/node_modules/merged-pooler/lib/daemon.js:85:17)
    at IncomingMessage. (/home/coinboner/unomp/node_modules/merged-pooler/lib/daemon.js:95:17)
    at IncomingMessage.EventEmitter.emit (events.js:117:20)
    at _stream_readable.js:920:16
    at process._tickCallback (node.js:415:13)

    Reply
  107. yogg
    April 16, 2017

    Hello Zach,
    Many thanks for the great guide ! I got my first pool running thanks to you. 🙂

    Can you tell me if NIST5 is supported by uNOMP ?
    I tried to setup a pool for some NIST5 coin, but seems like the miner can’t mine..

    Also, I have found this : https://github.com/UNOMP/node-merged-pool

    This says it supports merged-mining, and a lot of coin algorithms, but I don’t see it mentioned in your guide. What would be the steps to replace the current stratum server with this one in a pool build exactly by your guide ?

    Many thanks for your time !
    Cheers,
    yogg

    Reply
    1. Zach A.
      July 16, 2017

      uNOMP utilizes node-merged-pool already: https://github.com/UNOMP/unified-node-open-mining-portal/blob/master/package.json

      I believe NIST5 is supported, but the pool software is outdated. May not support the specifics of your coin.

      Reply
      1. Jahanzaib Khan
        October 5, 2017

        Hello @Zach A, I will give you a small donation please can you give me all commands for Ubuntu 16-04. I am getting many errors on npm update. Please donation will be for your hardwork done already.
        thanks

        Reply
  108. Dan
    April 10, 2017

    Can you make any profit from running your own pool? What are the benefits?

    Reply
  109. dave
    March 24, 2017

    thank working on the first shoot amazing

    Reply
  110. Mars YWH
    March 13, 2017

    Have any one encount this error message, Pool litecoin Thread 4 Could not parse rpc data from daemon instance 0, after executing “node init.js”

    Reply
    1. Zach A.
      March 23, 2017

      uNOMP is not able to communicate with your Litecoin daemon. Check the connection details in the json file for Litecoin under pool_configs.

      Reply
  111. Andrew Henson
    February 26, 2017

    Security – Can you give some tips / guidance on locking down the pool server to prevent it from being accessed by a third party.

    Reply
    1. Bryan
      February 26, 2017

      Search and you will find. Theres a post about it on this site 🙂

      https://blockgen.net/basic-hardening-and-security-for-your-pool/

      Reply
  112. Andrew Henson
    February 26, 2017

    Hello, the example pool link is not working. Can you check and update it please.

    Reply
    1. Bryan
      February 26, 2017

      Theres a hundred and one sites using this script. Just look for UNOMP Pools.
      theminingpool
      findblocks
      etc…

      Reply
  113. Karizma
    February 26, 2017

    Upon starting NOMp i have 100 % CPU usage. Is there any way to mange the number of the threads for use?
    Thank you

    Reply
  114. Bryan
    February 25, 2017

    Awesome Awesome Write up! I got through everything using an AWS instance. I am however stuck at one spot and its the very last step.

    sudo node init.js

    I am able to connect to the coin and gives me all the network information. It continues right through the payment addresses.

    Then it throws an error:

    events.js:72
    throw er; // Unhandled ‘error’ event
    ^
    Error: bind EADDRNOTAVAIL
    at errnoException (net.js:901:11)
    at net.js:1069:30
    at Object.3:1 (cluster.js:592:5)
    at handleResponse (cluster.js:171:41)
    at respond (cluster.js:192:5)
    at handleMessage (cluster.js:202:5)
    at process.EventEmitter.emit (events.js:117:20)
    at handleMessage (child_process.js:318:10)
    at Pipe.channel.onread (child_process.js:345:11)

    Any thoughts on this?

    Thank you very much in advance!

    Reply
    1. Bryan
      February 26, 2017

      Oh and I should also mention that from what I’ve looked up, EADDRNOTAVAIL means the port is being used somewhere, However, this is a fresh aws instance. I only have one coin set up and I have tried a couple different ports for this coin. Nothing else is running.

      Thanks

      Reply
      1. Bryan
        February 26, 2017

        Ok – Further investigation.

        I did the following command:
        fuser 9090/tcp

        That gave me the processID:
        9090/tcp: 1048

        After using the command ps -e, I see that the coin is using the process.

        So, Now I am questioning some of the setup for obvious reasons. Above the port is the same in all config files. Is it supposed to be different?

        I’ll continue trying. Just wanted to post my findings incase anyone has any thoughts.
        Thanks

        Reply
        1. Joseph Johnson
          May 9, 2017

          Anyone want to reply about this? i am having this same issue.

          Reply
          1. Sam Derek
            October 5, 2017

            have you guys found the issue? I’m having the same issue

        2. Sam Derek
          October 5, 2017

          Have you guys found the solution? because I’m having the same problem.

          Reply
          1. Carlos Santiago
            October 22, 2017

            I am having the same issue on AWS. It looks like no solution has been posted here.

          2. Carlos Santiago
            October 22, 2017

            I found the fix. On these steps use your AWS private IP address, not the public IP address:

            Navigate to /home/username/unomp
            Right click on config.json and select edit
            Find “website”:
            Underneath website, find “host”: and change the “0.0.0.0”, to your VPS IP
            Save It!

  115. DoublePlusGood
    February 13, 2017

    Very good guide .. the best I have read

    Reply
  116. DoublePlusGood
    February 13, 2017

    Best guide I have seen. I had to adapt things, but I spawned a pool. Thanks.

    Reply
  117. teo
    February 13, 2017

    Hi, zach, I would like to ask you how to use merged mining in unomp, as I believe:

    1. the demons of each scrypt coin must be created with a different port
    2. you must choose a main and a secondary
    3. the configuration must be done in the configuration file of the pool in the directory: cd unomp / pool_configs
    for example:

    Litecoin.json

    As described in the following example ?:

    {
        “Enabled”: false,
        “Coin”: “litecoin.json”,

        “Auxes”: [// Defines auxillery coins
            {
                “Coin”: “lottoshares.json”,
                “Daemons”: [// It is reccomended to supply multiple daemons here for redundancy
                    {
                        “Host”: “127.0.0.1”,
                        “Port”: 23327,
                        “User”: “lottosharesrpc”,
                        “Password”: “By66dCmyX44uUbA7P3qqXJQeT3Ywd8dZ4dJdfgxCAxbg”
                    }
                ]
            }
        ],
        “Address”: “n4jSe18kZMCdGcZqaYprShXW6EH1wivUK1”,

        “RewardRecipients”: {
            “N37vuNFkXfk15uFnGoVyHZ6PYQxppD3QqK”: 1.5,
            “22851477d63a085dbc2398c8430af1c09e7343f6”: 0.1
        },

        “PaymentProcessing”: {
            “Enabled”: true,
            “PaymentInterval”: 600,
            “MinimumPayment”: 9999999999,
            “Daemon”: {
                “Host”: “127.0.0.1”,
                “Port”: 19332,
                “User”: “testuser”,
                “Password”: “testpass”
            }
        },

        “Ports”: {
            “3008”: {
                “Diff”: 8
            },
            “3032”: {
                “Diff”: 32,
                “VarDiff”: {
                    “MinDiff”: 8,
                    “MaxDiff”: 512,
                    “TargetTime”: 15,
                    “RetargetTime”: 90,
                    “VariancePercent”: 30
                }
            },
            “3256”: {
                “Diff”: 256
            }
        },

        “Daemon”: [
            {
                “Host”: “127.0.0.1”,
                “Port”: 19332,
                “User”: “testuser”,
                “Password”: “testpass”
            }
        ],

        “P2p”: {
            “Enabled”: false,
            “Host”: “127.0.0.1”,
            “Port”: 19333,
            “DisableTransactions”: false
        },

        “MposMode”: {
            “Enabled”: false,
            “Host”: “127.0.0.1”,
            “Port”: 3306,
            “User”: “me”,
            “Password”: “mypass”,
            “Database”: “ltc”,
            “CheckPassword”: false,
            “AutoCreateWorker”: false
        }

    }

    4. the demon of the second coin must go in auxes? The port should be: 23327? Or can I choose another? I have done the configuration here but I get an error
    When the swimming pool starts

    Cd unomp
    Sudo node init.js

    I get the following:

    [2017-02-13 22: 57: 20.286] [INFO] [default] – POSIX Not Installed
    [2017-02-13 22: 57: 20,287] [INFO] [default] – Run Workers
    [2017-02-13 22: 57: 20.289] [ERROR] [default] – Master PoolSpawner Fork 4 died, spawning replacement worker …
    [2017-02-13 22: 57: 20,304] [INFO] [default] – Switching Setup Thread 4 Loading last proxy state from redis
    [2017-02-13 22: 57: 20.321] [DEBUG] [default] – Pool gamecredits Thread 4 Share processing setup with redis (127.0.0.1:6379)
    [2017-02-13 22: 57: 20.332] [DEBUG] [default] – Pool gamecredits Thread 4 getauxblock call failed for daemon instance 0 with error {“code”: 32601, “message”: “Method not found”}
    [2017-02-13 22: 57: 20.333] [DEBUG] [default] – Pool gamecredits Thread 4 could not update auxillary chains: [object Object]
    [2017-02-13 22: 57: 20.334] [DEBUG] [default] – Pool gamecredits Thread 4 getauxblock call failed for daemon instance 0 with error {“code”: 32601, “message”: “Method not found”}

    /root/unomp/node_modules/merged-pooler/lib/jobManager.js:122
                    Var pos = util.getAuxMerklePosition (auxData [i] .chainid, size);
                                                                  ^
    TypeError: Can not read property ‘chainid’ of undefined
        At buildMerkleTree (/root/unomp/node_modules/merged-pooler/lib/jobManager.js:122:63)
        At JobManager.processTemplate (/root/unomp/node_modules/merged-pooler/lib/jobManager.js:186:29)
        At /root/unomp/node_modules/merged-pooler/lib/pool.js:722:69
        At itemFinished (/root/unomp/node_modules/merged-pooler/lib/daemon.js:156:36)
        At /root/unomp/node_modules/merged-pooler/lib/daemon.js:169:17
        At parseJson (/root/unomp/node_modules/merged-pooler/lib/daemon.js:85:17)
        At IncomingMessage. (/root/unomp/node_modules/merged-pooler/lib/daemon.js:95:17)
        At IncomingMessage.EventEmitter.emit (events.js: 117: 20)
        At _stream_readable.js: 920: 16
        At process._tickCallback (node.js: 415: 13)

    I do not know if I need to configure something else, if I should configure it in:
    / Root / unomp / node_modules / merged-pooler
    the file
    Example.js

    And if you have to configure it as?

    I appreciate your response

    Reply
  118. Yuki
    February 11, 2017

    Hello,
    On github page of uNOMP project it says: Development stopped and is now unsupported.
    Should I still using this pool software to build my own pool?
    thanks

    Reply
  119. Alex Cho
    February 4, 2017

    I got the thing working. Thank you. However, I have a problem with my website. So after putting in my public ip, and starting, it said
    Master Website Website process died, spawning replacement…
    So, I thought that it might be because my isp(Rogers) blocks the port 80. So, I tried with many other ports, and forwarded them to my machine. However, it keeps getting that error, and the only way to fix it is to use a local IP. However, then only the devices connected to my network will be able to see it, and there will be no point of hosting a website that nobody can see. What’s the problem and how can I fix it?

    Reply
    1. Zach Smith
      February 4, 2017

      Alex,

      You probably have an issue with the firewall on your home network. There is a plethora of information out there on the topic of router firewalls, and I will not cover it here as it’s way out of scope for this guide. You could also rent a VPS with a reputable provider if you want more reliable access to your pool outside of your home network, I actually wrote a guide on this: https://blockgen.net/the-right-vps-for-your-mining-pool/

      Reply
  120. Denys
    February 1, 2017

    Hello, thank you a lot for a nice man
    I have strange issue, maybe you could able to help me?
    I have tun pool, have connect worker to it. but all the time i have
    [2017-02-01 19:37:16.092] [DEBUG] [default] – Pool * Thread 2 Connected timed out for S8XnEF8PxwJ4FjKa35Fa9sEAaxGwFR53iP [192.168.0.114]: last submitted a share was 610 seconds ago
    [2017-02-01 19:37:16.092] [DEBUG] [default] – Pool * Thread 2 Connected timed out for S8XnEF8PxwJ4FjKa35Fa9sEAaxGwFR53iP [192.168.0.134]: last submitted a share was 606 seconds ago
    [2017-02-01 19:37:16.096] [DEBUG] [default] – Pool * Thread 1 Authorized S8XnEF8PxwJ4FjKa35Fa9sEAaxGwFR53iP:password [192.168.0.134]
    [2017-02-01 19:37:16.096] [DEBUG] [default] – Pool * Thread 2 Authorized S8XnEF8PxwJ4FjKa35Fa9sEAaxGwFR53iP:q [192.168.0.114]

    And on website, i don’t see any workers – just 0
    it is x13 algorithm

    Reply
    1. Zach Smith
      February 4, 2017

      You need to increase the connection timeout setting in the config.json

      Your difficulty may also be too high for your hashrate. You may want to use a lower number on the port you are mining on. With X13 I am fairly certain you may need to change the difficulty to something very low like 0.05

      Reply
  121. akbar
    February 1, 2017

    what is the comman to fix it. thanks my broo

    Fixing libtool for -rpath problems.

    error running sudo ./configure

    Reply
  122. hp247
    January 30, 2017

    Excellent guide. I do have once confusion though – as a pool operator do I need to run my miner on the VPS or elsewhere? should I need to run any miner at all, assuming I have other users who are mining?

    Reply
    1. Zach Smith
      February 4, 2017

      You do not need to have a miner if you are running just a pool, the pool works independently. That being said, it’s sort of useless to have a pool if you are not mining on it. It will not mine any coins sitting idle. Your miner does not have to be in the same location as the pool unless you are keeping everything on your local network.

      Reply
  123. sumit
    January 19, 2017

    can you you tell me which system it use and how to change it in this guide its not mention

    PPS or PPLNS

    Reply
    1. Zach Smith
      January 26, 2017

      uNOMP is proportional. You cannot change the payout method.

      Reply
  124. Alex Cho
    January 16, 2017

    When I type sudo node init.js I got this:
    module.js:328
    throw err;
    ^

    Error: Cannot find module ‘merged-pooler’
    at Function.Module._resolveFilename (module.js:326:15)
    at Function.Module._load (module.js:277:25)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at Object. (/home/alex/unomp/libs/poolWorker.js:1:77)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)

    Which is the same error someone else got. So I check if I was using nvm 0.10.25. I was. But it still showed me the error. What do I do?

    Reply
    1. Zach Smith
      January 16, 2017

      Your problem is this “Error: Cannot find module ‘merged-pooler’”

      Seems like when you issued the command “npm update” it did not download that module. You should try running “npm update” once again. Sometimes the public npm registry has intermittent issues and is not able to download all the required modules.

      Reply
      1. Alex Cho
        January 21, 2017

        When I typed sudo npm update, I get this error.

        /usr/include/nodejs/deps/v8/include/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate*’
        multihashing.target.mk:147: recipe for target ‘Release/obj.target/multihashing/multihashing.o’ failed
        make: *** [Release/obj.target/multihashing/multihashing.o] Error 1
        make: Leaving directory ‘/home/alex/unomp/node_modules/unomp-multi-hashing/build’
        gyp ERR! build error
        gyp ERR! stack Error: make failed with exit code: 2
        gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:269:23)
        gyp ERR! stack at emitTwo (events.js:87:13)
        gyp ERR! stack at ChildProcess.emit (events.js:172:7)
        gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
        gyp ERR! System Linux 4.4.0-31-generic
        gyp ERR! command “/usr/bin/nodejs” “/usr/bin/node-gyp” “rebuild”
        gyp ERR! cwd /home/alex/unomp/node_modules/unomp-multi-hashing
        gyp ERR! node -v v4.2.6
        gyp ERR! node-gyp -v v3.0.3
        gyp ERR! not ok
        unified-node-open-mini[email protected] /home/alex/unomp
        ├── [email protected] extraneous (git://github.com/sigwo/node-cryptopia.git#475c2b27f82e7f59bf43f6b58605f515e1bb9e9e)
        └── [email protected] extraneous (git://github.com/sigwo/poloniex.js.git#9f2651b6ab282936cada4814464f3d9251457215)

        npm ERR! Linux 4.4.0-31-generic
        npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “update”
        npm ERR! node v4.2.6
        npm ERR! npm v3.5.2
        npm ERR! code ELIFECYCLE

        npm ERR! [email protected] install: node-gyp rebuild
        npm ERR! Exit status 1
        npm ERR!
        npm ERR! Failed at the [email protected] install script ‘node-gyp rebuild’.
        npm ERR! Make sure you have the latest version of node.js and npm installed.
        npm ERR! If you do, this is most likely a problem with the unomp-multi-hashing package,
        npm ERR! not with npm itself.
        npm ERR! Tell the author that this fails on your system:
        npm ERR! node-gyp rebuild
        npm ERR! You can get information on how to open an issue for this project with:
        npm ERR! npm bugs unomp-multi-hashing
        npm ERR! Or if that isn’t available, you can get their info via:
        npm ERR! npm owner ls unomp-multi-hashing
        npm ERR! There is likely additional logging output above.

        npm ERR! Please include the following file with any support request:
        npm ERR! /home/alex/unomp/npm-debug.log

        Sorry for the very long error message but that isn’t even the whole error message.

        Reply
        1. Zach Smith
          January 26, 2017

          Looks like you are trying to use Node v4.2.6. uNOMP is only compatible with Node.js 0.10.25 unfortunately. You need to delete the node_modules directory, and use NVM (mentioned in the guide) to set the node version to 0.10.25. Then issue npm update and you should get the right modules.

          Reply
          1. kane
            October 17, 2017

            Hey Zach,

            I am having the exact same error as above. I have version 0.10.25 installed and selected. I have done what you have suggested above but still getting same error.

            Do you have any other suggestions.

            Cheers,

            Kane

          2. Sam Derek
            November 30, 2017

            Hello Zach,

            How do you do that? How do you install nvm on root and user?

          3. Aurimas Karosas
            December 17, 2017

            makes no difference – still the same error

  125. Alex Cho
    January 15, 2017

    Is it okay to use a virtual machine instead of a VPS?

    Reply
    1. Zach Smith
      January 16, 2017

      Yes, it is fine to use your own Virtual Machine instead of a hosted VPS.

      Reply
  126. Alex Cho
    January 14, 2017

    When I type sudo make or sudo make install, I get this error. “make: *** No target is specified and no makefile found. Stop.”. I made sure I did everything previous to that right. Also, I am not doing this on a VPS, but rather a virtual machine. Does that have to do with anything?

    Reply
    1. Zach Smith
      January 15, 2017

      You can download a prebuilt version Litecoin here: https://download.litecoin.org/litecoin-0.13.2/linux/litecoin-0.13.2-x86_64-linux-gnu.tar.gz

      Commands:

      cd

      wget https://download.litecoin.org/litecoin-0.13.2/linux/litecoin-0.13.2-x86_64-linux-gnu.tar.gz

      tar -xzf litecoin*

      cd litecoin*

      cd bin

      ls

      After issuing “ls” you will see that litecoind and litecoin-cli are in the bin directory. You can either run the daemon from there, create a symlink somewhere of your choosing or even copy them over to another directory.

      I do need to update the guide regarding this, however some other altcoins still need to be built and do not come in a handy tar.gz file like Bitcoin or Litecoin.

      Reply
      1. seneca
        May 14, 2017

        I’m getting
        @ubuntu-1gb-nyc1-01:~$ tar -xzf litecoin*
        tar (child): litecoin: Cannot read: Is a directory
        tar (child): At beginning of tape, quitting now
        tar (child): Error is not recoverable: exiting now

        gzip: stdin: unexpected end of file
        tar: Child returned status 2
        tar: Error is not recoverable: exiting now

        I’ve tried to use the makefile way as well and I’ve tried to do it with other coins with no success. Advice would be appreciated.

        Reply
  127. sumit
    January 13, 2017

    Si i get this erorr when i try to pass this command ” sudo node init.js ” do you know what is iisue

    Error: bind EACCES
    at errnoException (net.js:901:11)
    at net.js:1069:30
    at Object.30:1 (cluster.js:592:5)
    at handleResponse (cluster.js:171:41)
    at respond (cluster.js:192:5)
    at handleMessage (cluster.js:202:5)
    at process.EventEmitter.emit (events.js:117:20)
    at processEmit [as emit] (/home/pooladmin/unomp/node_modules/merged-pooler/node_modules/bignum/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/signal-exit/index.js:155:32)
    at handleMessage (child_process.js:318:10)
    at Pipe.channel.onread (child_process.js:345:11)
    [2017-01-13 15:27:36.461] [ERROR] [default] – Master Website Website process died, spawning replacement…

    Reply
  128. Jeff Shuffleton
    January 10, 2017

    During the lite coin installation, at the Sudo Make I get the following error “No targets specified and no makefile found” Any thoughts how to get past this?

    Reply
    1. ijduncan
      July 22, 2017

      i have the same issue. Did you find a solution?

      Reply
      1. coinpicker
        July 26, 2017

        you should run make under root directory..

        Reply
  129. Jeff Shuffleton
    January 9, 2017

    New to this whole thing and loving it! When I get to sudo make I get “no targets specified and no make file found. Stop. ls shows Makefile.am and Makefile.in. Thoughts what might cause this?

    Reply
    1. lee
      January 9, 2017

      Stoneboy, near the very beginning of the comments, at the bottom, resolved this and it worked perfectly for me don’t forget to go down to his post and give him a thumbsup :):

      stoneboy

      Install first: apt-get install libevent-dev

      Than “sudo make”

      if you on bitcoin source….

      Donte

      Reply
  130. ahmad
    January 9, 2017

    i want to instal monero pool can i get the steps to install it

    Reply
  131. Lee
    January 7, 2017

    “cd src
    ./litecoind
    You will get a message stating there is no configuration file, and they suggest such and such rpc user/pass.”

    I do not get anything after ./litecoind I don’t even get a cursor. it just hangs up until I hit ctrl-c

    Tried rebooting and starting completely over and still same result.

    Thank you for such an incredibly detailed tutorial. Any suggestions on what I might be doing wrong?

    Reply
    1. Zach Smith
      January 8, 2017

      Lee,

      After running litecoind, a directy called .litecoin should of been created in your user’s home directory irregardless if you got that message or not. To see the .litecoin directory, simply input the command “ls -f” while in your user’s home directory.

      Reply
      1. lee
        January 8, 2017

        Thank you for responding Zach, and for devoting your time to teaching others to do something like this.

        I did as you said and it is not there. I am going to start completely from scratch and create a new VM. I will update you if I get the same result. I have no doubt this operator error on my part.

        Reply
        1. Sam Derek
          October 5, 2017

          I had the same problem lee. Do this: after you’ve run ./litecoind (I’m guessing it’s just going to keep running without an output)

          press ctrl c to opt out of the process (Now, when I ran the ./litecoind command, it didn’t create the folder .litecoin. However, it hid it. )
          open winscp
          login to your user
          click the toolbar on top that show your current folder path
          type /yourusername/./litecoin

          The files should appear

          Reply
          1. Sam Derek
            October 6, 2017

            correction /yourusername/.litecoin

      2. Lee
        January 8, 2017

        I started over creating a new vm, Ubuntu 14.04 both the desktop and again the server versions. exact same result, after entering ./litecoind nothing happens.
        No directory is created.

        I took 2 pictures, one of the terminal after an ls command showing the litecoind file and the litecoind command. the second pic is of the winscp showing there is no .litecoind directory in my home directory.

        I am using virtual box and Ubuntu 14 on a dell R510 server with 32gb of ram. Is there anything I can try or follow? I really want to learn how to do this. I have 11 antminers from s5’s and up, and 22 computers I would like to get running on my personal pool.

        I can email the pics or upload or anything that would help you help me 🙂

        thanks Zack

        Reply
        1. leon
          August 9, 2017

          i have the same problem .. nothing happens and nothing gets created anywhere

          Reply
  132. teo
    January 2, 2017

    Hello, again zack, I want to know if one is compatible with the algorithm X13? It would be great to explain how to add other currencies and algorithms that are not supported

    Reply
    1. Zach Smith
      January 2, 2017

      X13 is supported by uNOMP. You just need to find a coin in the coins directory that also uses X13 and mimic it, obviously changing the appropriate details.

      Adding new Algorithms requires programming knowledge unfortunately.

      Reply
  133. teo
    December 29, 2016

    Hi, how about zack will work unomp with Boolberry, is algorithm Actually this is a hybrid keccak (that we called wild keccak)

    Reply
  134. samar
    December 27, 2016

    how to use this for 3 or 4 coin? can you help me?

    Reply
    1. Zach Smith
      January 2, 2017

      Every enabled json file in pool_configs directory will create another pool instance.

      Reply
  135. teo
    December 21, 2016

    Zack thanks for the guide, I managed to start a pool, but I have a drawback and is that the website, I do not get it to appear with my IP in the browser, how can I do?

    Reply
    1. Zach Smith
      December 27, 2016

      There is many reasons for this. If you are using Ubuntu 16.04 for example, it will not let you assign port 80 from a NodeJS app. It is best if you use a nginx reverse proxy to point at uNOMP that is on a different port from 80.

      Reply
  136. CJ Calhoun
    December 21, 2016

    Zach, could you assist us with Zcash support for UNOMP (not NOMP)? I have UNOMP installed and it works. Tested by using a few coins. We were trying to implement this with Zcash only and experiencing issues such as “Payments zcash Daemon does not own pool address – payment processing can not be done with this daemon, {“isvalid”:false}” and “Website zcash Could not dumpprivkey for zcash {“code”:-3,”message”:”Address does not refer to a key”}”. Not for sure how to continue with this. Please let me know if you are available in some way. Thank you very much.

    Reply
    1. Zach Smith
      December 27, 2016

      You need to modify the code of uNOMP to support Zcash unfortunately. The Equihash Algorithm is currently unsupported.

      Reply
  137. teo
    December 20, 2016

    Hi, you could tell me if I can add an altcoin that has a new algorithm called: 1GB AES Pattern Search, I installed the erc daemon on my dedicated server, when I start the pool it tells me that I have no poxi installed, besides that I think that the altcoin is solved by adding the file: erc.js to the folder that says coins, but I have those two difficulties, I do not know where the currency is configured if it is there where I said, and the installation of poxi.

    Reply
    1. Zach Smith
      December 27, 2016

      1GB AES Pattern Search is currently unsupported by uNOMP.

      Reply
  138. teo
    December 20, 2016

    hello Zach Smith, I have performed all the steps, I installed the daemon for europecoin (erc) which is a coin based on hold has that algorithm, and tried to start the pool and I get the following error:

    [2016-12-20 16:10:42.700] [ERROR] [default] – Master Website Website process died, spawning replacement…
    [2016-12-20 16:10:45.237] [INFO] [default] – New Relic
    [2016-12-20 16:10:45.241] [INFO] [default] – POSIX Not Installed
    [2016-12-20 16:10:45.242] [INFO] [default] – Run Workers

    My question is which files do I have to edit so that the pool is compatible with europecoin that has some hint: “hodl”, I also want to know where I set up my domain? Because I am in a dedicated server, and I have a domain assigning to the public IP of the server, but I do not have the administration panel, for this, only in the site where I register the domain

    I appreciate your help for this, I am new to linux, and late two days to get install the demon of europecoin and also walked the pool but with the above mentioned error.

    Also I hope you can indicate where I have to put the currency setting to mine, in this case: europecoin, algorithm: hodl, symbol: erc.

    I also want to know in which port stratum would be for the pool, how to configure it?
    And with that link see from my internet pool?

    Thank you. Sorry

    Reply
    1. Zach Smith
      December 27, 2016

      uNOMP will not work with Europecoin’s Algorithm.

      Reply
  139. Mohamed Ashraf
    December 19, 2016

    hi zach 🙂

    thanks for this great tutorial

    when i type ” sudo node init.js ” i get this

    module.js:328
    throw err;
    ^
    Error: Cannot find module ‘merged-pooler’
    at Function.Module._resolveFilename (module.js:326:15)
    at Function.Module._load (module.js:277:25)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at Object. (/home/sha256/unomp/libs/poolWorker.js:1:77)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    [email protected]:~/unomp$ Error: Cannot find module ‘merged-pooler’module.js:328

    then i type ” apt-get install node ” trying to solve the error above.
    but now when i type ” sudo node init.js ” i got no thing o.O
    i did type ” npm update ”
    i did edit package.json just like what they said in github
    mmm.. i dont know what should i do now
    any tips ?

    Reply
    1. Zach Smith
      December 27, 2016

      Make sure you are using Node 0.10.25

      “nvm use 0.10.25”

      If you don’t have nvm (it was in this guide!), you can get the latest version here: https://github.com/creationix/nvm

      Reply
      1. Sam Derek
        December 8, 2017

        Where do you install nvm? is it in root or user?

        Reply
  140. Keith Robnett
    December 1, 2016

    Zach are you still around?

    Reply
    1. Zach Smith
      December 13, 2016

      Yes, I am still around.

      Reply
      1. Alex Villalta
        December 25, 2016

        Hey Zach, Does this work in a 32 bit server ???

        Reply
  141. chris
    November 13, 2016

    [email protected]:~/unomp$ sudo node init.js
    module.js:328
    throw err;
    ^

    Error: Cannot find module ‘merged-pooler’
    at Function.Module._resolveFilename (module.js:326:15)
    at Function.Module._load (module.js:277:25)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at Object. (/home/sha256/unomp/libs/poolWorker.js:1:77)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    [email protected]:~/unomp$ Error: Cannot find module ‘merged-pooler’module.js:328

    Reply
    1. Zach Smith
      December 13, 2016

      Try again without using sudo, just “node init.js”

      Reply
  142. chris
    November 13, 2016

    hello. i have the daemon setup on ubuntu, conf file configured. How can i solo mine against this without setting up UNOMP with 10 S7 rigs over my network?

    daemon=1
    server=1
    gen=0
    rpcuser=myuser
    rpcpassword=mypass
    rpcallowip=127.0.0.1
    rpcport=8332
    listen=1

    Reply
    1. Zach Smith
      December 13, 2016

      There are a plethora of well written solo mining guides available elsewhere. I suggest that you find one related to your currency of choice.

      Reply
  143. Raphael
    October 21, 2016

    Hi Zach, i already have a mining pool but now i want to make it accessible through a css/ html website. Can you help?

    Reply
  144. Andrew Henson
    October 15, 2016

    Thanks for a great tutorial, could you do another tutorial on how to secure your site from hackers please.

    Reply
    1. Zach Smith
      December 13, 2016

      Andrew, after a long hiatus I am going to continue writing some more guides and tutorials. I will definitely keep your suggestion in mind.

      Reply
  145. jamie durdin
    October 13, 2016

    Hi Zack,
    I have a pool for btc and ltc with merged mining nmc and dge in the background.
    I had my programming guy service it and update everything but since doing that somehow something has eiteher been updated or downloaded onto my unbuntu system which is now slowing the server down which is stopping the miners from running and they disconnect. Would you have any idea on how to find out whats gone wrong? If i can find out I could message back with more informatoin?

    The trouble is I’m getting charged everytime with my programmer and its only been a week since he last “fixed it”

    If you could help that would be great

    Reply
  146. Urs
    October 6, 2016

    Hey Zack, like many said: great guide. Nothing compares. I did get caught trying to login through winSCP as root. Trying to do that I get an “access denied”.
    I looked around and found that you probably need to open up the server to accept root login, but I could not figure out how. Thanks for your assistance.

    Reply
    1. rpgheros
      January 12, 2018

      I was have the same issue!! I know this is a year later but i wanted to post on here so others don’t give up if tehy run into the same problems we did:

      Simply adding a password for root is not enough for Ubuntu 14.04 Server.

      You also need to edit /etc/ssh/sshd_config, and comment out the following line:

      PermitRootLogin without-password
      Just below it, add the following line:

      PermitRootLogin yes
      Then restart SSH:

      service ssh restart

      Reply
  147. Dusares
    September 20, 2016

    HI Mark,

    By Dash you mean the DASH with X11 algo? if so, then the error ECONNREFUSED indicates that the pool node is trying to connect to the DASH daemon, and the connection is refused, I think you better check the rpcport & the rpcusername and rpcpassword. (match the pool config with the dashcoin dash.conf)

    Reply
  148. Mark
    September 20, 2016

    Hi Zach,

    Hi guys,

    Can you help me please? I’m having a problem when I starting the mining pool for dashcoin. Here’s the error I’m getting:

    [2016-09-20 11:27:48.124] [DEBUG] [default] – Pool dash Thread 2 Share processing setup with redis (127.0.0.1:6379)
    [2016-09-20 11:27:57.046] [DEBUG] [default] – Master CLI CLI listening on port 17117
    [2016-09-20 11:27:57.645] [INFO] [default] – New Relic
    [2016-09-20 11:27:57.649] [INFO] [default] – POSIX Not Installed
    [2016-09-20 11:27:57.649] [INFO] [default] – Run Workers
    [2016-09-20 11:27:57.659] [INFO] [default] – New Relic
    [2016-09-20 11:27:57.662] [INFO] [default] – POSIX Not Installed
    [2016-09-20 11:27:57.662] [INFO] [default] – Run Workers

    **[2016-09-20 11:27:57.677] [ERROR] [default]** – Payments dash Error with payment processing daemon {“type”:”offline”,”message”:”connect ECONNREFUSED”}
    [2016-09-20 11:27:57.713] [DEBUG] [default] – Website Server Website started on 45.32.51.56:80
    **[2016-09-20 11:27:57.780] [ERROR] [default]** – Website dash Could not dumpprivkey for dash {“type”:”offline”,”message”:”connect ECONNREFUSED”}

    Any help will be appreciated! Thank you!

    Best Regards,
    Mark
    Sigway Higgs

    Reply
  149. Mark
    September 20, 2016

    Hi Zach,

    First of all, what a great tutorial for creating a mining pool. Superb work!! You’ve earned another subscriber here. Thank you. I have a question, can I able to add another currency to the UNOMP mining pool that I created from this tutorial? Right now, the currency available on the mining pool is just litecoin. I want to add ‘dashcoin’ to the pool as well if that’s possible. Here’s the mining pool
    http://45.32.51.56/

    Thank you very much, Zach. You’re a lifesaver!

    Best Regards,
    Mark G

    Reply
  150. Mark
    September 19, 2016

    Hi Zach,

    First of all, what a great tutorial for creating a mining pool. Superb work!! You’ve earned another subscriber here. Thank you. I got problem though. I have a question, can I able to add another currency to the UNOMP mining pool that I created from this tutorial? Right now, the currency available on my mining pool is just litecoin. I want to add dashcoin to the pool as well if that’s possible. Here’s the mining pool

    Thank you very much, Zach. You’re a lifesaver!

    Best Regards,
    Mark G

    Reply
  151. Eugene
    January 31, 2016

    Hi Zach I trying set up mining pool for peercoin. Compiled the wallet and I am stuck here:

    cd
    cd unomp/pool_configs
    cp litecoin.json.example litecoin.json

    Please could you help me ?

    Reply
    1. Eugene
      January 31, 2016

      Sorry

      cd
      cd unomp/pool_configs
      cp peercoin.json.example peercoin.json

      Reply
      1. Zach Smith
        January 31, 2016

        That is because peercoin.json.example does not exist, you need to make a peercoin.json yourself. You can use the litecoin.json.example for reference and build off of that, keep in mind that peercoin uses SHA-256 for it’s hashing algorithm.

        Reply
        1. jamie
          October 19, 2016

          Hi Zack,

          I’m following your guide and im stuck on the ./litecoind

          the system is saying not such directory, both sudo make & sudo make install reported errors i didn’t understand.

          is there anything you would suggest?

          Reply
  152. azekriel
    January 18, 2016

    Litecoin server starting
    [email protected]:~/litecoin/src$ Error: Unable to bind to 0.0.0.0:9333 on this computer. Litecoin Core is probably already running.
    Error: Failed to listen on any port. Use -listen=0 if you want this.

    I get this error when doing ./litecoind. Killall litecoind won’t help at all as there’s no such process running so it’s not “already running” how to fix this?

    Reply
    1. Zach Smith
      January 18, 2016

      Looks like port 9333 is already being utilized by something else. Whether it is another litecoin daemon or not does not matter.

      Did you follow the example litecoin.conf in this guide?

      Reply
      1. Aze
        January 18, 2016

        Yes I did follow it

        Reply
        1. Zach Smith
          January 18, 2016

          Reboot ubuntu completely and try starting the litecoin daemon again.

          Reply
          1. Aze
            January 18, 2016

            No change.. same error.

          2. Aze
            January 19, 2016

            Managed to fix it.. That port just wasn’t open in firewall.

          3. Aze
            January 19, 2016

            But ran into another problem with command:
            “sudo npm update”

            error is:

            npm ERR! Error: ENOENT, lstat ‘/home/aze/.npm/node.bittrex.api/0.2.2/package/cry ptopia.js’
            npm ERR! If you need help, you may report this log at:
            npm ERR!
            npm ERR! or email it to:
            npm ERR!

            npm ERR! System Linux 3.13.0-71-generic
            npm ERR! command “/usr/bin/nodejs” “/usr/bin/npm” “update”
            npm ERR! cwd /home/aze/unomp
            npm ERR! node -v v0.10.25
            npm ERR! npm -v 1.3.10
            npm ERR! path /home/aze/.npm/node.bittrex.api/0.2.2/package/cryptopia.js
            npm ERR! fstream_path /home/aze/.npm/node.bittrex.api/0.2.2/package/cryptopia.js
            npm ERR! fstream_type File
            npm ERR! fstream_class FileWriter
            npm ERR! code ENOENT
            npm ERR! errno 34
            npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
            npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
            npm ERR!
            npm ERR! Additional logging details can be found in:
            npm ERR! /home/aze/unomp/npm-debug.log
            npm ERR! not ok code 0

          4. Zach Smith
            January 19, 2016

            Did you run the “sudo npm update” command in the unomp directory? If that does not work, then you may need to clear your npm cache.

  153. Alaadin
    January 1, 2016

    Hi, Happy new year to All,

    Dear friend, when do you think that Auxes for merged mining would be ready to be used, as I understood it’s not ready yet.

    and if it’s, then would reward/payment/ system work for the merged coins defined under Auxes? I mean, after defining the rpcuser, rpcpass, and rpcport for the required auxe coin, then payment should occur automatically to that coins defined wallet!. correct?

    also, can I add more than one coin under Auxes, if so, then how would be the formula?

    and is there an option to set the difficulty to be determined by the coin daemon it self (just like in Mpos)

    Regards

    Reply
    1. Zach Smith
      January 17, 2016

      I have no clue when the auxes for uNOMP are going to be ready as I am not a developer of uNOMP.

      Your questions are better answered by the uNOMP developers themselves. They have a slack channel you can publicly talk to them in, you can find out more at http://uNOMP.org

      Reply
  154. Mason
    December 28, 2015

    @Zach Smith,
    Hey Sir, I appreciated the guide, it is great! Could you possibly provide an example of what the bitcoin.json config would look like for the pool as UNOMP only provides the LTC example in pool_config? I changed all the settings / ports and such (it works), but I think the only thing I really need to fix (adjust) is the vardiff for BTC due to the higher hash rate. If you could provide some insight on the vardiff, that would be greatly appreciated! Also, maybe if you could point me to an article on solo mining with ASIC machine on BTC network that would be great as well. Sorry brand new to all of this and really just digging into it all, like to have a better understanding of it all!

    Thank you for your time and help in this matter!

    Mason

    Reply
    1. Zach Smith
      January 17, 2016

      The bitcoin.json would not be that much different from the Litecoin one. With the variable difficulty, if you do some research you can find out what the big Bitcoin pools are running and use those numbers. However, if you have the time I would suggest you actually understand what variable difficulty really is as it is important to know. Just start up your favorite search engine and start reading up on variable difficulty.

      Also, you do not need a pool if you are going to solo mine.

      Reply
      1. Newbie
        December 27, 2017

        I get the following error when i run the sudo node init.js

        Pool litecoin Thread 4 Could not start pool, error with init batch RPC call: {“type”:”offline”,”message”:”connect ECONNREFUSED”}

        can you help with this error

        Reply
  155. stoneboy
    December 23, 2015

    How to get install ‘Unomp with Mpos integration’ like the Suchpool website?

    Reply
    1. Zach Smith
      January 17, 2016

      uNOMP is not compatible with MPOS.

      Reply
  156. mirny
    December 14, 2015

    Hello, thank you for great guide, but I’m getting this error:

    SyntaxError: Unexpected number
    at Object.parse (native)
    at /root/unomp/init.js:104:32
    at Array.forEach (native)
    at buildPoolConfigs (/root/unomp/init.js:102:31)
    at init (/root/unomp/init.js:526:19)
    at Object. (/root/unomp/init.js:542:3)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)

    Can you help me with that, please?

    Reply
    1. mirny
      December 14, 2015

      Im using Mint 17.2

      Reply
      1. mirny
        December 15, 2015

        Now I tried Ubuntu 14.04 64bit, and I’m getting exactly the same error message.

        Reply
        1. Zach Smith
          January 18, 2016

          sudo npm update

          In the unomp directory.

          Reply
  157. Alaadin
    December 11, 2015

    Hi again,
    I’ve a couple of questions:

    1- what is the payout method used, and how it could be changed?

    2- should I open the port 8333 and 17117 from the out-side world to my node/pc/server which is running the bitcoin daemon, or let me rephrase, what ports should be opened or redirected to my server running your software and (lets say the for example) the bitcoin daemon?

    Thats all, and Thank you for great efforts.

    Regards

    Reply
    1. Zach Smith
      December 13, 2015

      1. The payout system is PROP (proportional), no you cannot change it at this time.

      2. Open the ports for your stratum and web server obviously. Then the ports your coin daemon uses to communicate with the outside world. Your coin daemon needs to update in real time with the rest of the block chain, otherwise your pool will not work properly.

      Reply
  158. Alaadin
    December 10, 2015

    This guide is much easier than the one with mpos, I’ve done both on Zentyal-Ubuntu 14.0.4, and tried this one with bitcoin, all is working 100%.

    I’ve this old useless miner which currently mining (using your great software) on my server:
    http://dms.jordanfa.com:8080/
    the only stratum port which is exposed to the internet is: 4444.

    Thank you for this great effort, consider my site a live demo 🙂

    Cheers

    Reply
  159. chris
    November 23, 2015

    I spoke too soon. After changing the litecoin.json file in Pool_Configs to my bitcoin settings,
    i get the follwoing when trying to start stratum

    undefined:1
    “name”:”Bitcoin”,”symbol”:”BTC”,”algorithm”:”sha256″{“enabled”:true,”coin”:”bi

    Reply
    1. chris
      November 24, 2015

      I can pay for some help solo btc setup. i am so close, yet so far away…
      i am not a coder

      Reply
      1. chris
        November 24, 2015

        I AM AN IDIOT!!! READ!!! I got this. Thanks again for the guide. now send some luck

        Reply
      2. Zach Smith
        November 25, 2015

        You do not need a pool for solo mining.

        Reply
    2. Jade Pearson
      November 24, 2015

      Did you get this after deleting the code inbetween these two thingys [ ]? as you can probably tell im not too flashy at coding either but i think i ran into this problem when i was setting up my pool.

      Reply
  160. Jade Pearson
    November 22, 2015

    I have been looking for a guide for a long time and i have to admit that this is the best detailed and easy to follow guide i have found on the whole internet. Thank you so much! my next step is now to add more coins to my pool to mine.

    Reply
    1. Zach Smith
      November 25, 2015

      Thank You!

      Reply
  161. chris
    November 22, 2015

    found the answer.. AWESOME!!!

    Reply
  162. chris
    November 22, 2015

    fairly new to this, but how can I build for bitcoin? for bitcoiin, fails after sudo ./configure and the following steps?

    Reply
    1. erm3nda
      February 4, 2016

      There’s no way to tell you what to do if you don’t tell the error code or at least it’s output.

      Reply
  163. stoneboy
    November 9, 2015

    Install first: apt-get install libevent-dev

    Than “sudo make”

    if you on bitcoin source….

    Reply
  164. Khryptor
    November 5, 2015

    I did this guide. This one combined with the last are the best guides on the internet.

    Reply
    1. Zach Smith
      November 5, 2015

      Thank you for the complement!

      Reply
      1. Andrei
        January 25, 2017

        Can u please tell me how to add other coins too ?! I tried expanse but i cant find the wallet for linux,one that works,icobid same .. where can i find the stuff i need to do in order to install any cryptocoin into my pool to mine them.
        Thanks in advance!

        Reply
        1. Andrei
          January 25, 2017

          I need help to setup expanse mining pool,i cant install the wallet

          Reply
  165. stoneboy
    October 19, 2015

    Thanks alot for this new amazing guide! I will try this new guide and report when finished

    Reply
    1. Karizma
      February 26, 2017

      I have 100% usage of CPU when nomp is started. Is there any way to reduce CPU usage

      Reply

Leave a Reply

Scroll to top