# Error starting node on Ubuntu Subsystem for Windows

**URL:** <https://forum.algorand.co/t/error-starting-node-on-ubuntu-subsystem-for-windows/1290>\
**Category:** General\
**Created:** [January 21, 2020, 8:12pm UTC](https://forum.algorand.co/t/error-starting-node-on-ubuntu-subsystem-for-windows/1290 "2020-01-21T20:12:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![GGolov](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.algorand.co/ggolov/32/395_2.png) [@GGolov](https://forum.algorand.co/u/GGolov)\
**Post date:** [January 21, 2020, 8:12pm UTC](https://forum.algorand.co/t/error-starting-node-on-ubuntu-subsystem-for-windows/1290/1 "2020-01-21T20:12:10Z")

</div>

Hi everybody,  
I’ve followed command by command the following instructions:  
[https://developer.algorand.org/docs/installing-ubuntu;](https://developer.algorand.org/docs/installing-ubuntu;)  
to install Algorand on Ubuntu Subsystem for Windows.

It went all smooth until I have tried to start the node with:  
goal node start -d data  
because with  
./goal node start -d data  
it says  
-bash: ./goal: No such file or directory

Anyway, running that command, instead of starting the node it says:  
error creating file for capturing stderr: open data/algod-err.log: no such file or directory  
error creating file for capturing stdout: open data/algod-out.log: no such file or directory  
Algorand node failed to start: node exited before we could contact it

Even with sudo it says the same. How can it be fixed?

---

<div class="post-metadata">

**Author:** ![Tim](https://avatars.discourse-cdn.com/v4/letter/t/ce73a5/32.png) [@Tim](https://forum.algorand.co/u/Tim)\
**Post date:** [January 21, 2020, 8:48pm UTC](https://forum.algorand.co/t/error-starting-node-on-ubuntu-subsystem-for-windows/1290/2 "2020-01-21T20:48:18Z")

</div>

Caveat - I don’t use windows, but, can you try using a full path to the data directory in the command i.e. “goal node start -d /var/lib/algorand”.

Note - In the older style of shell script installs, the data directory is created beneath the algorand directory (/var/lib/algorand/data), in the newer apt packages style the default data directory is the same (/var/lib/algorand).

---

<div class="post-metadata">

**Author:** ![GGolov](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.algorand.co/ggolov/32/395_2.png) [@GGolov](https://forum.algorand.co/u/GGolov)\
**Post date:** [January 21, 2020, 9:23pm UTC](https://forum.algorand.co/t/error-starting-node-on-ubuntu-subsystem-for-windows/1290/3 "2020-01-21T21:23:28Z")

</div>

I’ve tried your command with all the paths you’ve mentioned, nothing worked.

I’ve even tried to create those two files in these paths. nothing.

---

<div class="post-metadata">

**Author:** ![Tim](https://avatars.discourse-cdn.com/v4/letter/t/ce73a5/32.png) [@Tim](https://forum.algorand.co/u/Tim)\
**Post date:** [January 21, 2020, 10:43pm UTC](https://forum.algorand.co/t/error-starting-node-on-ubuntu-subsystem-for-windows/1290/4 "2020-01-21T22:43:24Z")

</div>

I went ahead and ran through the install on a copy of Windows and it did work when I used both the full path and sudo to run the start command “sudo goal node start -d /var/lib/algorand”.

However, this has the consequence of creating all the ledger/log/algod files under root. I’m not sure if the Algorand team has a better suggestion for running under the Windows sub-system (@tsachi).

Depending on your needs @GGolov you might find the [Docker sandbox](https://medium.com/algorand/introducing-sandbox-the-quick-way-to-get-started-on-algorand-8082c2d18854) project Algorand released to be superior or try running under a Vagrant VM.

---

<div class="post-metadata">

**Author:** ![GGolov](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.algorand.co/ggolov/32/395_2.png) [@GGolov](https://forum.algorand.co/u/GGolov)\
**Post date:** [January 21, 2020, 11:00pm UTC](https://forum.algorand.co/t/error-starting-node-on-ubuntu-subsystem-for-windows/1290/5 "2020-01-21T23:00:43Z")

</div>

Yep, I forget to try with sudo those commands. Thanks.

---

<div class="post-metadata">

**Author:** ![tsachi](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.algorand.co/tsachi/32/29_2.png) [@tsachi](https://forum.algorand.co/u/tsachi)\
**Post date:** [January 21, 2020, 11:16pm UTC](https://forum.algorand.co/t/error-starting-node-on-ubuntu-subsystem-for-windows/1290/6 "2020-01-21T23:16:02Z")

</div>

Our current priorities are around making a deployable(s) that works natively under Ubuntu 18, Ubuntu 16, Centos/Redhad 7-8, Raspabian/32 and MacOS.

We have not experimented with Ubuntu Subsystem for Windows yet. If you’d like to continue using Windows as you’re primary operating system, you could either -

1. Use an Ubuntu Virtual Machine.
2. Use a docker container.
3. Try to follow @Tim notes above. It sounds like it should be “doable”, but I have yet to try it myself.

Good luck!
