Gateway not Starting - Unable to execute Java command. The system cannot find the file specified. (0x2)

Have been running this ignition gateway for a couple of years now and encountered this issue today with the gateway not starting even after rebooting server (reboot took place around 15:30 today 5/10/2021). Everything was working fine as of 14:00 or so. Server is not managed by our IT and I checked with the handful of individuals that have access to the machine and no changes have been made to the server.

Followed these 2 other posts, but still having issues

  • Have not downgraded ignition
  • have not upgrade java
  • have not restored backup
  • Don’t see EMET installed
  • don’t have a runtime directory within lib directory nor do I have a jre-win.zip or exe anywhere in lib directory

http://forum.inductiveautomation.com/t/gateway-not-starting/31217
https://support.inductiveautomation.com/hc/en-us/articles/360047175452-Ignition-service-will-not-start-giving-NET-HELPMSG-3547-or-Windows-Services-showing-service-specific-error-code-1

Service will not start via services list either.

Wrapper file output
wrapper.txt (2.6 MB)

Config file
ignition.txt (8.7 KB)

Actually on reboot prompted an update from windows. Looks like this is the new build. Noticed the log doesn’t show that error before the reboot.

https://support.microsoft.com/en-us/topic/april-13-2021-kb5001342-os-build-17763-1879-52e9180d-0cd3-4ab9-8a35-514c07ea9e08

Have you looked in the folder from your config file to see if java.exe is there?

Based on this entry in your config:

wrapper.java.command=C:/Program Files/Java/jdk1.8.0_201/jre/bin/java.exe

The version is spelled out in the config file, so any change to java would have broken that path.

Thanks a ton! that was the issue

Which means Java was upgraded.

1 Like