Problem with auto start of MultiChain on Ubuntu 18.04

+3 votes
Hello,

I have 3 nodes (1 'master' and 2 'childs'). I can using systemd autostart on the first (master) server. However, the 2nd and 3thrd don't start when using systemd. When starting the 2nd and 3thrd server manually by $ sudo multichaind chain1 -daemon, everything works smoothly.

I have the following file in /etc/systemd/system (on all 3 servers):

[Unit]
Description=MultiChain service
After=network.target
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=1
User=ubuntu
ExecStart=/usr/local/bin/multichaind chain1

[Install]
WantedBy=multi-user.target

Anyone an idea what I'm missing?

Many thanks.

Guy
asked May 24 by anonymous

1 Answer

+3 votes
Problem solved. Reason was a permissions/installation problem of MultiChain by using the Private IP address vs. the Public IP address of my VPS. Using the latter solved the problem. Everything starts after reboot/.. and works fine now.
answered May 28 by gdillen
Great, thanks for the update.
...