Per title. Installed on Debian linux using the zip file following the instructions in the README. I created my log in, selected standard edition, etc. When it got to starting the gateway, it got stuck. Tried stopping, rebooting, starting and didn't help.
deleted wrapper.log and ran ignition.sh start. Relevant part of the log is:
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.security.AccessController.doPrivileged(Native Method)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.desktop/java.awt.Toolkit.loadLibraries(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.desktop/java.awt.Toolkit.(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.desktop/java.awt.Color.(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at com.inductiveautomation.ignition.common.TypeUtilities.(TypeUtilities.java:179)
INFO | jvm 1 | 2023/05/01 13:11:16 | at com.inductiveautomation.ignition.gateway.IgnitionGateway.initInternal(IgnitionGateway.java:608)
INFO | jvm 1 | 2023/05/01 13:11:16 | at com.inductiveautomation.ignition.common.execution.impl.BasicExecutionEngine$ThrowableCatchingRunnable.run(BasicExecutionEngine.java:544)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.lang.Thread.run(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:17 | I [o.e.j.s.h.ContextHandler ] [17:11:17]: Started c.i.c.MainWebAppContext@3e2bccd0{Ignition,/,file:///usr/local/bin/ignition/webserver/webapps/main/,AVAILABLE}
INFO | jvm 1 | 2023/05/01 13:11:17 | I [o.e.j.s.AbstractConnector ] [17:11:17]: Started ServerConnector@433b6e24{HTTP/1.1, (http/1.1)}{0.0.0.0:8088}
INFO | jvm 1 | 2023/05/01 13:11:17 | WARNING: An illegal reflective access operation has occurred
INFO | jvm 1 | 2023/05/01 13:11:17 | WARNING: Illegal reflective access by com.inductiveautomation.ignition.gateway.util.IgnitionSocketImplFactory (file:/usr/local/bin/ignition/lib/core/gateway/gateway-8.1.27.jar) to constructor java.net.SocksSocketImpl()
INFO | jvm 1 | 2023/05/01 13:11:17 | WARNING: Please consider reporting this to the maintainers of com.inductiveautomation.ignition.gateway.util.IgnitionSocketImplFactory
INFO | jvm 1 | 2023/05/01 13:11:17 | WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
INFO | jvm 1 | 2023/05/01 13:11:17 | WARNING: All illegal access operations will be denied in a future release
INFO | jvm 1 | 2023/05/01 13:11:17 | I [o.e.j.s.AbstractConnector ] [17:11:17]: Started ServerConnector@1c3b50c8{SSL, (ssl, http/1.1)}{0.0.0.0:8060}
INFO | jvm 1 | 2023/05/01 13:11:17 | I [o.e.j.s.Server ] [17:11:17]: Started Server@4dc49fd8{STARTING}[10.0.13,sto=10000] @3337ms
Would love any suggestions on how to move forward.
I think you missed some of the logs, the stack trace looks incomplete. Can you upload the whole log file instead?
Okay, the full error is:
INFO | jvm 1 | 2023/05/01 13:11:16 | E [C.BasicExecutionEngine ] [17:11:16]: One-shot task com.inductiveautomation.ignition.gateway.IgnitionGateway$$Lambda$256/0x000000010036ec40@860e7cf threw uncaught exception.
INFO | jvm 1 | 2023/05/01 13:11:16 | java.lang.UnsatisfiedLinkError: /usr/local/bin/ignition/lib/runtime/jre-nix/lib/libawt_xawt.so: libXrender.so.1: cannot open shared object file: No such file or directory
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.lang.ClassLoader$NativeLibrary.load(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.lang.ClassLoader.loadLibrary0(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.lang.ClassLoader.loadLibrary(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.lang.Runtime.load0(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.lang.System.load(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.lang.ClassLoader$NativeLibrary.load(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.lang.ClassLoader.loadLibrary0(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.lang.ClassLoader.loadLibrary(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.lang.Runtime.loadLibrary0(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.lang.System.loadLibrary(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.desktop/java.awt.Toolkit$3.run(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.desktop/java.awt.Toolkit$3.run(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.security.AccessController.doPrivileged(Native Method)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.desktop/java.awt.Toolkit.loadLibraries(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.desktop/java.awt.Toolkit.<clinit>(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.desktop/java.awt.Color.<clinit>(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at com.inductiveautomation.ignition.common.TypeUtilities.<clinit>(TypeUtilities.java:179)
INFO | jvm 1 | 2023/05/01 13:11:16 | at com.inductiveautomation.ignition.gateway.IgnitionGateway.initInternal(IgnitionGateway.java:608)
INFO | jvm 1 | 2023/05/01 13:11:16 | at com.inductiveautomation.ignition.common.execution.impl.BasicExecutionEngine$ThrowableCatchingRunnable.run(BasicExecutionEngine.java:544)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
INFO | jvm 1 | 2023/05/01 13:11:16 | at java.base/java.lang.Thread.run(Unknown Source)
The important part:
java.lang.UnsatisfiedLinkError: /usr/local/bin/ignition/lib/runtime/jre-nix/lib/libawt_xawt.so: libXrender.so.1: cannot open shared object file: No such file or directory
Is this a headless environment? What version of Debian?
Headless so everything is command line via ssh.
Debian 10
Hmm. Well, for now you probably need to install the libxrender1
package.
Did that and tried again. Saw more, similar errors.
Ran apt upgrade and a lot of stuff upgraded.
Tried again and still did not succeed. New wrapper.log file:
wrapper.log (13.5 KB)
Now try installing libXtst.so.6
package?
/usr/local/bin/ignition/lib/runtime/jre-nix/lib/libawt_xawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
I usually just install the non-headless version of openjdk-11-jdk
. The non-headless jre would suffice, I suppose, but I like having the tools if I need them.
I imagine this only works because it also happens to install the necessary dependencies, but not because Ignition will use this JDK - Ignition includes its own. You can modify ignition.conf to point at another JDK, though...
Looks like now you need the libstxt6
package.
Yup. And then I only repoint Ignition to use the system JDK if I need to profile it.
installed openjdk described above and that got me going. Thanks!!!