Giter Club home page Giter Club logo

vps's Introduction

Nodemaster

The Nodemaster scripts is a collection of utilities to manage, setup and update masternode instances.

I am quite confident this is the single best and almost effortless way to setup different crypto masternodes, without bothering too much about the setup part.

If this script helped you in any way, please contribute some feedback. Never forget:

Have fun, this is crypto after all!

Feel free to use my reflink to signup and receive a bonus w/ vultr:

Supported masternode projects

The ever growing list of supported projects is now maintained at https://nodemaster-vps.com/supported-masternode-projects/.


NOTE on the VPS choice for starters

Vultr is highly recommended for this kind of setup. I created an easy step-by-step guide for the VPS provider vultr that will guide you through the hardest parts.


About / Background

Many masternode crypto currencies only have incomplete or even non-existing instructions available how to setup a masternode from source.

This project started as handy bash script to setup my $PIVX masternodes in 2016 when there was almost zero documentation and anything that existed was either $DASH specific, sucked and in most cases both. For that reason, i started to work on a not-so-sucking way to install a lot of different masternodes with next to none manual intervention.

If you are not already aware, visit the project site and join the slack. The website at https://pivx.org/ is also well worth a visit.

Many people use binaries, end of with an insecure configuration or fail completely. This is obviously bad for the stability of the individual network.

After doing hundreds of masternode installations in the past two years, i decided to share some of my existing auto-install and management scripts with the community to work on a generalised & reliable setup for all masternode coins.

Comparing with building from source manually, you will benefit from using this script in the following way(s):

  • 100% auto-compilation and 99% of configuration on the masternode side of things. It is currently only tested on a vultr VPS but should work almost anywhere where IPv6 addresses are available
  • Developed with recent Ubuntu versions in mind, currently only 16.04 is supported
  • Installs 1-100 (or more!) masternodes in parallel on one machine, with individual config and data
  • Compilation is currently from source for the desired git repo tag (configurable via config files) Some security hardening is done, including firewalling and a separate user
  • Automatic startup for all masternode daemons
  • This script needs to run as root, the masternodes will and should not!
  • It's ipv6 enabled, tor/onion will follow

Installation

SSH to your VPS and clone the Github repository:

git clone https://github.com/masternodes/vps.git && cd vps

Install & configure your desired master node with options:

./install.sh -p pivx

Examples for typical script invocation

These are only a couple of examples for typical setups. Check my [easy step-by-step guide for vultr that will guide you through the hardest parts.

Install & configure 4 PIVX masternodes:

./install.sh -p pivx -c 4

Update daemon of previously installed PIVX masternodes:

./install.sh -p pivx -u

Install 6 PIVX masternodes with the git release tag "tags/v3.0.5.1"

./install.sh -p pivx -c 6 -r "tags/v3.0.5.1"

Wipe all PIVX masternode data:

./install.sh -p pivx -w

Install 2 PIVX masternodes and configure sentinel monitoring:

./install.sh -p pivx -c 2 -s

Options

The install.sh script support the following parameters:

Long Option Short Option Values description
--project -p project, e.g. "pix" shortname for the project
--net -n "4" / "6" ip type for masternode. (ipv)6 is default
--release -r e.g. "tags/v3.0.4" a specific git tag/branch, defaults to latest tested
--count -c number amount of masternodes to be configured
--update -u -- update specified masternode daemon, combine with -p flag
--sentinel -s -- install and configure sentinel for node monitoring
--wipe -w -- uninstall & wipe all related master node data, combine with -p flag
--help -h -- print help info
--startnodes -x -- starts masternode(s) after installation

Troubleshooting the masternode on the VPS

If you want to check the status of your masternode, the best way is currently running the cli e.g. for $MUE via

/usr/local/bin/mue-cli -conf=/etc/masternodes/mue_n1.conf getinfo

{
  "version": 1000302,
  "protocolversion": 70701,
  "walletversion": 61000,
  "balance": 0.00000000,
  "privatesend_balance": 0.00000000,
  "blocks": 209481,
  "timeoffset": 0,
  "connections": 5,
  "proxy": "",
  "difficulty": 42882.54964804553,
  "testnet": false,
  "keypoololdest": 1511380627,
  "keypoolsize": 1001,
  "paytxfee": 0.00000000,
  "relayfee": 0.00010000,
  "errors": ""
}

Help, Issues and Questions

I activated the "issues" option on github to give you a way to document defects and feature wishes. Feel free top open issues for problems / features you are missing here: https://github.com/masternodes/vps/issues.

I might not be able to reply immediately, but i do usually within a couple of days at worst. I will also happily take any pull requests that make masternode installations easier for everyone ;-)

If this script helped you in any way, please contribute some feedback. Never forget:

Have fun, this is crypto after all!

Management script (not yet implemented)

The management script release will follow within the next couple of days.

