Skip to content
cryptopool.builders edited this page Nov 18, 2019 · 12 revisions

Multipool

What SSH programs should I use?

This installer has been verified to work properly with:

Other clients may produce visual errors.

How do I upgrade to the latest code?

First off, do NOT make any direct edits to the code on your server. Instead, whenever a new release is posted you must always run:

curl https://raw.githubusercontent.com/cryptopool-builders/Multi-Pool-Installer/master/bootstrap.sh | bash

and select the installer you wish to update. This will download the newest version. If you get an error during update that files have been changed, you can run:

sudo rm -r $HOME/multipool

and then download the installer again.

The daemonbuilder is throwing "menu2.sh: line 14: [: 1: unary operator expected"

This will sometimes happen right after installing daemonbuiler. If it drops you to the command line just type:

daemonbuilder

On launch I get the error 'error: cannot open tty-output'

This occurs when you SU to the user, you must log out of your system and log back in as the user.

After rebooting the server I get 'Internal Server Error error_log(/home/crypto-data/yiimp/site/log/debug.log): failed to open stream: Permission denied' when trying to access the admin page.

First off make sure you have rebooted the server after the installer completed.

If you did reboot and in the MOTD the debug is showing as stopped, run the following commands:

  • source /etc/multipool.conf
  • sudo chmod 777 $STORAGE_ROOT/yiimp/site/log/.
  • sudo chmod 777 $STORAGE_ROOT/yiimp/site/log/debug.log

Reboot the server and verify debug is running. You should now be able to access your admin section.

After rebooting the server for the first time, debug is showing as stopped. All other screens are running:

For some reason, some builds do not set the permissions correctly during the installation. The above fix will fix this issue as well.

daemonbuilder

daemonbuilder build fails

if daemonbuilder fails to build a coin automatically the first round, depending on the error shown, you can run daemonbuilder again and select Daemon Build Failed - Help! This will open a menu with some of the most common reasons for a build to fail. Just select the option that fits your build error message.

If a coin build fails, you must run the repair options before using daemonbuilder to build another coin.

manually building wallets

If for some reason the daemonbuilder does not work for your coin build, you can manually build a wallet by pasting these commands:

source /etc/functions.sh
source /etc/multipool.conf
source $HOME/multipool/daemon_builder/.my.cnf
cd $STORAGE_ROOT/daemon_builder/temp_coin_builds
git clone GIT LINK
cd DIR
sh autogen.sh
sudo chmod 777 share/genbuild.sh
sudo chmod 777 leveldb/build_detect_platform

If your coin requires Berkely 4.x

./configure CPPFLAGS="-I${STORAGE_ROOT}/berkeley/db4/include -O2" LDFLAGS="-L${STORAGE_ROOT}/berkeley/db4/lib" --without-gui --disable-tests

else

./configure CPPFLAGS="-I${STORAGE_ROOT}/berkeley/db5/include -O2" LDFLAGS="-L${STORAGE_ROOT}/berkeley/db5/lib" --without-gui --disable-tests

make -j$(nproc)

cd src
sudo strip coind coin-cli
sudo cp -r coind coin-cli /usr/bin

From there then use the commands provided in the coin admin of yiimp to create the coin directory and config file.

YiiMP

Error Stratum : ERROR : 98 bind:

Another stratum screen is launched for the same algo/port.

Error YiiMP Coin Admin : RPC Error: error -8: label argument must be a valid label name or "*":

Add the line deprecatedrpc=accounts to your /home/crypto-data/wallets/.coin/coin.conf file

Error Payout : error -1: json value is not a boolean as expected:

Edit the following file

/home/crypto-data/yiimp/site/web/yaamp/core/backend/payment.php

and on line 57 you will need to add :

$coin->symbol == 'XXX'