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

This just happened today to a system that has been running for a while. Ignition gateway cannot be started -
image

And here is the attached wrapper log - wrapper.zip (339.0 KB)

Any ideas what is going on?

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.

corrupted .dll?

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?

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.

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 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.