command description
nodemaster start pivx (all|number) start all or a specific pivx masternode(s)
nodemaster restart pivx (all|number) stop all or a specific pivx masternode(s)
nodemaster stop pivx (all|number) restart all or a specific pivx masternode(s)
nodemaster cleanup pivx (all|number) delete chain data for all pivx masternodes
nodemaster status pivx (all|number) systemd process status for a pivx masternode
nodemaster tail pivx (all|number) tail debug logs for a pivx masternode

Todo

  • provide my Dockerfile & Vagrantfile
  • write more test cases
  • implement a binary option (?)
  • output all supported cryptos as list within help

Errors

  • currently not fully idempotent

Ping me at [email protected] for questions and send some crypto my way if you are happy.

Have fun, this is crypto after all!

vps's People

Contributors

0xconsole avatar aradabir007 avatar baltcoinh avatar bifrost-actual avatar charlesrocket avatar crypt0biwan avatar deruntote avatar ff899f avatar forceunited avatar goosewobbler avatar imthedeveloper avatar jpsoares avatar kolbyml avatar lookfirst avatar lubuzzo avatar marsmensch avatar masternodes avatar miosata avatar mthalmei avatar niklasfink avatar notatestuser avatar rob-morris avatar robiiinos avatar squirelo avatar srtpioneer avatar thediverdk avatar thehug0naut avatar walkjivefly avatar xemage avatar zrero avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vps's Issues

Unable to install masternode on Ubuntu Trusty (14.04)

Unable to install masternode on Ubuntu Trusty (14.04)

command used
./runme.sh xcxt 1

read default config
Script version v0.6.3, you picked: xcxt
apply config file for xcxt
running installer script
Device "ens3" does not exist.
This script only supports ubuntu 16.04 LTS, exiting.

ARC IPV6 Problem

goldminenode start-all

12:23:59
{
"overall": "Successfully started 0 goldminenodes, failed to start 2, total 2",
"detail": {
"status": {
"alias": "MN1",
"result": "failed",
"errorMessage": "Invalid IP address, goldminenode=5a2632c5919f411c55cacfcf3e4ff7d76fdde79bec47a42b1054e87320000b6c-0"
},
"status": {
"alias": "MN2",
"result": "failed",
"errorMessage": "Invalid IP address, goldminenode=dba042f11f3648679f034a36d747c4437be65895efdbc8e97d25e78f7c788d9a-1"
}
}
}

++++++++++++

goldminenode.conf

MN1 [2001:19f0:6c01:76e:2004::1]:7209 6vyNcfuB8Q1xW7Dnuo5q9pSWDnKFc2yfBmjL5zkMSowLy8edGJN 5a2632c5919f411c55cacfcf3e4ff7d76fdde79bec47a42b1054e87320000b6c 0
MN2 [2001:19f0:6c01:76e:2004::2]:7209 6uZ51ymWqZ3ogJ9QHsGbMD58FZpZwX7ZQkVr8NMNjgsAjKtNuGQ dba042f11f3648679f034a36d747c4437be65895efdbc8e97d25e78f7c788d9a 1

what is the problem ?
do not support IPV6 ?

Masternode.conf explanation

After using script in my vps for digitalprice multi masternodes, I used the suggested masternode.conf replacing of course with my own key txid and outputs. Looks like this>
dpriceMN01 [:2099::1]:9990 KEY TX OUTPUT
dpriceMN02 [:2099::2]:9990 KEY TX OUTPUT
dpriceMN03 [:2099::3]:9990 KEY TX OUTPUT
dpriceMN04 [:2099::4]:9990 KEY TX OUTPUT

(where KEY , TX and OUTPUT are my own)

How will my controller wallet know with what IP to connect to? There is no ip set. Only binds.

Thank you again for all your hard work.
Argy
(kopykat)

ARC coin does not support ipv6

trying to start arc coin using ipv6 setup and got this

Failed to start arc_n1. Error: Invalid IP address

This error occurred when trying to start the masternode on the desktop wallet

Memetic masternode private key: what addres and port to provide?

I am trying to setup a MEME masternode in Vultr.com. To get the masternode private key and collateral address the Memetic wallet ask me to provide an address and port. What address and port should I provide? Here is the screenshot of the Memetic wallet asking tat informamation.

xxx

maxconnections=256

Would just like to know how this number was decided and its significance. I have seen different values used in various documentation (64, 24, etc.)

Instructions for updating ?

Hi,

Are there instructions for updating the VPS after the release of a new wallet (as it is the case for XSN) ?

Thanks a million for the help

script does not start

Ido everything according to the instructions but the script does not start

+++++++++++

root@innova-mn1:# /usr/local/bin/restart_masternodes.sh
Job for innova_n1.service failed because the control process exited with error code. See "systemctl status innova_n1.service" and "journalctl -xe" for details.
Job for innova_n2.service failed because the control process exited with error code. See "systemctl status innova_n2.service" and "journalctl -xe" for details.
Job for innova_n3.service failed because the control process exited with error code. See "systemctl status innova_n3.service" and "journalctl -xe" for details.
root@innova-mn1:
#

+++++++++++++++++++

root@innova-mn1:~# journalctl -xe
-- Subject: Unit innova_n2.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit innova_n2.service has failed.

-- The result is failed.
Oct 31 21:38:38 innova-mn1 systemd[1]: innova_n2.service: Unit entered failed state.
Oct 31 21:38:38 innova-mn1 systemd[1]: innova_n2.service: Failed with result 'exit-code'.
Oct 31 21:38:42 innova-mn1 systemd[1]: innova_n1.service: Service hold-off time over, scheduling restart.
Oct 31 21:38:42 innova-mn1 systemd[1]: Stopped innova distributed currency daemon.
-- Subject: Unit innova_n1.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit innova_n1.service has finished shutting down.
Oct 31 21:38:42 innova-mn1 systemd[1]: innova_n1.service: Start request repeated too quickly.
Oct 31 21:38:42 innova-mn1 systemd[1]: Failed to start innova distributed currency daemon.
-- Subject: Unit innova_n1.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit innova_n1.service has failed.

-- The result is failed.
Oct 31 21:38:43 innova-mn1 systemd[1]: innova_n2.service: Service hold-off time over, scheduling restart.
Oct 31 21:38:43 innova-mn1 systemd[1]: Stopped innova distributed currency daemon.
-- Subject: Unit innova_n2.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit innova_n2.service has finished shutting down.
Oct 31 21:38:43 innova-mn1 systemd[1]: innova_n2.service: Start request repeated too quickly.
Oct 31 21:38:43 innova-mn1 systemd[1]: Failed to start innova distributed currency daemon.
-- Subject: Unit innova_n2.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit innova_n2.service has failed.

-- The result is failed.
Oct 31 21:45:01 innova-mn1 CRON[7779]: pam_unix(cron:session): session opened for user root by (uid=0)
Oct 31 21:45:01 innova-mn1 CRON[7783]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Oct 31 21:45:01 innova-mn1 CRON[7779]: pam_unix(cron:session): session closed for user root
Oct 31 21:54:28 innova-mn1 dhclient[3301]: DHCPREQUEST of 10.8.93.21 on eth0 to 10.6.30.4 port 67 (xid=0x669a4116)
Oct 31 21:54:28 innova-mn1 dhclient[3301]: DHCPACK of 10.8.93.21 from 10.6.30.4
Oct 31 21:54:29 innova-mn1 dhclient[3301]: bound to 10.8.93.21 -- renewal in 37640 seconds.
Oct 31 21:55:01 innova-mn1 CRON[7800]: pam_unix(cron:session): session opened for user root by (uid=0)
Oct 31 21:55:01 innova-mn1 CRON[7804]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Oct 31 21:55:01 innova-mn1 CRON[7800]: pam_unix(cron:session): session closed for user root
lines 3085-3134/3134 (END)

CRAVE not working

./install.sh -p crave -c 2
███╗ ██╗ ██████╗ ██████╗ ███████╗███╗ ███╗ █████╗ ███████╗████████╗███████╗██████╗
████╗ ██║██╔═══██╗██╔══██╗██╔════╝████╗ ████║██╔══██╗██╔════╝╚══██╔══╝██╔════╝██╔══██╗
██╔██╗ ██║██║ ██║██║ ██║█████╗ ██╔████╔██║███████║███████╗ ██║ █████╗ ██████╔╝
██║╚██╗██║██║ ██║██║ ██║██╔══╝ ██║╚██╔╝██║██╔══██║╚════██║ ██║ ██╔══╝ ██╔══██╗
██║ ╚████║╚██████╔╝██████╔╝███████╗██║ ╚═╝ ██║██║ ██║███████║ ██║ ███████╗██║ ██║
╚═╝ ╚═══╝ ╚═════╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝
╚╗ @marsmensch 2016-2018 ╔╝
Script version v0.8.4, you picked: crave
************************* Installation Plan *****************************************

I am going to install and configure
=> 2 crave masternode(s) in version tags/v2.5.0.1
for you now.

You have to add your masternode private key to the individual config files afterwards

Stay tuned!

