Pages:
Author

Topic: [Linux] Autominer v0.3.2.6 - GPU Monitor, Downtime Swapper, New Interface (Read 23282 times)

member
Activity: 112
Merit: 10
Ride or Die
Why isn't this stickied yet?

Works very nicely except requires modding "miner.sh" file to avoid the even card failure toggle back bug which prevents switching pools when an even number of cards is attempting to switch.
Email me if you want the version of miner.sh to prevent this.


This needs upgrade for more than 2 pools and also timed switch back to main pool after failure, but those aren't necessary.
full member
Activity: 124
Merit: 100
Is it possible to run this on LinuxCoin?

I ran the config script, and have everything setup, but I get an error whe I run the startmining.sh script:

Code:
root@linuxcoin:/home/user/Downloads/Autominer# ./startmining.sh /home/user/Downloads//Autominer
Autominer Initialization...
Starting in /home/user/Downloads//Autominer
If this is the wrong directory, run "./startmining /path/to/Autominer" instead!
If the script fails, check the log file (default: /var/log/Autominer.log) for details of why.
Most likely, you haven't configured Autominer correctly.
If you can't work it out, don't give up, post at http://forum.bitcoin.org/index.php?topic=19861.0 and I'll try to help!
Directory '/var/run/screen' must have mode 777.
Directory '/var/run/screen' must have mode 777.
root@linuxcoin:/home/user/Downloads/Autominer#

There ISN'T a directory "/var/run/screen" there IS "/run/screen"

Do I have to install anything over the basic setup of LinuxCoin?
newbie
Activity: 28
Merit: 0
I'm getting the "There is no screen to be attached matching miner-1" message when starting the Autominer. I'm on ubuntu 11.07. Got x running and everything installed that I'm supposed to.

Is there any chance you could make the older version available? I had no problem running the one before the new interface.
full member
Activity: 140
Merit: 100
firstbits: 1kwc1p
Yes phoenix is patched. Directly launching it works fine (as in the command you provided).

running ./getrates.sh however, produces the following:

./getrates.sh: ./getRate.py: /usr/bin/python2: bad interpreter: No such file or directory
./getrates.sh: line 42: /1000: syntax error: operand expected (error token is "/1000")


For anyone having this problem just edit getRate.py

change

#!/usr/bin/python2

to

#!/usr/bin/python


This may not work on legacy systems which have python 1 and 2 installed, you would be better off going into /usr/bin, finding out the name of your python executable and creating a symlink to it.

For example, if it's called python26 (many are), do:

ln -s /usr/bin/python26 /usr/bin/python2
hero member
Activity: 798
Merit: 502
Yes phoenix is patched. Directly launching it works fine (as in the command you provided).

running ./getrates.sh however, produces the following:

./getrates.sh: ./getRate.py: /usr/bin/python2: bad interpreter: No such file or directory
./getrates.sh: line 42: /1000: syntax error: operand expected (error token is "/1000")


For anyone having this problem just edit getRate.py

change

#!/usr/bin/python2

to

#!/usr/bin/python
hero member
Activity: 798
Merit: 502
OK for anyone struggling to start the script at reboot this is the best way I've found:

In Gnome  go to System/Preferences/Startup Application or just find Startup Applications and add the script there.

Then when you connect via SSH just type:

screen -r to get the info screen.
hero member
Activity: 798
Merit: 502
since X isn't running then i think you need to have it start xterm, which is `autoOpenXterm="1"` in common.lib. 

I tried, but that is not the problem.
Any other suggestions?

Btw I also tried:

export DISPLAY=:0
sudo DISPLAY=:0 ./startmining.sh

But it didn't work too.
newbie
Activity: 20
Merit: 0
I still have problems starting autominer. after i copied the .screen_Autominer, the starting window appears for a millisecond. the miner is working, but still no window. screen -list also shows no screen called "amm".

Any ideas?
newbie
Activity: 34
Merit: 0
since X isn't running then i think you need to have it start xterm, which is `autoOpenXterm="1"` in common.lib. 
hero member
Activity: 798
Merit: 502
So I'm still trying to start the script via SSH and it does not work. I type:

sudo DISPLAY=:0 ./startmining.sh /home/cyper/Autominer
or
DISPLAY=:0 sudo ./startmining.sh /home/cyper/Autominer
or
sudo DISPLAY=:0 ./startmining.sh

All I get is this:





Also here is the log from Autominer.log:

Quote
[15-Jul-2011 13:51.43] Autominer v0.3.2.6 by REIKOKU
[15-Jul-2011 13:51.43] If you like this script, please consider sending a tip:
[15-Jul-2011 13:51.43] 14PQSoPuouTorMmcYxf2iMr1h3awSTs4p
[15-Jul-2011 13:51.43] Or just turn on donate mode to donate 0.5% of your hashes (in common.lib, 'donateMode=1').
[15-Jul-2011 13:51.43] Checking for updated versions...
[15-Jul-2011 13:51.44] You are running the latest version of Autominer already.
[15-Jul-2011 13:51.44] GPU-load pool monitoring for GPU0 could not be enabled. ATI Overdrive is not loaded.
[15-Jul-2011 13:51.44] GPU-load pool monitoring for GPU1 could not be enabled. ATI Overdrive is not loaded.
[15-Jul-2011 13:51.44] GPU-load pool monitoring for GPU2 could not be enabled. ATI Overdrive is not loaded.
[15-Jul-2011 13:51.44] GPU-load pool monitoring for GPU3 could not be enabled. ATI Overdrive is not loaded.
[15-Jul-2011 13:51.44] Hashrate-based pool monitoring for GPU0 enabled.
[15-Jul-2011 13:51.44] Hashrate-based pool monitoring for GPU1 enabled.
[15-Jul-2011 13:51.44] Hashrate-based pool monitoring for GPU2 enabled.
[15-Jul-2011 13:51.44] Hashrate-based pool monitoring for GPU3 enabled.
[15-Jul-2011 13:51.44] Firing up the miner on card GPU0 using pool 1!
[15-Jul-2011 13:51.44] Connecting to http://xxxxxxxx:[email protected]:8332...
[15-Jul-2011 13:51.44] Firing up the miner on card GPU1 using pool 1!
[15-Jul-2011 13:51.44] Connecting to http://xxxxxxxx:[email protected]:8332...
[15-Jul-2011 13:51.44] Firing up the miner on card GPU2 using pool 1!
[15-Jul-2011 13:51.44] Connecting to http://xxxxxxxx:[email protected]:8332...
[15-Jul-2011 13:51.44] Firing up the miner on card GPU3 using pool 1!
[15-Jul-2011 13:51.44] Connecting to http://xxxxxxxx:[email protected]:8332...
[15-Jul-2011 13:51.44] Rechecking status...

full member
Activity: 420
Merit: 100
It is only a good idea if the script can check the connection to Pool 1 without interrupting the mining process, because otherwise if Pool 1 still has connection issues then the script will disconnect from Pool 2 every 10 minutes to check Pool 1 = not very efficient.

No need kill te pool 2 proccess(can start 2 phoenix whit same card), if connect pool 1 and start mining, kill pool 2 process.
hero member
Activity: 798
Merit: 502
For me now works really good  Smiley.

I`ve a suggestion.

When change to 2nd pool, check status of pool 1 every 10 minutes and if its ok, put mining on 1st pool again.

Sometimes have connection problems and miner change pool and no back to pool 1, keep on pool 2.



It is only a good idea if the script can check the connection to Pool 1 without interrupting the mining process, because otherwise if Pool 1 still has connection issues then the script will disconnect from Pool 2 every 10 minutes to check Pool 1 = not very efficient.
newbie
Activity: 34
Merit: 0
For me now works really good  Smiley.

I`ve a suggestion.

When change to 2nd pool, check status of pool 1 every 10 minutes and if its ok, put mining on 1st pool again.

Sometimes have connection problems and miner change pool and no back to pool 1, keep on pool 2.

this's a great idea
full member
Activity: 420
Merit: 100
For me now works really good  Smiley.

