Bitcoin Forum
May 24, 2024, 10:10:20 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Re: Claymore's Dual Ethereum AMD+NVIDIA GPU Miner v9.3 (Windows/Linux) on: May 02, 2017, 10:29:57 AM
Quote
did you put
Quote
#!/bin/sh
as first line?

yes

Quote
Are you running as root... shutdown often need to be root (via sudo, but as server you cannot ask a password...).

I start claymore with an @reboot cron in a screen, so technically it should be running as root (the screen is in the "root"-screenlist).

Quote
To trace maybe you can add "-x'" to trace the script.
Quote
#!/bin/sh -x
add echo command before and after, in case problem is with shutdown itself...

Good idea, did not get to that when I fiddled around with it yesterday evening, gonna check that at home.

Quote
I run something like

/sbin/shutdown -r 1
(restart in 1 minute)

You put this command in a "restart.sh" file inside the claymore folder or into bin? I was lazy and just put a "restart" into my script, I'll check your way aswell (sounds wise giving the cards some time to cool before rebooting).

Quote
It works well, and I even send email including a journalctl extract with ssmtp during the last minute.

Holy damn, that sounds epic Cheesy
2  Alternate cryptocurrencies / Mining (Altcoins) / Re: Claymore's Dual Ethereum AMD+NVIDIA GPU Miner v9.3 (Windows/Linux) on: May 02, 2017, 09:41:24 AM
Been fiddling around with the -r 1 param, but I could not make it work.

Working on Ubuntu 16.04:
- I created "reboot.sh" in the claymore-dir, put in the reboot command, chmod 755, tested it manually, worked flawlessly.
- waited for the miner to crash, apparently the miner did try to reboot using the script, but it seems like the script never got called.

Is there any way to debug this? Any way to test it? What does Claymore call exactly? Is it beeing called as the superuser, as I'm starting ethdcrminer as root?

Any help is highly appreciated Smiley
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!