A logfile for this run can be found at the following location:
/tmp/nodemaster_18-01-24-1516766908_out.log


  • Validating network rules
  • No proper swap, creating it
  • Package installation!
  • Checking out desired GIT tag: tags/v2.5.0.1
  • Starting the compilation process for crave, stay tuned
    +--------------------------------------------------------+
    | |
    | |
    | |
    | ...... |
    | .,;cloddoolc;'. |
    | 'codxkkO000OOkxdc'. |
    | .'cdkOKXXNNWWWWNNXKOd:'. |
    | .,:lxOXNWWMMMMMMMMMWKNKkl;. |
    | .;:;lkKWWWWWWWWMMWWWWKKKkd;. |
    | .;;,,oKX0OkkKXNNNXK0O0KOo;... |
    | .:,,co:. .cxddl. 'oxc... |
    | .,',c' ;xl;' ..',.... |
    | ..;o; .':ol,.,'. ..,,.... |
    | .';x0dlldOXXo. .'ldc,.,;.... |
    | .:x0X00XKXO, .,oO0kdo,.... |
    | .';:;lOOOO;...:;ckKkcc,.. |
    | .';oOKXOlo0Xk:cl' |
    | ..c:cOKXNK0XKKd,,'. |
    | .',;::coxkkxdxdl;,'.. |
    | .',ldolllooolclccl'.. |
    | ..;ldx0XXXNXKK0x:.. |
    | .,lodOO0XK0Oxc.. |
    | .,::::;;;'. |
    | |
    | |
    | |
    | |
    | |
    +--------------------------------------------------------+
    make: makefile.unix: No such file or directory
    make: *** No rule to make target 'makefile.unix'. Stop.
    cp: cannot stat 'craved': No such file or directory

    0:00:00
    Adding new system user masternode
  • Creating masternode directories
  • Configuring firewall rules
  • Firewall ufw is active and enabled on system startup
  • (over)writing systemd config files for masternodes
    ███╗ ██╗ ██████╗ ██████╗ ███████╗███╗ ███╗ █████╗ ███████╗████████╗███████╗██████╗
    ████╗ ██║██╔═══██╗██╔══██╗██╔════╝████╗ ████║██╔══██╗██╔════╝╚══██╔══╝██╔════╝██╔══██╗
    ██╔██╗ ██║██║ ██║██║ ██║█████╗ ██╔████╔██║███████║███████╗ ██║ █████╗ ██████╔╝
    ██║╚██╗██║██║ ██║██║ ██║██╔══╝ ██║╚██╔╝██║██╔══██║╚════██║ ██║ ██╔══╝ ██╔══██╗
    ██║ ╚████║╚██████╔╝██████╔╝███████╗██║ ╚═╝ ██║██║ ██║███████║ ██║ ███████╗██║ ██║
    ╚═╝ ╚═══╝ ╚═════╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝
    ╚╗ @marsmensch 2016-2018 ╔╝
    ! ALMOST DONE !******************
    There is still work to do in the configuration templates.
    These are located at /etc/masternodes, one per masternode.
    Add your masternode private keys now.
    eg in /etc/masternodes/crave_n1.conf

=> All configuration files are in: /etc/masternodes
=> All Data directories are in: /var/lib/masternodes

last but not least, run /usr/local/bin/activate_masternodes_crave as root to activate your nodes.

Sentinel config issues?

Hi,

Thanks for your creation!

For me the sentinel config did not work correctly. It seems sentinel expects a sentinel.conf, and the EXPORT PATH did not work (Ubuntu 16.04-2, not Vultr).

As a temporary solution I've moved the generated /usr/share/sentinel/${CODENAME}${NUM}_sentinel.conf to /usr/share/sentinel/${CODENAME}${NUM}/sentinel.conf, and changed the cronjob with the usual
cd /usr/share/sentinel/${CODENAME}${NUM} && /usr/share/sentinelvenv/bin/python /usr/share/sentinel/bin/sentinel.py

Besides that it might be a good idea to write the cronjob for the user, so that they don't forget it.

MonacoCoin Doesn't work

Looks like it monacocoin masternode doesn't like the IPV6 format and the port number should be 24157 instead of 24156.

Monaco typo of Mono, can you please rename it to Monaco? or MonacoCoin?

New coin request:

Hey there and thank you for taking the time to submit an issue!

If you want me to support a new (masternode) coin, please provide AT LEAST the following data with your request:

  • Provide a link to the $COIN ANN thread on bitcointalk.
  • Provide a link to the $COIN website (if already exists).
  • Provide a link to the $COIN github repo.
    Optional and helpful (more likely i integrate fast):
  • Daemon binary (eg /usr/local/bin/pured )
  • Masternode port number ( eg 51472 )
  • Newest, stable Git Tag (eg tags/v1.0.0.2)

In case you want to open a bug please provide some basic information about your system.

Before filing an issue: Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.

If you open an issue:

Make sure to add all the information needed to understand the bug so that i can help you. If the info is missing i will add the 'Needs more information' label and close the issue until there is enough information.

  • Provide as many logs / details as possible
  • Provide screenshots where appropriate
  • What's the version of the script you were using (see script output)?
  • Are you using Mac, Linux or Windows?

Updating sub1x nodes does not work

when trying to update a masternode using the command:

./install.sh -p sub1x -u

It does not to pull the latest code from their master branch, but instead reinstalls the old versions. The script debug log shows these entries:

> error: The following untracked working tree files would be overwritten by merge:
> 	Makefile
> 	Makefile.in
> 	aclocal.m4
> 	config.log
> 	config.status
> 	configure
> 	libtool
> Please move or remove them before you can merge.
> Aborting
> Updating bda3ba0..881154d
> Already on 'master'
> M	autogen.sh
> M	share/genbuild.sh
> Your branch is behind 'origin/master' by 6 commits, and can be fast-forwarded.
>   (use "git pull" to update your local branch)

Looks like there are changed files in the git, which prevents a new pull.

After removing/renaming the Folder vps/code/sub1x it works.

Would it make sense to use a git reset --hard HEAD, before the git pull on update? https://github.com/masternodes/vps/blob/master/install.sh#L521

Alqo Masternode "couldnt connect to server issue"