I`ve a suggestion.

When change to 2nd pool, check status of pool 1 every 10 minutes and if its ok, put mining on 1st pool again.

Sometimes have connection problems and miner change pool and no back to pool 1, keep on pool 2.

newbie
Activity: 20
Merit: 0
Well, something happened now. You were right, the .screen_Autominer file was not copied.

When i start the script now using VNC, the CPU runs with 100% and nothing else happens... there is still no xterm opening.
(Had real hard problems to get the control back)

I will recheck this when I have more time and be able to control the machine physically without VNC.

Stay tuned Wink
full member
Activity: 140
Merit: 100
firstbits: 1kwc1p
For some reason it looks like everything is working but the main 'amm' screen isn't connecting.

The screenrc is in the Autominer directory, do ls -a, it's .screenrc_Autominer I think (don't have a box to hand).

If that file is empty, you need to redownload autominer and re-untar it.

If you copied or moved the directory, it could be that it didn't move the invisible file.
newbie
Activity: 20
Merit: 0
no more ideas?
would really like to use this script... Sad
newbie
Activity: 20
Merit: 0
screen -ls is showing the following:
Code:
21771.temps (07/10/2011 09:44:38 PM) (Detached)
21796.gpu2_asus-miner (07/10/2011 09:44:38 PM) (Detached)
21785.gpu1_sapphire-miner (07/10/2011 09:44:38 PM) (Detached)
21807.gpu3_sapphire-miner (07/10/2011 09:44:38 PM) (Detached)
21733.miner (07/10/2011 09:44:37 PM) (Detached)

Log file (stopped it mysef with ./stopminer.sh)
Code:
[10-Jul-2011 21:44.37] Autominer v0.3.2.6 by REIKOKU
[10-Jul-2011 21:44.37] If you like this script, please consider sending a tip:
[10-Jul-2011 21:44.37] 14PQSoPuouTorMmcYxf2iMr1h3awSTs4p
[10-Jul-2011 21:44.37] Or just turn on donate mode to donate 0.5% of your hashes (in common$
[10-Jul-2011 21:44.37] Checking for updated versions...
[10-Jul-2011 21:44.38] You are running the latest version of Autominer already.
[10-Jul-2011 21:44.38] GPU-load pool monitoring for gpu1_sapphire enabled.
[10-Jul-2011 21:44.38] GPU-load pool monitoring for gpu2_asus enabled.
[10-Jul-2011 21:44.38] GPU-load pool monitoring for gpu3_sapphire enabled.
[10-Jul-2011 21:44.38] Hashrate-based pool monitoring for gpu1_sapphire could not be enable$
[10-Jul-2011 21:44.38] Hashrate-based pool monitoring for gpu2_asus could not be enabled. X$
[10-Jul-2011 21:44.38] Hashrate-based pool monitoring for gpu3_sapphire could not be enable$
[10-Jul-2011 21:44.38] Firing up the miner on card gpu1_sapphire using pool 1!
[10-Jul-2011 21:44.38] Connecting to *****************************...
[10-Jul-2011 21:44.38] Firing up the miner on card gpu2_asus using pool 1!
[10-Jul-2011 21:44.38] Connecting to *****************************...
[10-Jul-2011 21:44.38] Firing up the miner on card gpu3_sapphire using pool 1!
[10-Jul-2011 21:44.38] Connecting to *****************************...
[10-Jul-2011 21:44.38] Rechecking status...
[10-Jul-2011 21:45.03] Card gpu1_sapphire is mining on ************$
[10-Jul-2011 21:45.03] Card gpu2_asus is mining on ***************$
[10-Jul-2011 21:45.03] Card gpu3_sapphire is mining on ************$
[10-Jul-2011 21:45.58] Killing PID: 21785
[10-Jul-2011 21:45.58] Trying to kill 21785: 0 (should be 0)
[10-Jul-2011 21:45.58] Killing PID: 21796
[10-Jul-2011 21:45.59] Trying to kill 21796: 0 (should be 0)
[10-Jul-2011 21:45.59] Killing PID: 21807
[10-Jul-2011 21:45.59] Trying to kill 21807: 0 (should be 0)
[10-Jul-2011 21:45.59] Killing PID: 21771
[10-Jul-2011 21:45.59] Trying to kill 21771: 0 (should be 0)
[10-Jul-2011 21:45.59] Killing PID: 0
[10-Jul-2011 21:45.59] Trying to kill 0 failed, invalid PID.
[10-Jul-2011 21:45.59]
[10-Jul-2011 21:45.59] Miner is stopped, thanks for using Autominer.
(*** replacing my account data. the connection to the pool is working.)
newbie
Activity: 34
Merit: 0
anything useful in the Autominer.log?  you can list the active screen sessions with `screen -ls` there should be a 'miner', 'amm', and 'temps' at least, and then a 'cardX-miner' for each of your cards.
newbie
Activity: 20
Merit: 0
I installed screen, yes.
And I'm using a root terminal.
Pages:
Jump to: