Post
Topic
Board Mining (Altcoins)
Re: [Minera] New web management system for Gridseed devices
by
highwalker
on 07/05/2014, 07:10:36 UTC
Hello,

I've installed minera on a pcduino (ubuntu) with apache. Working, but no "hashrate history" and no "Rejected/errors"
Since php bin file was not available on my system, I installed libapache2-mod-fastcgi  ( needed by (?) php /var/www/minera/index.php app cron_stats )

output from php:
>minera@ubuntu:/var/www/minera$ php -v
PHP 5.3.10-1ubuntu3.11 with Suhosin-Patch (cgi-fcgi) (built: Apr  4 2014 02:06:32)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies


Is this the correct php binary ?

Can someone help me on this?

thanks,

rgds,
m

It seems the cron task is not running on your system.

Please try running from the terminal this command and check if graphs change:

Code:
php //index.php app cron

If changed the problem is with the cron task that's not running.

You should have a cron task like this:

Code:
*/5 * * * * minera php //index.php app cron

Minera installs it in /etc/cron.d/minera

Let me know

PS
I just updated this you could have to run "[...] app cron_stats" instead "[...] app cron" this depends on your Minera revision

Same problem here with hashrate not shown, on RPi:

minera@raspberrypi /etc/cron.d $ cat minera
*/5 * * * * minera php /var/www/minera/index.php app cron_stats
minera@raspberrypi /etc/cron.d $ php /var/www/minera/index.php app cron_stats
-bash: php: command not found