Hello,

Followed the script and got everything finished. Issue I am coming up with after I activate the masternode on the VPS, I run the script to check it /usr/local/bin/alqo-cli -conf=/etc/masternodes/alqo_ n1.conf getinfo and it gve me the following error

error: couldn't connect to server

Must be missing one little part of the install but just not sure where. Any help would be appreciated

I assume the above error is also why I am getting a "error invalid IP address port 55500" when tring to start the masternode on the local wallet.

New coin request: KREDS

New coin request:

Optional and helpful (more likely i integrate fast):

  • Daemon binary (eg /usr/local/bin/pured )
    /usr/local/bin/kredsd
  • Masternode port number ( eg 51472 )
    3950
  • Newest, stable Git Tag (eg tags/v1.0.0.2)
    tag/v1.0.0.4
    In case you want to open a bug please provide some basic information about your system.

Thank you as always for your work

SYNX failure to launch

After the latest update to the script this error shows up:

last but not least, run /usr/local/bin/activate_masternodes_synx as root to activate your nodes.
root@SYNX:~/vps# /usr/local/bin/activate_masternodes_synx
Created symlink from /etc/systemd/system/multi-user.target.wants/synx_n1.service to /etc/systemd/system/synx_n1.service.
Job for synx_n1.service failed because the control process exited with error code. See "systemctl status synx_n1.service" and "journalctl -xe" for details.

5 MN's of different coins on one VPS?

I have multiple masternodes with different coins.
Each on one VPS.
I'd like to consolidate them to have 5 MN on one VPS.
Can I run the script multiple times on the same server?
E.g. once for Innova and another time for Crowdcoin?

PURE - error - pured pointing to wrong pure.conf

Hi, i am working on a linux VPS using the latest build of nodemaster scripts. I am not experienced with linux so maybe this is not a bug but me being stupid. I installed a sub1x MN and that was easy. Now tried a pure MN and am struggling. Here we go:

I installed the Pure MN and made the changes to the pure_n1.conf.
Then i started the MN using /usr/local/bin/activate_masternodes_pure. Worked fine as well. I ran into problems with the MN shutting down as soon as the cold wallet was offline or being encrypted and so i wanted to check the status on the VPS using /usr/local/bin/pure-cli -conf=/etc/masternodes/pure_n1.conf getinfo until i realised there is no pure-cli. also not in the git.

So with google i found pured getinfo or watch pured getinfo, but this resulted in this error:

error: You must set rpcpassword=<password> in the configuration file:
/root/.pure/pure.conf
If the file does not exist, create it with owner-readable-only file permissions.

But the correct pure.conf, that i configured is in an an other folder. Even if i configure this file with cd .pure and nano pure.conf it gives me the following error: Couldn't connect to server.

So how can i check if my pure MN is running correct on the VPS and what Block i am on. Thank you

Scorecoin installation broken

Scorecoin installation finished with: cp: cannot stat 'scorecoind': No such file or directory

Installed as Root on a Vultr Ubuntu 16, with ipv6

Confused about IP addresses

First of all thanks a million for this guide, it would have been impossible to set up the MNs without it.

I'm confused about how I can set up 2 MN on one Vultr instance with 1 IP each:

  • in the .conf file in /etc/masternodes there is only a line for an IPv6 address. Does it need to be changed ?

  • do I need to add IP addresses on the settings page of Vulture ? IPv4 ? IPv6 ?

Thanks a lot for the help

Blockchain Size Question

Hey,

i just have some little question:

  1. When running a masternode, does it need to download and hold the whole blockchain for the coin?
  2. When i run two instances of masternodes, do both need to download the blockchain?
  3. When getting the 5$ VPS from your link there is only 25GB SSD storage. So if top questions are true this would run into a problem.

Greetings,
Chris

documentation for docker container

Any documentation of how to use docker containers for the masternodes?

Also in the case of using docker, does it mean 1 masternode for 1 docker contianer or you still install multiple masternodes in 1 docker container?

Thanks

Job for crave_n1.service failed because the control process exited with error code

I've set up my VPS and installed the first masternode as CRAVE. But once I execute the script to start the masternode, I'm getting the following error:

Created symlink from /etc/systemd/system/multi-user.target.wants/crave_n1.service to /etc/systemd/system/crave_n1.service.
Job for crave_n1.service failed because the control process exited with error code. See "systemctl status crave_n1.service" and "journalctl -xe" for details.

This issue seems related to #5. I've already set up the server from scratch but still got the same error.

Can you help me?

CROWD installation broken

Crowdcoin installation finished with the following:

