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 or exe anywhere in lib directory

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.

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

Based on this entry in your config: 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