# ECE Fundamentals Lab 2 Step 1 Error

**URL:** <https://discuss.elastic.co/t/ece-fundamentals-lab-2-step-1-error/227564>\
**Category:** Elastic Training\
**Created:** [April 10, 2020, 9:23pm UTC](https://discuss.elastic.co/t/ece-fundamentals-lab-2-step-1-error/227564 "2020-04-10T21:23:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![willmt10](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/willmt10/32/49027_2.png) [@willmt10](https://discuss.elastic.co/u/willmt10)\
**Post date:** [April 10, 2020, 9:23pm UTC](https://discuss.elastic.co/t/ece-fundamentals-lab-2-step-1-error/227564/1 "2020-04-10T21:23:05Z")

</div>

I've been working through the ECE Fundamentals course and I've run into a bit of a roadblock at the start of Lab 2. I made it through Lab 1 without issue and have the expected output for the last step of Lab 1. When I run the bash/curl command to install ECE version 2.1.1, as the first step of Lab 2, I get the following errors:

```auto
 /bin/bash: /bin/bash: cannot execute binary file
 curl: (23) Failed writing body (1337 != 2759)

```

I've tried a few things but have been unsuccessful in getting it to work. Any suggestions?

Thanks!  
-Will

---

<div class="post-metadata">

**Author:** ![Andre\_Murbach\_Maidl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andre_murbach_maidl/32/83508_2.png) [@Andre\_Murbach\_Maidl](https://discuss.elastic.co/u/Andre_Murbach_Maidl)\
**Post date:** [April 10, 2020, 10:49pm UTC](https://discuss.elastic.co/t/ece-fundamentals-lab-2-step-1-error/227564/2 "2020-04-10T22:49:50Z")

</div>

Hi Will,

Are you executing the following command?

`bash <(curl -fsSL https://download.elastic.co/cloud/elastic-cloud-enterprise.sh) install --cloud-enterprise-version 2.1.1`

I just tested the instructions and it worked fine. If the above command is giving you errors, maybe there is a misconfiguration from the previous lab. If that is the case, I can replace the machine for you, so you can start over again.

Best,  
Andre

---

<div class="post-metadata">

**Author:** ![willmt10](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/willmt10/32/49027_2.png) [@willmt10](https://discuss.elastic.co/u/willmt10)\
**Post date:** [April 10, 2020, 11:18pm UTC](https://discuss.elastic.co/t/ece-fundamentals-lab-2-step-1-error/227564/3 "2020-04-10T23:18:19Z")

</div>

Hi Andre,

Thank you for the quick feedback. Yup, I tried running that command. If I try it without sudo, it says it doesn't have permissions to create the directory. If I run it with sudo, that's when I get the original error I outlined. Attached is a screenshot showing the last command of Lab 1 and this bash install command.

Let me know if you need anything else.

Thanks,  
-Will!

 ![Screen Shot 2020-04-10 at 7.14.33 PM](https://us1.discourse-cdn.com/elastic/original/3X/e/8/e8fa40e1921ca7e36dcab35dd38f187d13dfdb0e.png)

---

<div class="post-metadata">

**Author:** ![Andre\_Murbach\_Maidl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andre_murbach_maidl/32/83508_2.png) [@Andre\_Murbach\_Maidl](https://discuss.elastic.co/u/Andre_Murbach_Maidl)\
**Post date:** [April 13, 2020, 1:37pm UTC](https://discuss.elastic.co/t/ece-fundamentals-lab-2-step-1-error/227564/4 "2020-04-13T13:37:41Z")

</div>

Hi Will,

please review the lab steps from 1.10 to 1.18. It looks like the `elastic` user does not have permissions to write in `/mnt/data` and that is causing the install script to fail. Please also make sure that `/mnt/data` is mounted to `/dev/xvdb ` and it is formatted with XFS.

If you are still running into issues we can replace your machine and you can start over the labs again.

Best,  
Andre

---

<div class="post-metadata">

**Author:** ![willmt10](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/willmt10/32/49027_2.png) [@willmt10](https://discuss.elastic.co/u/willmt10)\
**Post date:** [April 13, 2020, 4:46pm UTC](https://discuss.elastic.co/t/ece-fundamentals-lab-2-step-1-error/227564/5 "2020-04-13T16:46:12Z")

</div>

I tried double checking some things but I must have done something wrong as the instance is stuck rebooting... Any chance you could replace my instance with one that is already at the start of Lab 2? The chances of me ever actually running the install in real life are next to zero as our dev team will take care of that. What I'm really interested in is the configuration & monitoring of the installed instance (Labs 2 & 3).

Thanks!  
-Will

---

<div class="post-metadata">

**Author:** ![Andre\_Murbach\_Maidl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andre_murbach_maidl/32/83508_2.png) [@Andre\_Murbach\_Maidl](https://discuss.elastic.co/u/Andre_Murbach_Maidl)\
**Post date:** [April 13, 2020, 6:50pm UTC](https://discuss.elastic.co/t/ece-fundamentals-lab-2-step-1-error/227564/6 "2020-04-13T18:50:42Z")

</div>

Hi Will,

I just replaced your instance, so you can start the labs over again. Unfortunately, we don't have a mechanism to fast forward the lab steps.

Best,  
Andre

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 13, 2020, 6:50pm UTC](https://discuss.elastic.co/t/ece-fundamentals-lab-2-step-1-error/227564/7 "2020-05-13T18:50:43Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