/bin/mkdir -p '/usr/local/bin'
/bin/bash ../libtool --mode=install /usr/bin/install -c crowdcoind crowdcoin-cli crowdcoin-tx bench/bench_crowdcoin '/usr/local/bin'
libtool: install: /usr/bin/install -c crowdcoind /usr/local/bin/crowdcoind
libtool: install: /usr/bin/install -c crowdcoin-cli /usr/local/bin/crowdcoin-cli
libtool: install: /usr/bin/install -c crowdcoin-tx /usr/local/bin/crowdcoin-tx
libtool: install: /usr/bin/install -c bench/bench_crowdcoin /usr/local/bin/bench_crowdcoin
/bin/mkdir -p '/usr/local/include'
/usr/bin/install -c -m 644 script/bitcoinconsensus.h '/usr/local/include'
make[3]: Leaving directory '/root/vps/code/crowd/src'
make[2]: Leaving directory '/root/vps/code/crowd/src'
make[1]: Leaving directory '/root/vps/code/crowd/src'
make[1]: Entering directory '/root/vps/code/crowd'
make[2]: Entering directory '/root/vps/code/crowd'
make[2]: Nothing to be done for 'install-exec-am'.
/bin/mkdir -p '/usr/local/lib/pkgconfig'
/usr/bin/install -c -m 644 libbitcoinconsensus.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory '/root/vps/code/crowd'
make[1]: Leaving directory '/root/vps/code/crowd'
0:18:20
COMPILATION FAILED! Please open an issue at https://github.com/masternodes/vps/issues. Thank you!

Installed as Root on a Vultr Ubuntu 16, with ipv6

implement a kiss revenue generation report

KISS principle: Get the ticker, calculate the block rewards from the last day, get current CMC price for the running masternode(s) and write a report + send via mail

zencash needs to use SSL/TLS

following the zencash setup guide https://blockoperations.com/how-to-build-and-operate-a-zencash-secure-node/

not sure how to make your VPS script work - what additional steps are needed

zencash uses SSL/TLS - so do we need to add to /etc/masternodes/zen_n1.conf?

tlscertpath=/home/$USER/.acme.sh/$FQDN/$FQDN.cer
tlskeypath=/home/$USER/.acme.sh/$FQDN/$FQDN.key

also the zencash wallet is not like others that can be setup as remote / controller wallets from what I can tell

with zen what is used for

masternodeprivkey=HERE_GOES_YOUR_MASTERNODE_KEY_FOR_MASTERNODE_zen_1

incomplete installation documentation

I see that in your installation guide here https://masternodes.github.io/vps/docs/masternode_vps.html

No mention of the coin configuration file on the cold wallet(desktop wallet)
For example on chain coin..this will be chaincoin.conf file

No mention of this file in the installation guide
Also the bind port number are wrong for chaincoin for example..chain coin should be 11994 but the code has it has something else

So many things wrong

Complete uninstall

I am going to re-install on a dedicated VPS.

How do i completely uninstall it?

thx

New coin request: STRAKS (STAK)

New coin request:

  • Provide a link to the $COIN ANN thread on bitcointalk.

https://bitcointalk.org/index.php?topic=2433318.0

  • Provide a link to the $COIN website (if already exists).

https://www.straks.io/

  • Provide a link to the $COIN github repo.

https://github.com/straks/straks

Optional and helpful (more likely i integrate fast):

  • Daemon binary (eg /usr/local/bin/pured )

/usr/bin/straksd

  • Masternode port number ( eg 51472 )

7575

  • Newest, stable Git Tag (eg tags/v1.0.0.2)

tags/1.14.7.1

allow for crypto specific configuration templates

Rationale
Some cryptos have slightly different configuration files than others. While it was always the goal to provide a generic solution, the possibility to integrate custom templates should be trivially to implement.

Implementation
Change the "create_mn_configuration" to check for the existance of an existing coin template and use that instead. Generate a default (as it is now) if not.

ARC example.

In arcticcoin.conf, the default config should be

server=1
listen=1
daemon=1
goldminenode=1 
goldminenodeprivkey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXB7XXX 
externalip=141.231.184.34

instead of

server=1
listen=1
daemon=1
masternodeprivkey=6vzaXXXXXXXXXXXXXXXXXXXXXXXXXXXXB7USLp 

Problem binding IPv6

Firstly, thanks for putting this together, very helpful.

Having an issue though with IPv6 binding by the looks of it. Followed the guide for the Vultr setup, setting up for a Bitsend and Bitcloud masternode. The script executed fine, but the nodes fail to start properly.

The debug.log :

