ethereum-mining / ethminer

Ethereum miner with OpenCL, CUDA and stratum support
GNU General Public License v3.0
5.97k stars 2.28k forks source link

Crashes on launch #2165

Open Atticatt opened 3 years ago

Atticatt commented 3 years ago

When I open the ethminer application file, it opens command prompt, then immediately closes. Any idea what to do? I've run it as administrator, closes immediately again. I used this download: ethminer-0.19.0-alpha.0-cuda10.0-windows-amd64.zip

AndreaLanfranchi commented 3 years ago

If you're simply double clicking on the executable that's pretty much expected: you don't provide any information to the program. Mind that ethminer does not provide any graphical user interface. Is all command line. Open a command prompt first and then from there launch something like ethminer.exe -P stratum://<your-pool-address-here>

ewook commented 3 years ago

As stated above, ethermine needs paramaters to run. Check them with a commandline and append --help to the binary.

Atticatt commented 3 years ago

Ok, I've done that and the command prompt is saying: ethminer.exe is not recognized as an internal or external command, operable program or batch file." The attached image shows the commands I have been doing: image Obviously, I have censored my IP and username.

ewook commented 3 years ago

Ok, I've done that and the command prompt is saying: ethminer.exe is not recognized as an internal or external command, operable program or batch file." The attached image shows the commands I have been doing: image Obviously, I have censored my IP and username.

Your binary ethminer.exe is no longer present - it's clearly stated. calling a binary in windows is simply stating it - ie - ethminer.exe I am guessing it's been removed by Microsoft Defender (your AV, or another). Google for exclusions - this is not directly related to ethminer more than it's been through issues as has been flagged as malicious as per others usage of it.

Atticatt commented 3 years ago

I've reinstalled the software and I have the same problem, I made sure my AV trusts it and stuff but it's still doing that. image

GlitchNeutrino commented 3 years ago

mine launches but doesn't do any mining. just looks for peers

rsparkyc commented 3 years ago

You need to run ethminer from the directory you installed it from. Instead, you're trying to run it from your home directory.