Cannot Start Ignition on Ubuntu 16.04

I was trying to restart the running ignition service thinking it would be fine but I was unable to. checking the status yields this output. I don't know why The: not found is appearing in the output.

The logs are complaining about not creating a JVM or the JVM exited while loading the application

STATUS | wrapper  | 2023/03/07 08:30:33 | Launching a JVM...
ERROR  | wrapper  | 2023/03/07 08:30:33 | JVM exited while loading the application.
INFO   | jvm 1    | 2023/03/07 08:30:33 | [0.001s][warning][gc] -Xloggc is deprecated. Will use -Xlog:gc:/var/log/ignition/javagc-20230307083032.log instead.
INFO   | jvm 1    | 2023/03/07 08:30:33 | Unrecognized VM option 'PrintGCTimeStamps'
INFO   | jvm 1    | 2023/03/07 08:30:33 | Error: Could not create the Java Virtual Machine.
INFO   | jvm 1    | 2023/03/07 08:30:33 | Error: A fatal exception has occurred. Program will exit.
STATUS | wrapper  | 2023/03/07 08:30:37 | Reloading Wrapper configuration...
STATUS | wrapper  | 2023/03/07 08:30:38 | JVM process is gone.
STATUS | wrapper  | 2023/03/07 08:30:38 | Launching a JVM...
ERROR  | wrapper  | 2023/03/07 08:30:38 | JVM exited while loading the application.

or

ERROR  | wrapper  | 2023/03/07 10:10:16 | JVM exited while loading the application.
INFO   | jvm 5    | 2023/03/07 10:10:16 | [0.001s][warning][gc] -Xloggc is deprecated. Will use -Xlog:gc:/var/log/ignition/javagc-20230307101016.log instead.
INFO   | jvm 5    | 2023/03/07 10:10:16 | Unrecognized VM option 'PrintGCTimeStamps'
INFO   | jvm 5    | 2023/03/07 10:10:16 | Error: Could not create the Java Virtual Machine.
INFO   | jvm 5    | 2023/03/07 10:10:16 | Error: A fatal exception has occurred. Program will exit.
DEBUG  | wrapper  | 2023/03/07 10:10:17 | Preparing to restart with mode 2.
DEBUG  | wrapper  | 2023/03/07 10:10:17 | JVM was only running for 0 seconds leading to a failed restart count of 5.
FATAL  | wrapper  | 2023/03/07 10:10:17 | There were 5 failed launches in a row, each lasting less than 300 seconds.  Giving up.
FATAL  | wrapper  | 2023/03/07 10:10:17 |   There may be a configuration problem: please check the logs.
DEBUG  | wrapperp | 2023/03/07 10:10:17 | closing backend server.

I am running ignition 8.0.12 while we look into upgrading.

If it's a configuration problem the only thing I've changed is adding debug info to the ignition.conf for better diagnosing.

I have attached my wrapper log, my ignition.conf and the output of journalctl -xe. Any help is much appreciated.
wrapper.log (6.7 MB)
ignition.conf.txt (8.8 KB)
journalctl.txt (128.1 KB)

The error says this line in your ignition.conf is a problem:

wrapper.java.additional.3=-Xloggc:/var/log/ignition/javagc-%WRAPPER_TIME_YYYYMMDDHHIISS%.log

Oops, not that one, this one:

wrapper.java.additional.7=-XX:+PrintGCTimeStamps

The former one is just deprecated.

Ok I'll take that out and see how it goes

You may find that all of the last 3 additional GC-related params are no longer supported in JDK 11.

1 Like

yup removed those from the conf and it started no problem. Thanks Kevin!