2017-11-02 11:07:20 BTDX version v2.0.0.3-109c1a9 (2017-09-23 21:01:00 +0200)
2017-11-02 11:07:20 Using OpenSSL version OpenSSL 1.0.2g 1 Mar 2016
2017-11-02 11:07:20 Using BerkeleyDB version Berkeley DB 5.3.28: (September 9, 2013)
2017-11-02 11:07:20 Default data directory /home/masternode/.bitcloud
2017-11-02 11:07:20 Using data directory /var/lib/masternodes/btdx1
2017-11-02 11:07:20 Using config file /etc/masternodes/btdx_n1.conf
2017-11-02 11:07:20 Using at most 256 connections (1024 file descriptors available)
2017-11-02 11:07:20 Using 0 threads for script verification
2017-11-02 11:07:20 Binding RPC on address :: port 5551 (IPv4+IPv6 bind any: 1)
2017-11-02 11:07:20 Using wallet wallet.dat
2017-11-02 11:07:20 init message: Verifying wallet...
2017-11-02 11:07:20 CDBEnv::Open: LogDir=/var/lib/masternodes/btdx1/database ErrorFile=/var/lib/masternodes/btdx1/db.log
2017-11-02 11:07:20 Unable to bind to [2001:19f0:7402:182:2003::1]:8329 on this computer (bind returned error Cannot assign requested address (99))
2017-11-02 11:07:20 Error: Unable to bind to [2001:19f0:7402:182:2003::1]:8329 on this computer (bind returned error Cannot assign requested address (99))
2017-11-02 11:07:20 Error: Failed to listen on any port. Use -listen=0 if you want this.
2017-11-02 11:07:20 PrepareShutdown: In progress...
2017-11-02 11:07:20 RPCAcceptHandler: Error: Operation canceled
2017-11-02 11:07:20 StopNode()
2017-11-02 11:07:20 Verifying mncache.dat format...
2017-11-02 11:07:20 Loaded info from mncache.dat 0ms
2017-11-02 11:07:20 Masternodes: 0, peers who asked us for Masternode list: 0, peers we asked for Masternode list: 0, entries in Masternode list we asked for: 0, nDsqCount: 0
2017-11-02 11:07:20 Writting info to mncache.dat...
2017-11-02 11:07:20 Written info to mncache.dat 0ms
2017-11-02 11:07:20 Masternodes: 0, peers who asked us for Masternode list: 0, peers we asked for Masternode list: 0, entries in Masternode list we asked for: 0, nDsqCount: 0
2017-11-02 11:07:20 Masternode dump finished 1ms
2017-11-02 11:07:20 Verifying budget.dat format...
2017-11-02 11:07:20 Loaded info from budget.dat 0ms
2017-11-02 11:07:20 Proposals: 0, Budgets: 0, Seen Budgets: 0, Seen Budget Votes: 0, Seen Final Budgets: 0, Seen Final Budget Votes: 0
2017-11-02 11:07:20 Writting info to budget.dat...
2017-11-02 11:07:20 Written info to budget.dat 0ms
2017-11-02 11:07:20 Budget dump finished 0ms
2017-11-02 11:07:20 Verifying mnpayments.dat format...
2017-11-02 11:07:20 Loaded info from mnpayments.dat 0ms
2017-11-02 11:07:20 Votes: 0, Blocks: 0
2017-11-02 11:07:20 Writting info to mnpayments.dat...
2017-11-02 11:07:20 Written info to mnpayments.dat 0ms
2017-11-02 11:07:20 Budget dump finished 0ms
2017-11-02 11:07:20 Shutdown: done

Monaco Coin does not start

root@vultr:~# /usr/local/bin/activate_masternodes_mona
Job for mona_n1.service failed because the control process exited with error code. See "systemctl status mona_n1.service" and "journalctl -xe" for details.
Job for mona_n2.service failed because the control process exited with error code. See "systemctl status mona_n2.service" and "journalctl -xe" for details.
root@vultr:~#

root@vultr:~# journalctl -xe
Nov 18 02:24:13 vultr.guest systemd[1]: Stopped mona distributed currency daemon.
-- Subject: Unit mona_n2.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mona_n2.service has finished shutting down.
Nov 18 02:24:13 vultr.guest systemd[1]: Starting mona distributed currency daemon...
-- Subject: Unit mona_n2.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mona_n2.service has begun starting up.
Nov 18 02:24:13 vultr.guest systemd[2170]: mona_n2.service: Failed at step EXEC spawning /usr/local/bin/monad: No such file or directory
-- Subject: Process /usr/local/bin/monad could not be executed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The process /usr/local/bin/monad could not be executed and failed.
--
-- The error number returned by this process is 2.
Nov 18 02:24:13 vultr.guest systemd[1]: mona_n2.service: Control process exited, code=exited status=203
Nov 18 02:24:13 vultr.guest systemd[1]: Failed to start mona distributed currency daemon.
-- Subject: Unit mona_n2.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mona_n2.service has failed.
--
-- The result is failed.
Nov 18 02:24:13 vultr.guest systemd[1]: mona_n2.service: Unit entered failed state.
Nov 18 02:24:13 vultr.guest systemd[1]: mona_n2.service: Failed with result 'exit-code'.
Nov 18 02:24:13 vultr.guest systemd[2169]: mona_n1.service: Failed at step EXEC spawning /usr/local/bin/monad: No such file or directory
-- Subject: Process /usr/local/bin/monad could not be executed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The process /usr/local/bin/monad could not be executed and failed.
--
-- The error number returned by this process is 2.
Nov 18 02:24:13 vultr.guest systemd[1]: mona_n1.service: Control process exited, code=exited status=203
Nov 18 02:24:13 vultr.guest systemd[1]: Failed to start mona distributed currency daemon.
-- Subject: Unit mona_n1.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mona_n1.service has failed.
--
-- The result is failed.
Nov 18 02:24:13 vultr.guest systemd[1]: mona_n1.service: Unit entered failed state.
Nov 18 02:24:13 vultr.guest systemd[1]: mona_n1.service: Failed with result 'exit-code'.
lines 1907-1956/1956 (END)

