<p>The original CPUMiner software made an executable named <code>minerd</code>. You are using a fork of the CPUMiner software which changed the executable produced to be named <code>cpuminer</code>. The <code>minerd ...</code> command will not work because that executable file does not exist as it is not created. If you are looking up any instructions for using CPUMiner and it says to do <code>./minerd ...</code>, just do <code>./cpuminer ...</code> instead. Note that because you are not using the original CPUMiner software not all example commands and options will be the same or result in the same behavior.</p>

<p>There are multiple reasons that you do not see anything on your Slush dashboard. First of all, you are connected to a Bitcoin mining pool and yet you are using the Scrypt PoW algorithm. Bitcoin does not use Scrypt, so whatever you are mining is invalid. Secondly, your hashrate is so low that you are not finding any shares (besides the fact that they will be invalid as you are using the wrong algo), so Slushpool does not know anything about this your worker as it has not received anything back from it.</p>

CC BY-SA 3.0
2017-10-18T15:26:07.223Z
That's how I originally ran it (ie `./cpuminer -u alexanderjsingleton.Pericles -p pass -o stratum+tcp://stratum.slushpool.com:3333 -t cputhreads`) but that doesn't appear to register in my slush-pool dashboard for that worker- so what would be the problem?
alexanderjsingleton
CC BY-SA 3.0
2017-10-18T15:32:34.807Z
I updated my response.
Ava Chow
CC BY-SA 3.0
2017-10-18T16:40:04.077Z
Thanks Andrew- I suspected the limitations of my Raspberry Pi 3 out of the box might have something to do with the hash-rate- or lack thereof in slushpool.  Also I think I correctly specified the correct command-line parameters for Bitcoin now- thanks for the correction (ie `./cpuminer -u alexanderjsingleton.Pericles -p pass -a bitcore -o stratum+tcp://stratum.bitcoin.cz:3333 -t cputhreads`).  I've got some AntMiners coming soon! :D
alexanderjsingleton
CC BY-SA 3.0
2017-10-18T16:42:23.477Z
Your command is still incorrect. You want to do `-a sha256d` not `-a bitcore`. `-a bitcore` does "Timetravel with 10 algos" which is definitely not Bitcoin.
Ava Chow
CC BY-SA 3.0
2017-10-18T18:20:31.393Z
Thanks, Andrew! `./cpuminer -u alexanderjsingleton.Pericles -p pass -a sha256d -o stratum+tcp://stratum.slushpool.com:3333 -t cputhreads`- I included my process on this [gist](https://gist.github.com/alexanderjsingleton/fd2a4eda9eaefd162c79498d98b1d08f).
alexanderjsingleton
CC BY-SA 3.0
2017-10-18T15:23:26.910Z
2017-10-18T15:32:25.233Z
2017-10-18T15:32:25.233Z
Ava Chow
<p>You forgot to make the file after building it in the folder. Same thing happened to me.</p>

CC BY-SA 3.0
2018-03-20T21:36:06.977Z
Please don't be insulting, follow our Be Nice policy
meshcollider
CC BY-SA 3.0
2018-03-20T20:15:19.927Z
2018-03-21T02:47:04.267Z
2018-03-21T02:47:04.267Z
user1560337
<p>I created a cpuminer instance for my Raspberry Pi derived from <a href="https://www.novaspirit.com/2017/04/10/cpuminer-raspberry-pi/" rel="nofollow noreferrer">this tutorial</a>.  Apparently, I've correctly configured the implementation because I can run the example provided in the README:</p>

<pre><code>./cpuminer -u alexanderjsingleton.Pericles -p pass -o stratum+tcp://stratum.slushpool.com:3333 -t cputhreads
</code></pre>

<p><a href="https://i.sstatic.net/C62R3.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/C62R3.png" alt="enter image description here"></a></p>

<p>Apparently, that command is indeed the example because I'm not seeing any feedback displayed within my slushpool-account dashboard for that worker. 
 However, <a href="https://bitcoin.stackexchange.com/questions/17396/is-this-thing-on-how-to-tell-if-my-cpuminer-is-working">according to this StackExchange:Bitcoin post</a>, the appropriate cpuminer-syntax should be:</p>

<pre><code>./minerd -u alexanderjsingleton.Pericles -p pass -o stratum+tcp://stratum.slushpool.com:3333 -t cputhreads
</code></pre>

<p>but that command returns the following error:</p>

<pre><code>   ./minerd -h --algo scrypt --scantime 33  --url stratum+tcp://stratum.slushpool.com:3333 --userpass [alexanderjsingleton.Pericles]:[password] --threads 1 --retries -1 -P
-bash: ./minerd: No such file or directory
</code></pre>

<p>In any case, this is my first experiment with actual Bitcoin-mining, so I'd appreciate any guidance whatsoever to start mining on my first block- thank you!</p>

<raspberry-pi><cpuminer>
Raspberry Pi cpuminer error: -bash: ./minerd: No such file or directory
alexanderjsingleton
# Raspberry Pi cpuminer error: -bash: ./minerd: No such file or directory

(Asked by: username_0 on 2017-10-18)

I created a cpuminer instance for my Raspberry Pi derived from this tutorial.  Apparently, I've correctly configured the implementation because I can run the example provided in the README:
./cpuminer -u username_0.Pericles -p pass -o stratum+tcp://stratum.slushpool.com:3333 -t cputhreads


Apparently, that command is indeed the example because I'm not seeing any feedback displayed within my slushpool-account dashboard for that worker. 
 However, according to this StackExchange:Bitcoin post, the appropriate cpuminer-syntax should be:
./minerd -u username_0.Pericles -p pass -o stratum+tcp://stratum.slushpool.com:3333 -t cputhreads

but that command returns the following error:
   ./minerd -h --algo scrypt --scantime 33  --url stratum+tcp://stratum.slushpool.com:3333 --userpass [username_0.Pericles]:[password] --threads 1 --retries -1 -P
-bash: ./minerd: No such file or directory

In any case, this is my first experiment with actual Bitcoin-mining, so I'd appreciate any guidance whatsoever to start mining on my first block- thank you!

**Tags:** raspberry-pi, cpuminer


---

## 2 answers

### Answer by username_1 on 2017-10-18. Score: 0 | Accepted answer

The original CPUMiner software made an executable named `minerd`. You are using a fork of the CPUMiner software which changed the executable produced to be named `cpuminer`. The `minerd ...` command will not work because that executable file does not exist as it is not created. If you are looking up any instructions for using CPUMiner and it says to do `./minerd ...`, just do `./cpuminer ...` instead. Note that because you are not using the original CPUMiner software not all example commands and options will be the same or result in the same behavior.

There are multiple reasons that you do not see anything on your Slush dashboard. First of all, you are connected to a Bitcoin mining pool and yet you are using the Scrypt PoW algorithm. Bitcoin does not use Scrypt, so whatever you are mining is invalid. Secondly, your hashrate is so low that you are not finding any shares (besides the fact that they will be invalid as you are using the wrong algo), so Slushpool does not know anything about this your worker as it has not received anything back from it.

> **Comments:**
> **username_0**: That's how I originally ran it (ie `./cpuminer -u username_0.Pericles -p pass -o stratum+tcp://stratum.slushpool.com:3333 -t cputhreads`) but that doesn't appear to register in my slush-pool dashboard for that worker- so what would be the problem?  
> **username_1**: I updated my response.  
> **username_0**: Thanks Andrew- I suspected the limitations of my Raspberry Pi 3 out of the box might have something to do with the hash-rate- or lack thereof in slushpool.  Also I think I correctly specified the correct command-line parameters for Bitcoin now- thanks for the correction (ie `./cpuminer -u username_0.Pericles -p pass -a bitcore -o stratum+tcp://stratum.bitcoin.cz:3333 -t cputhreads`).  I've got some AntMiners coming soon! :D  
> **username_1**: Your command is still incorrect. You want to do `-a sha256d` not `-a bitcore`. `-a bitcore` does "Timetravel with 10 algos" which is definitely not Bitcoin.  
> **username_0**: Thanks, Andrew! `./cpuminer -u username_0.Pericles -p pass -a sha256d -o stratum+tcp://stratum.slushpool.com:3333 -t cputhreads`- I included my process on this [gist](https://gist.github.com/username_0/fd2a4eda9eaefd162c79498d98b1d08f).  

---

### Answer by username_2 on 2018-03-20. Score: 0

You forgot to make the file after building it in the folder. Same thing happened to me.

> **Comments:**
> **username_3**: Please don't be insulting, follow our Be Nice policy  

---

