firoorg / ccminer

mtp ccminer developpment
GNU General Public License v3.0
102 stars 55 forks source link

Does not run on Linux Debian #45

Closed Galag-en closed 5 years ago

Galag-en commented 5 years ago

Please provide correct sh file to run ccminer. Thank!

djm34 commented 5 years ago

what kind of error are you getting ?

Galag-en commented 5 years ago

No mistake. Trying to run executable file.sh in the terminal, nothing happens. http://prntscr.com/odzazy

Galag-en commented 5 years ago

Here is the executable - http://prntscr.com/odzcx9 or http://prntscr.com/odzf73

djm34 commented 5 years ago

use "source" insead of "sudo sh" did you check that you command line is working when you type it ?

kinda weird to make a bash shell script and trying to execute it with sh shell

Galag-en commented 5 years ago

I have all the miners are working, no problem. I tried to do so as you, without results. http://prntscr.com/oef0x8

djm34 commented 5 years ago

may-be try to install source... does the command line "./ccminer -etc... works when you type it in a console does it work if it isn't in a script ? (I already asked that question but haven't seen an answer) You need to make sure ccminer miner works first...

Galag-en commented 5 years ago

I have a compiled miner. I run it by using bash. And everything works in this case. I downloaded the compiled miner ccminer linux cuda 10, then also try to run through the bash environment, but can't write the correct bat file.

djm34 commented 5 years ago

have you tried 'chmod a+rwx' on the ccminer file ? (or may-be use a 'chown yourusername ccminer' to change ownership. because to me that seems the problem

Galag-en commented 5 years ago

Not try. You think can then run via the bash environment?

Galag-en commented 5 years ago

I did as you advised. Now another error - https://ibb.co/tQsjk5v

djm34 commented 5 years ago

libcudart is cuda 10 library... do you have cuda in your LD_LIBRARY_PATH ?

Galag-en commented 5 years ago

Yes, I specified path and it worked. Thank you!

Galag-en commented 5 years ago

I copied the missing library files to a folder /usr/lib. Miner started, but now these errors - https://ibb.co/f48hBKC https://ibb.co/xSmPJ7H Not working for some reason in the pool of NiceHash - https://ibb.co/dfPvQMc

Galag-en commented 5 years ago

Error " buffer overflow detected : ./ccminer terminated Aborted (core dumped) " My file mtp.sh "#!/bin/sh

./ccminer -a mtp -o stratum+tcp://mtp.eu.nicehash.com:3374 -u 3PLN6AX1xYuFoggJyYYeHiYAPqSYchkSaf.rig1 -p x,strict,verbose,d=1500 -i 20 "

djm34 commented 5 years ago

nicehash isn't supported

Galag-en commented 5 years ago

Will it?

djm34 commented 5 years ago

no, this is official miner from zcoin. Nicehash isn't crypto friendly in the way it works, they perturb market price to say the least... (and if you do your own calculation you should see, that even for miners it is less advantageous to mine on nicehash than mining zcoin and selling it. (also their new platform won't support mtp either)

Galag-en commented 5 years ago

Thanks so much. You've been very helpful!