Gateway Startup Failed Raspberry

Good morning,
I am in possession of a raspberry pi 4 aarch 64.
I have installed ignition (from the command line following tutorials and file "Read me" in the ignition folder) to use the maker edition and I find errors when starting the gateway.
The installed version is 8.1.25 and the java version used is 1.8.0_312.
I should mention that I have tried to use other versions as well as trying different releases.
As a first step I used the version for ARM architecture: aarch 64 but during installation the gateway would not start and the PID did not appear.
As a second step I installed the 32-bit version for ARM and in this case everything worked, the PID appeared and I was able to access the gateway's management page; I entered the credentials and licence (key and token) successfully.
However, when I press 'Start Gateway' on the web page it doesn't start and I get the error as shown in the picture:

What is the problem?

Thanks

DDS

Supply an extract of your wrapper.log file around where that failure occurs. (After you paste the text, highlight it and click the "Preformatted text" button in the comment editor.)

INFO   | jvm 1    | 2023/05/04 09:17:11 | I [o.e.j.s.AbstractConnector     ] [07:17:11]: Started ServerConnector@bf2e83{SSL, (ssl, http/1.1)}{0.0.0.0:8060} 
INFO   | jvm 1    | 2023/05/04 09:17:11 | I [Commissioning                 ] [07:17:11]: BACnet Driver-module.modl is incompatible with maker edition and was removed. 
INFO   | jvm 1    | 2023/05/04 09:17:11 | I [Commissioning                 ] [07:17:11]: Enterprise Administration-module.modl is incompatible with maker edition and was removed. 
INFO   | jvm 1    | 2023/05/04 09:17:11 | I [Commissioning                 ] [07:17:11]: DNP3-Driver.modl is incompatible with maker edition and was removed. 
INFO   | jvm 1    | 2023/05/04 09:17:11 | I [Commissioning                 ] [07:17:11]: Serial Support Client-module.modl is incompatible with maker edition and was removed. 
INFO   | jvm 1    | 2023/05/04 09:17:11 | I [Commissioning                 ] [07:17:11]: SMS Notification-module.modl is incompatible with maker edition and was removed. 
INFO   | jvm 1    | 2023/05/04 09:17:11 | I [Commissioning                 ] [07:17:11]: Symbol Factory-module.modl is incompatible with maker edition and was removed. 
INFO   | jvm 1    | 2023/05/04 09:17:11 | I [Commissioning                 ] [07:17:11]: Vision-module.modl is incompatible with maker edition and was removed. 
INFO   | jvm 1    | 2023/05/04 09:17:11 | I [Commissioning                 ] [07:17:11]: Web Browser Module.modl is incompatible with maker edition and was removed. 
INFO   | jvm 1    | 2023/05/04 09:17:11 | I [o.e.j.s.h.ContextHandler      ] [07:17:11]: Stopped o.e.j.w.WebAppContext@fb0665{Commissioning,/,file:///usr/local/ignition/webserver/webapps/commissioning/,STOPPED} 
INFO   | jvm 1    | 2023/05/04 09:17:11 | I [Commissioning                 ] [07:17:11]: Commissioning State updated from needs_commissioning to commissioned 
INFO   | jvm 1    | 2023/05/04 09:17:11 | 09:17:11,438 |-INFO in ch.qos.logback.classic.servlet.LogbackServletContainerInitializer@1751d21 - Due to deployment instructions will NOT register an instance of class ch.qos.logback.classic.servlet.LogbackServletContextListener to the current web-app
INFO   | jvm 1    | 2023/05/04 09:17:11 | W [o.e.j.u.DeprecationWarning    ] [07:17:11]: Using @Deprecated Class org.eclipse.jetty.servlet.listener.ELContextCleaner 
INFO   | jvm 1    | 2023/05/04 09:17:11 | I [o.a.w.Application             ] [07:17:11]: [WicketFilter] init: Wicket core library initializer 
INFO   | jvm 1    | 2023/05/04 09:17:11 | I [o.a.w.RequestListenerInterface] [07:17:11]: registered listener interface [RequestListenerInterface name=IBehaviorListener, method=public abstract void org.apache.wicket.behavior.IBehaviorListener.onRequest()] 
INFO   | jvm 1    | 2023/05/04 09:17:11 | I [o.a.w.RequestListenerInterface] [07:17:11]: registered listener interface [RequestListenerInterface name=IFormSubmitListener, method=public abstract void org.apache.wicket.markup.html.form.IFormSubmitListener.onFormSubmitted()] 
INFO   | jvm 1    | 2023/05/04 09:17:11 | I [o.a.w.RequestListenerInterface] [07:17:11]: registered listener interface [RequestListenerInterface name=ILinkListener, method=public abstract void org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()] 
INFO   | jvm 1    | 2023/05/04 09:17:11 | I [o.a.w.RequestListenerInterface] [07:17:11]: registered listener interface [RequestListenerInterface name=IOnChangeListener, method=public abstract void org.apache.wicket.markup.html.form.IOnChangeListener.onSelectionChanged()] 
INFO   | jvm 1    | 2023/05/04 09:17:11 | I [o.a.w.RequestListenerInterface] [07:17:11]: registered listener interface [RequestListenerInterface name=IRedirectListener, method=public abstract void org.apache.wicket.IRedirectListener.onRedirect()] 
INFO   | jvm 1    | 2023/05/04 09:17:11 | I [o.a.w.RequestListenerInterface] [07:17:11]: registered listener interface [RequestListenerInterface name=IResourceListener, method=public abstract void org.apache.wicket.IResourceListener.onResourceRequested()] 
INFO   | jvm 1    | 2023/05/04 09:17:11 | I [o.a.w.Application             ] [07:17:11]: [WicketFilter] init: Wicket extensions initializer 
INFO   | jvm 1    | 2023/05/04 09:17:11 | I [IgnitionGateway               ] [07:17:11]: Ignition[state=STOPPED] ContextState = STARTING 
INFO   | jvm 1    | 2023/05/04 09:17:11 | I [IgnitionGateway               ] [07:17:11]: Starting Ignition 8.1.25 (b2023021409) 
INFO   | jvm 1    | 2023/05/04 09:17:11 | I [IgnitionGateway               ] [07:17:11]: Reloading JDBC classloader. 
INFO   | jvm 1    | 2023/05/04 09:17:11 | I [o.a.w.p.h.WebApplication      ] [07:17:11]: [WicketFilter] Started Wicket version 6.30.0 in DEPLOYMENT mode 
INFO   | jvm 1    | 2023/05/04 09:17:12 | I [R.S.S.InternalDb              ] [07:17:12]: Internal db synchronizer disk cache initialized. State id=null redundant-provider=internaldb
INFO   | jvm 1    | 2023/05/04 09:17:12 | I [R.StateMonitoring             ] [07:17:12]: Redundancy state changed: Role=Independent, Activity level=Active, Project state=Good, History level=Full redundant-provider=system
INFO   | jvm 1    | 2023/05/04 09:17:12 | I [g.InternalDatabaseManager     ] [07:17:12]: Starting up... 
INFO   | jvm 1    | 2023/05/04 09:17:12 | I [P.InternalDatabase            ] [07:17:12]: Looking for existing internal database "config.idb"... 
INFO   | jvm 1    | 2023/05/04 09:17:12 | I [P.InternalDatabase            ] [07:17:12]: ... no files found, will create. 
INFO   | jvm 1    | 2023/05/04 09:17:12 | I [P.InternalDatabase            ] [07:17:12]: Creating new internal database "config.idb". 
INFO   | jvm 1    | 2023/05/04 09:17:12 | Failed to load native library:sqlite-3.39.2.0-10bfa1ff-bfe8-486d-8350-be204dc57fc6-libsqlitejdbc.so. osinfo: Linux/aarch64
INFO   | jvm 1    | 2023/05/04 09:17:12 | java.lang.UnsatisfiedLinkError: /tmp/sqlite-3.39.2.0-10bfa1ff-bfe8-486d-8350-be204dc57fc6-libsqlitejdbc.so: /tmp/sqlite-3.39.2.0-10bfa1ff-bfe8-486d-8350-be204dc57fc6-libsqlitejdbc.so: classe ELF errata: ELFCLASS64 (Possible cause: architecture word width mismatch)
INFO   | jvm 1    | 2023/05/04 09:17:12 | W [P.InternalDatabase            ] [07:17:12]: Unable to restore from autobackups because none were found. 
INFO   | jvm 1    | 2023/05/04 09:17:12 | E [P.InternalDatabase            ] [07:17:12]: Startup of internal database "config.idb" failed, autobackups disabled. 
INFO   | jvm 1    | 2023/05/04 09:17:12 | java.sql.SQLException: Error opening connection
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at org.sqlite.SQLiteConnection.open(SQLiteConnection.java:257)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at org.sqlite.SQLiteConnection.<init>(SQLiteConnection.java:60)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at org.sqlite.jdbc3.JDBC3Connection.<init>(JDBC3Connection.java:23)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at org.sqlite.jdbc4.JDBC4Connection.<init>(JDBC4Connection.java:19)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at org.sqlite.JDBC.createConnection(JDBC.java:104)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at org.sqlite.JDBC.connect(JDBC.java:77)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at java.sql/java.sql.DriverManager.getConnection(Unknown Source)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at java.sql/java.sql.DriverManager.getConnection(Unknown Source)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at com.inductiveautomation.ignition.gateway.localdb.sqlite.SQLiteDBManager.createInitialDatabase(SQLiteDBManager.java:370)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at com.inductiveautomation.ignition.gateway.localdb.sqlite.SQLiteDBManager.startupInternal(SQLiteDBManager.java:312)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at com.inductiveautomation.ignition.gateway.localdb.sqlite.SQLiteDBManager.startup(SQLiteDBManager.java:205)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at com.inductiveautomation.ignition.gateway.localdb.LocalDBManagerImpl.setup(LocalDBManagerImpl.java:176)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at com.inductiveautomation.ignition.gateway.IgnitionGateway.startupInternal(IgnitionGateway.java:986)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at com.inductiveautomation.ignition.gateway.redundancy.RedundancyManagerImpl.startup(RedundancyManagerImpl.java:301)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at com.inductiveautomation.ignition.gateway.IgnitionGateway.initRedundancy(IgnitionGateway.java:751)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at com.inductiveautomation.ignition.gateway.IgnitionGateway.lambda$initInternal$0(IgnitionGateway.java:685)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at com.inductiveautomation.ignition.common.execution.impl.BasicExecutionEngine$ThrowableCatchingRunnable.run(BasicExecutionEngine.java:544)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at java.base/java.lang.Thread.run(Unknown Source)
INFO   | jvm 1    | 2023/05/04 09:17:12 | Caused by: java.lang.Exception: No native library found for os.name=Linux, os.arch=aarch64, paths=[/org/sqlite/native/Linux/aarch64:lib]
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at org.sqlite.SQLiteJDBCLoader.loadSQLiteNativeLibrary(SQLiteJDBCLoader.java:391)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at org.sqlite.SQLiteJDBCLoader.initialize(SQLiteJDBCLoader.java:65)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at org.sqlite.core.NativeDB.load(NativeDB.java:61)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at org.sqlite.SQLiteConnection.open(SQLiteConnection.java:254)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	... 22 common frames omitted
INFO   | jvm 1    | 2023/05/04 09:17:12 | I [g.InternalDatabaseManager     ] [07:17:12]: DBManager shutting down (immediate)... 
INFO   | jvm 1    | 2023/05/04 09:17:12 | I [g.InternalDatabaseManager     ] [07:17:12]: DBManager shut down in 0ms 
INFO   | jvm 1    | 2023/05/04 09:17:12 | E [IgnitionGateway               ] [07:17:12]: Error during context startup. 
INFO   | jvm 1    | 2023/05/04 09:17:12 | com.inductiveautomation.ignition.gateway.localdb.DBStartupException: Error loading internal database "config.idb"
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at com.inductiveautomation.ignition.gateway.localdb.sqlite.SQLiteDBManager.startup(SQLiteDBManager.java:257)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at com.inductiveautomation.ignition.gateway.localdb.LocalDBManagerImpl.setup(LocalDBManagerImpl.java:176)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at com.inductiveautomation.ignition.gateway.IgnitionGateway.startupInternal(IgnitionGateway.java:986)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at com.inductiveautomation.ignition.gateway.redundancy.RedundancyManagerImpl.startup(RedundancyManagerImpl.java:301)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at com.inductiveautomation.ignition.gateway.IgnitionGateway.initRedundancy(IgnitionGateway.java:751)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at com.inductiveautomation.ignition.gateway.IgnitionGateway.lambda$initInternal$0(IgnitionGateway.java:685)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at com.inductiveautomation.ignition.common.execution.impl.BasicExecutionEngine$ThrowableCatchingRunnable.run(BasicExecutionEngine.java:544)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at java.base/java.lang.Thread.run(Unknown Source)
INFO   | jvm 1    | 2023/05/04 09:17:12 | Caused by: java.sql.SQLException: Error opening connection
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at org.sqlite.SQLiteConnection.open(SQLiteConnection.java:257)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at org.sqlite.SQLiteConnection.<init>(SQLiteConnection.java:60)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at org.sqlite.jdbc3.JDBC3Connection.<init>(JDBC3Connection.java:23)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at org.sqlite.jdbc4.JDBC4Connection.<init>(JDBC4Connection.java:19)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at org.sqlite.JDBC.createConnection(JDBC.java:104)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at org.sqlite.JDBC.connect(JDBC.java:77)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at java.sql/java.sql.DriverManager.getConnection(Unknown Source)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at java.sql/java.sql.DriverManager.getConnection(Unknown Source)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at com.inductiveautomation.ignition.gateway.localdb.sqlite.SQLiteDBManager.createInitialDatabase(SQLiteDBManager.java:370)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at com.inductiveautomation.ignition.gateway.localdb.sqlite.SQLiteDBManager.startupInternal(SQLiteDBManager.java:312)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at com.inductiveautomation.ignition.gateway.localdb.sqlite.SQLiteDBManager.startup(SQLiteDBManager.java:205)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	... 12 common frames omitted
INFO   | jvm 1    | 2023/05/04 09:17:12 | Caused by: java.lang.Exception: No native library found for os.name=Linux, os.arch=aarch64, paths=[/org/sqlite/native/Linux/aarch64:lib]
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at org.sqlite.SQLiteJDBCLoader.loadSQLiteNativeLibrary(SQLiteJDBCLoader.java:391)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at org.sqlite.SQLiteJDBCLoader.initialize(SQLiteJDBCLoader.java:65)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at org.sqlite.core.NativeDB.load(NativeDB.java:61)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	at org.sqlite.SQLiteConnection.open(SQLiteConnection.java:254)
INFO   | jvm 1    | 2023/05/04 09:17:12 | 	... 22 common frames omitted
INFO   | jvm 1    | 2023/05/04 09:17:12 | I [IgnitionGateway               ] [07:17:12]: Ignition[state=STARTING] ContextState = FAULTED 
INFO   | jvm 1    | 2023/05/04 09:17:12 | I [o.e.j.s.h.ContextHandler      ] [07:17:12]: Started c.i.c.MainWebAppContext@1f45415{Ignition,/,file:///usr/local/ignition/webserver/webapps/main/,AVAILABLE}

Hmm...

More hmmm

1 Like

You may need to try getting the aarch64 version working again. Getting the logs after that fails to start would be helpful.

Also the output of uname -a in a terminal could be useful.

1 Like

This is the error, no wrapper.log file find in the logs folder

I would not know where to find the files indicated by the command line

It's not telling you to look for files, it's telling you to run commands:

  • systemctl status Ignition-Gateway.service
  • journalctl -xe

What is the output of the uname -a command? I know the RPi4 CPU is 64-bit, but it's important to know whether you have a 32-bit or 64-bit distro installed on top of it.

This is the output:

I am having the exact same issue with Ignition Edge (not Maker) installations on Onlogic FR201 Raspberry Pi units out of the box, which come with Raspian Bullseye. I have tried going back to 8.1.25 with no luck.

Through painful experience, I can tell you that if you install 8.1.22, it will install on the Pi correctly. All versions above that seem to have the same problem. This is at least true for Edge.

Hmm, you sure 8.1.22 works and it's not 8.1.21?

In 8.1.22 we upgraded SQLite and one of the side effects was that on ARM, it links against a newer GLIBC version (2.28) than before. This effectively ended support for Debian 9 / Raspbian 9 on ARM.

Otherwise I'm not sure what's happening yet. If the software / hardware architectures are all aligned you should at least get an attempt at starting and some wrapper.log entries to troubleshoot with.

You are absolutely right, I mistyped or go distracted at the wrong time (that hardly EVER happens). It works with 8.1.21.

Good morning,
I tried to install release 8.1.21 with 64 bit architecture but it shows the same problem.
If I install instead the 8.1.21 release with 32 bit architecture (also for ARM) Ignition installs perfectly and the gateway finally works and I can log in.

Good morning,
I'm trying to install ignition on a Kunbus device and I can't.
I have tried various versions with different architectures (ARM 32 and aarch64).
Kunbus is a raspberry with aarch 64 architecture.
I attach the logs and the version of java
wrapperARM32.log (69.0 KB)
wrapperaarch64.log (57.8 KB)

image

How much memory does your device have? How much is configured in ignition.conf?

It looks like it starts fine, probably landing in commissioning mode, then gets killed:

INFO   | jvm 5    | 2024/01/26 16:54:20 | I [o.e.j.s.AbstractConnector     ] [15:54:20]: Started ServerConnector@c8050e2{HTTP/1.1, (http/1.1)}{0.0.0.0:8088} 
INFO   | jvm 5    | 2024/01/26 16:54:21 | I [g.ModuleManager               ] [15:54:21]: Loading modules.... 
INFO   | jvm 5    | 2024/01/26 16:54:22 | I [o.e.j.s.AbstractConnector     ] [15:54:22]: Started ServerConnector@5b26175{SSL, (ssl, http/1.1)}{0.0.0.0:8060} 
INFO   | jvm 5    | 2024/01/26 16:54:22 | I [o.e.j.s.Server                ] [15:54:22]: Started @10805ms 
STATUS | wrapper  | 2024/01/26 16:54:23 | JVM received a signal SIGKILL (9).
STATUS | wrapper  | 2024/01/26 16:54:24 | JVM process is gone.
ERROR  | wrapper  | 2024/01/26 16:54:24 | JVM exited unexpectedly.

I ran the classic script I usually use to install ignition on raspberry from this link (https://support.inductiveautomation.com/hc/en-us/articles/360047576431-Installing-Ignition-Edge-on-Raspberry-Pi).
However, I did not edit the ignition.conf file so I don't know what settings are there.
The memory in the free device is about 2.7 GB

Hi,
sorry but i misunderstood the question, the dispostitive has 1 gb of ram