Author

Topic: starting miner from rc.local (Read 2171 times)

newbie
Activity: 53
Merit: 0
May 13, 2013, 05:15:19 PM
#2
Did you ever find an answer? I am facing the same problem.

rc.local (usually) runs as the last thing coming up into run level 3... via S99rc.local  in /etc/rc3.d,

so it does not seem like it should be the driver... I just started looking into environment issues,
but saw this and thought I'd ask if you solved it yet.

thanks
newbie
Activity: 12
Merit: 0
April 03, 2013, 02:13:26 PM
#1
I've followed some other information on the forum to put together a script that starts cgminer at boot in xubuntu.

So far I've got my script running from rc.local starting cgminer in a detached screen after 120 second delay. When i run rc.local manually everything works perfect, but when i reboot i get,

Code:
[2013-04-03 12:58:42] Started cgminer 2.11.2
No protocol specified
No protocol specified
 [2013-04-03 12:58:42] Error -1: Getting Device IDs (num)
 [2013-04-03 12:58:42] clDevicesNum returned error, no GPUs usable
All devices disabled, cannot mine!

Is it trying to load cgminer before the GPU drivers load? I feel like i'm so close but just can't get over this hump. Any ideas what's happening here?

Thanks for any help you can offer.
Jump to: