Author

Topic: basic code/daemon help required (cryptonote)- 0.05btc bounty for success (Read 727 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
Failed to start forknote-testcoin-daemon.service: Unit forknote-testcoin-daemon.service is not loaded properly: Invalid argument.
See system logs and 'systemctl status forknote-testcoin-daemon.service' for details      .

Try running
Code:
systemctl daemon-reload
and then running the command I gave earlier. If that fails, run
Code:
systemctl status forknote-testcoin-daemon.service
and post the output of that.
newbie
Activity: 10
Merit: 0
Failed to start forknote-testcoin-daemon.service: Unit forknote-testcoin-daemon.service is not loaded properly: Invalid argument.
See system logs and 'systemctl status forknote-testcoin-daemon.service' for details      .
staff
Activity: 3458
Merit: 6793
Just writing some code
root@testcoin:~# root@testcoin:~# sudo service forknote-testcoin-daemon start
root@testcoin:~#: command not found
root@testcoin:~# Failed to start forknote-testcoin-daemon.service: Unit forknote-testcoin-daemon.service                                                            not found.
Stop copy and pasting the above lines. This extra error is unnecessary and confuses people. It is just a result of your copy and pasting your terminal from the original command and it's output.

Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-36-generic x86_64)
There's your problem. Ubuntu 14.10+ stopped using Upstart, it uses systemd now. The guide you were following used 14.04 and thus Upstart.

Create a file called forknote-testcoin-daemon.service in /etc/systemd/system. Put in that file the following:
Code:
[Unit]
Description=Forknote Testcoin Daemon

[Service]
Type=simple
ExecStart=sudo -u fork /home/fork/forknote-linux/forknoted --no-console --config-file /home/fork/forknote-linux/configs/fakecoin.conf
ExecStopPost=sleep 30
Restart=on-failure
RestartSec=30

[Install]
WantedBy=multi-user.target

Then run
Code:
systemctl start forknote-testcoin-daemon


If this fixes your issue, send the bounty to 16mT7jrpkjnJBD7a3TM2awyxHub58H6r6Z
newbie
Activity: 10
Merit: 0
Ok now im getting this


Quote
root@testcoin:~# sudo service forknote-testcoin-daemon start
Failed to start forknote-testcoin-daemon.service: Unit forknote-testcoin-daemon.service                                                            not found.
root@testcoin:~#
root@testcoin:~# root@testcoin:~# sudo service forknote-testcoin-daemon start
root@testcoin:~#: command not found
root@testcoin:~# Failed to start forknote-testcoin-daemon.service: Unit forknote-testcoin-daemon.service                                                            not found.






Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-36-generic x86_64)
staff
Activity: 3458
Merit: 6793
Just writing some code
Are you using Ubuntu 14.04?

Try doing
Code:
sudo service forknote-testcoin-daemon start
newbie
Activity: 10
Merit: 0
Ok guys im attempting to create a new CryptoNote blockchain using these instructions: http://forknote.net/guides/starting-seed-node/

The blockchain is just for private testing purposes for a university project im working on, in which im trying to introduce cryptocurrencys.

i cant get the seed note running, im using digitalocean droplet


im getting this

Quote
root@testcoin:~# start forknote-testcoin-daemon
start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/ups           tart: Connection refused
root@testcoin:~# start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/ups
No command 'start:' found, did you mean:
 Command 'start' from package 'upstart' (main)
 Command 'startx' from package 'xinit' (main)
start:: command not found



0.05btc bounty for someone who can assist me in getting a new cryptonote blockchain up and running.
Jump to: