Hey there,
here’s my problem. I think I am missing something obvious:
After compiling grin-miner, I can start it without hassle in TUI mode, and it’ll mine happily.
I am connecting to my miner (which is running Linux - Ubuntu 18, to be precise) via ssh, so I must put the process in the background and disown it, so it’ll continue running after I close the ssh connection.
I tried the following approach
- Start the miner:
./target/release/grin-miner
Now the miner starts in TUI mode - working fine.
- Stop process and return to command prompt via CTRL-Z.
Now the process is stopped.
Running thejobs
command yields:
[1]+ Stopped ./target/release/grin-miner
As would be expected. - Try to put process into background with
bg
orbg %<Processnumber>
Here is where it falls apart. The process doesn’t get put in the background.
running jobs after this still yields[1]+ Stopped ./target/release/grin-miner
.
Running top
shows that grin-miner is not doing any work.
Alternative approaches have included something like:
nohup ./target/release/grin-miner &
Which is not working for me aswell, this particular command generates a nohup.out file to which the processes output is printed, which in this case is indicating that it’s shutting down immediately after starting up…
EDIT: ^ This approach, I might add, has worked with most (if not all) other command line mining utilities I’ve used in the past
Am I missing something obvious?
Any advice is greatly appreciated!