You are viewing a single comment's thread from:

RE: Adding a CPU miner to smOS

in #mining7 years ago

miner@simpleminer:~/xmrig/build$ sudo chmod +x /root/miner_org/xmrig-2.4.4/xmrig
miner@simpleminer:~/xmrig/build$ sudo nano /root/miner_org/xmrig-2.4.4/config.js on
miner@simpleminer:~/xmrig/build$ background
No command 'background' found, did you mean:
Command 'gbackground' from package 'gbackground' (universe)
background: command not found
miner@simpleminer:~/xmrig/build$ gbackground
Gtk-WARNING **: cannot open display: at /usr/lib/x86_64-linux-gnu/perl5/5.22/Gt k2.pm line 126.
miner@simpleminer:~/xmrig/build$ sudo /root/miner_org/xmrig-2.4.4/xmrig
miner@simpleminer:~/xmrig/build$ sudo nano /lib/systemd/system/xmrig.service
miner@simpleminer:~/xmrig/build$ sudo systemctl daemon-reload
miner@simpleminer:~/xmrig/build$ sudo systemctl enable xmrig.service
Failed to execute operation: Invalid argument
miner@simpleminer:~/xmrig/build$ sudo systemctl daemon-reload
miner@simpleminer:~/xmrig/build$ sudo systemctl enable xmrig.service
Failed to execute operation: Invalid argument
miner@simpleminer:~/xmrig/build$ sudo systemctl start xmrig.service
Failed to start xmrig.service: Unit xmrig.service is not loaded properly: Invalid argument.
See system logs and 'systemctl status xmrig.service' for details.
miner@simpleminer:~/xmrig/build$ sudo systemctl status xmrig # Get status of service
● xmrig.service - XMRig Daemon
Loaded: error (Reason: Invalid argument)
Active: inactive (dead)

Apr 22 18:00:38 simpleminer systemd[1]: [/lib/systemd/system/xmrig.service:14] Unknown lvalue 'Description' in section
Apr 22 18:00:38 simpleminer systemd[1]: [/lib/systemd/system/xmrig.service:15] Unknown lvalue 'After' in section 'Insta
Apr 22 18:00:38 simpleminer systemd[1]: xmrig.service: Service has more than one ExecStart= setting, which is only allo
...skipping...
● xmrig.service - XMRig Daemon
Loaded: error (Reason: Invalid argument)
Active: inactive (dead)

Apr 22 18:00:38 simpleminer systemd[1]: [/lib/systemd/system/xmrig.service:14] Unknown lvalue 'Description' in section
Apr 22 18:00:38 simpleminer systemd[1]: [/lib/systemd/system/xmrig.service:15] Unknown lvalue 'After' in section 'Insta
Apr 22 18:00:38 simpleminer systemd[1]: xmrig.service: Service has more than one ExecStart= setting, which is only allo