# Windows could not start Ignition gateway on Local Computer, error code 6

**URL:** <https://forum.inductiveautomation.com/t/windows-could-not-start-ignition-gateway-on-local-computer-error-code-6/37818>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [August 17, 2020, 5:20pm UTC](https://forum.inductiveautomation.com/t/windows-could-not-start-ignition-gateway-on-local-computer-error-code-6/37818 "2020-08-17T17:20:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [August 17, 2020, 5:20pm UTC](https://forum.inductiveautomation.com/t/windows-could-not-start-ignition-gateway-on-local-computer-error-code-6/37818/1 "2020-08-17T17:20:02Z")

</div>

This just happened today to a system that has been running for a while. Ignition gateway cannot be started -  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/0/a0d52a7c3c356d4f71c58935e894ec8e10588cca.png)

And here is the attached wrapper log - [wrapper.zip](https://forum.inductiveautomation.com/uploads/short-url/vIZCRMSsfug2bnDuW6OvnlT1At4.zip) (339.0 KB)

Any ideas what is going on?

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [August 17, 2020, 5:31pm UTC](https://forum.inductiveautomation.com/t/windows-could-not-start-ignition-gateway-on-local-computer-error-code-6/37818/2 "2020-08-17T17:31:21Z")

</div>

```auto
STATUS | wrapper | 2020/08/17 13:12:44 | --> Wrapper Started as Service
STATUS | wrapper | 2020/08/17 13:12:44 | Java Service Wrapper Standard Edition 64-bit 3.5.27
STATUS | wrapper | 2020/08/17 13:12:44 | Copyright (C) 1999-2015 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2020/08/17 13:12:44 | http://wrapper.tanukisoftware.com
STATUS | wrapper | 2020/08/17 13:12:44 | Licensed to Inductive Automation for Ignition Gateway
STATUS | wrapper | 2020/08/17 13:12:44 | 
STATUS | wrapper | 2020/08/17 13:12:44 | Launching a JVM...
INFO | jvm 1 | 2020/08/17 13:12:45 | Error: loading: C:\Program Files\Java\jre1.8.0_261\bin\server\jvm.dll
ERROR | wrapper | 2020/08/17 13:12:45 | JVM exited while loading the application.
STATUS | wrapper | 2020/08/17 13:12:49 | Reloading Wrapper configuration...
STATUS | wrapper | 2020/08/17 13:12:50 | Launching a JVM...
INFO | jvm 2 | 2020/08/17 13:12:50 | Error: loading: C:\Program Files\Java\jre1.8.0_261\bin\server\jvm.dll
ERROR | wrapper | 2020/08/17 13:12:50 | JVM exited while loading the application.
STATUS | wrapper | 2020/08/17 13:12:55 | Reloading Wrapper configuration...
STATUS | wrapper | 2020/08/17 13:12:55 | Launching a JVM...
INFO | jvm 3 | 2020/08/17 13:12:55 | Error: loading: C:\Program Files\Java\jre1.8.0_261\bin\server\jvm.dll
ERROR | wrapper | 2020/08/17 13:12:55 | JVM exited while loading the application.
STATUS | wrapper | 2020/08/17 13:13:00 | Reloading Wrapper configuration...
STATUS | wrapper | 2020/08/17 13:13:00 | Launching a JVM...
INFO | jvm 4 | 2020/08/17 13:13:00 | Error: loading: C:\Program Files\Java\jre1.8.0_261\bin\server\jvm.dll
ERROR | wrapper | 2020/08/17 13:13:00 | JVM exited while loading the application.
STATUS | wrapper | 2020/08/17 13:13:05 | Reloading Wrapper configuration...
STATUS | wrapper | 2020/08/17 13:13:05 | Launching a JVM...
INFO | jvm 5 | 2020/08/17 13:13:05 | Error: loading: C:\Program Files\Java\jre1.8.0_261\bin\server\jvm.dll
ERROR | wrapper | 2020/08/17 13:13:05 | JVM exited while loading the application.
FATAL | wrapper | 2020/08/17 13:13:05 | There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up.
FATAL | wrapper | 2020/08/17 13:13:05 | There may be a configuration problem: please check the logs.
STATUS | wrapper | 2020/08/17 13:13:06 | <-- Wrapper Stopped

```

I cannot upload the jvm.dll file as even zipped it’s too large. If it will help, I can upload it to a 3rd party site.

---

<div class="post-metadata">

**Author:** ![robb](https://avatars.discourse-cdn.com/v4/letter/r/a183cd/32.png) [@robb](https://forum.inductiveautomation.com/u/robb)\
**Post date:** [August 17, 2020, 5:42pm UTC](https://forum.inductiveautomation.com/t/windows-could-not-start-ignition-gateway-on-local-computer-error-code-6/37818/3 "2020-08-17T17:42:19Z")

</div>

corrupted .dll?

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [August 17, 2020, 5:44pm UTC](https://forum.inductiveautomation.com/t/windows-could-not-start-ignition-gateway-on-local-computer-error-code-6/37818/4 "2020-08-17T17:44:00Z")

</div>

I suppose. That’s what the wrapper log semes to imply, there’s something wrong with the .dll. Any ideas on how to fix this?

---

<div class="post-metadata">

**Author:** ![robb](https://avatars.discourse-cdn.com/v4/letter/r/a183cd/32.png) [@robb](https://forum.inductiveautomation.com/u/robb)\
**Post date:** [August 17, 2020, 5:45pm UTC](https://forum.inductiveautomation.com/t/windows-could-not-start-ignition-gateway-on-local-computer-error-code-6/37818/5 "2020-08-17T17:45:49Z")

</div>

I’m really new to Ignition, but I’d hazard a guess that jvm.dll is the java virtual machine dynamic linked library. Historically, reinstalling affected software would replace the broken dll with a working version, though occasionally the source files are corrupted, too.

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [August 18, 2020, 12:45pm UTC](https://forum.inductiveautomation.com/t/windows-could-not-start-ignition-gateway-on-local-computer-error-code-6/37818/6 "2020-08-18T12:45:54Z")

</div>

I fixed it.

First I tried re-installing java jre 8 291. This did nothing.

Then, I went to command prompt and tried running `java -version` and got an error that a ms-win-crt-runtime-l1-1-0.dll was missing. Googling this lead me to [here](https://www.ghacks.net/2017/06/06/the-program-cant-start-because-api-ms-win-crt-runtime-l1-1-0-dll-is-missing/#:~:text=not%20thrown%20anymore.-,The%20program%20can't%20start%20because%20api%2Dms%2Dwin,%2Dl1%2D1%2D0.&text=The%20error%20indicates%20that%20the,program%20that%20throws%20the%20error.) which said that it had to do with an outdated C++ Redistributable.

I installed Microsoft Visual C++ Redistributable 2015, and then Ignition started working again.

As to how things got into this state, I have no idea, but this was the fix.
