1
Beginners & Help / Re: Generator-Gunbot - Setup GUNBOT in less than 5 minutes (linux)
« on: June 07, 2017, 02:24:55 PM »thanks for fast respond bro. but you know i just deploy new server then install generator via putty and its work like charm!! haha. good job bro.keep it onERROR! - There was an error starting GUNBOT for BTC_EXP:
1
get the same problem here.
please advice me
There are 2 possible issues.
The easy one
Type 'gl' and check if the pair you want to start is already running. Would look like this:
If it is in that list and its state is online, type 'gstop BTC_XXX' to stop it before you run 'ginit'.
The nasty one
Sometimes the PM2 God Deamon got detached from your (root-)user and you will see an empty list if you enter 'gl' BUT if you run 'pgrep -f BTC_XXX' you will see a id a result.
So the Gunbot is running but pm2 does not want to see it.
You need to kill the PM2 God Deamon, and remove the content in ~/.pm2/:Code: [Select]pgrep -f PM2 | xargs kill -9
Wait like 2 to 5 min till all Gunbots also stopped.
Check if there are running GunbotsCode: [Select]pgrep -f gun
If the dont stop, also kill themCode: [Select]pgrep -f gun | xargs kill -9
Now remove the content of ~/.pm2/Code: [Select]rm -r ~/.pm2/*
And run run 'ginit' again.
Please tell my if it was the easy or the nasty one.
BK
you deserve a beeer buddy!! hehehe