Permission denied to masternode configuration files

Hey!
I'm installing a Zcoin Masternode, and after having installed everything, when I try to access the configuration files to change the private key, I get "Permission denied"

Would like to know how to solve it, thank you!

ARC choin install with some errors

During installation of ARC coin i get these warnings
not sure if they are harmful or not

/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
  CXX      leveldb/db/leveldb_libleveldb_a-builder.o
  CXX      leveldb/db/leveldb_libleveldb_a-c.o
  CXX      leveldb/db/leveldb_libleveldb_a-dbformat.o
  CXX      leveldb/db/leveldb_libleveldb_a-db_impl.o
  CXX      leveldb/db/leveldb_libleveldb_a-db_iter.o
  CXX      leveldb/db/leveldb_libleveldb_a-dumpfile.o
  CXX      leveldb/db/leveldb_libleveldb_a-filename.o
  CXX      leveldb/db/leveldb_libleveldb_a-log_reader.o
  CXX      leveldb/db/leveldb_libleveldb_a-log_writer.o
  CXX      leveldb/db/leveldb_libleveldb_a-memtable.o
In file included from ./leveldb/util/arena.h:9:0,
                 from ./leveldb/db/skiplist.h:33,
                 from ./leveldb/db/memtable.h:11,
                 from leveldb/db/memtable.cc:5:
leveldb/db/memtable.cc: In member function ‘void leveldb::MemTable::Add(leveldb::SequenceNumber, leveldb::ValueType, const leveldb::Slice&, const leveldb::Slice&)’:
leveldb/db/memtable.cc:104:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   assert((p + val_size) - buf == encoded_len);
                               ^
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-self-assign’
  CXX      leveldb/db/leveldb_libleveldb_a-repair.o
  CXX      leveldb/db/leveldb_libleveldb_a-table_cache.o
  CXX      leveldb/db/leveldb_libleveldb_a-version_edit.o
  CXX      leveldb/db/leveldb_libleveldb_a-version_set.o
  CXX      leveldb/db/leveldb_libleveldb_a-write_batch.o
  CXX      leveldb/table/leveldb_libleveldb_a-block_builder.o
  CXX      leveldb/table/leveldb_libleveldb_a-block.o
  CXX      leveldb/table/leveldb_libleveldb_a-filter_block.o
  CXX      leveldb/table/leveldb_libleveldb_a-format.o
  CXX      leveldb/table/leveldb_libleveldb_a-iterator.o
  CXX      leveldb/table/leveldb_libleveldb_a-merger.o
  CXX      leveldb/table/leveldb_libleveldb_a-table_builder.o
  CXX      leveldb/table/leveldb_libleveldb_a-table.o
  CXX      leveldb/table/leveldb_libleveldb_a-two_level_iterator.o
  CXX      leveldb/util/leveldb_libleveldb_a-arena.o
  CXX      leveldb/util/leveldb_libleveldb_a-bloom.o
leveldb/util/bloom.cc: In member function ‘virtual void leveldb::{anonymous}::BloomFilterPolicy::CreateFilter(const leveldb::Slice*, int, std::__cxx11::string*) const’:
leveldb/util/bloom.cc:50:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (size_t i = 0; i < n; i++) {
                          ^
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-self-assign’
  CXX      leveldb/util/leveldb_libleveldb_a-cache.o
  CXX      leveldb/util/leveldb_libleveldb_a-coding.o
  CXX      leveldb/util/leveldb_libleveldb_a-comparator.o
  CXX      leveldb/util/leveldb_libleveldb_a-crc32c.o
  CXX      leveldb/util/leveldb_libleveldb_a-env.o
  CXX      leveldb/util/leveldb_libleveldb_a-env_posix.o
  CXX      leveldb/util/leveldb_libleveldb_a-env_win.o
  CXX      leveldb/util/leveldb_libleveldb_a-filter_policy.o
  CXX      leveldb/util/leveldb_libleveldb_a-hash.o
  CXX      leveldb/util/leveldb_libleveldb_a-histogram.o
  CXX      leveldb/util/leveldb_libleveldb_a-logging.o
leveldb/util/logging.cc: In function ‘bool leveldb::ConsumeDecimalNumber(leveldb::Slice*, uint64_t*)’:
leveldb/util/logging.cc:58:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           (v == kMaxUint64/10 && delta > kMaxUint64%10)) {
                                        ^
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-self-assign’
  CXX      leveldb/util/leveldb_libleveldb_a-options.o
  CXX      leveldb/util/leveldb_libleveldb_a-status.o
  CXX      leveldb/port/leveldb_libleveldb_a-port_posix.o
  AR       leveldb/libleveldb.a
/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
  CXX      leveldb/helpers/memenv/leveldb_libmemenv_a-memenv.o
  AR       leveldb/libmemenv.a
/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')

"ens3" does not exist

per this guide to a zcoin masternode, i see this at the beginning of the install:

"ens3" does not exist

should i be concerned?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.