Ignition gateway unable to start

I was using Ignition 8.1.24 and it was running smooth till last week. When I tried to launch the designer, I noticed that it failed to connect to gateway. I navigated to gateway page and saw that the gateway was not running. I tried to manually start the Ignition service but the service was unable to start and gave "Error 1".
Afterwards, I tried upgrading the Ignition version to the latest one i.e. 8.1.31 but I still received the same error sating "Ignition gateway unable to start."
Below are my wrapper logs.

STATUS | wrapperm | 2023/09/05 11:20:07 | Starting the Ignition Gateway service...
STATUS | wrapper  | 2023/09/05 11:20:07 | --> Wrapper Started as Service
STATUS | wrapper  | 2023/09/05 11:20:07 | Java Service Wrapper Standard Edition 64-bit 3.5.42
STATUS | wrapper  | 2023/09/05 11:20:07 |   Copyright (C) 1999-2020 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper  | 2023/09/05 11:20:07 |     http://wrapper.tanukisoftware.com
STATUS | wrapper  | 2023/09/05 11:20:07 |   Licensed to Inductive Automation for Inductive Automation
STATUS | wrapper  | 2023/09/05 11:20:07 | 
STATUS | wrapper  | 2023/09/05 11:20:08 | Launching a JVM...
INFO   | jvm 1    | 2023/09/05 11:20:08 | WrapperManager: Initializing...
INFO   | jvm 1    | 2023/09/05 11:20:08 | 11:20:08,774 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [data\\logback.xml] at [file:/C:/Program%20Files/Inductive%20Automation/Ignition/data/logback.xml]
INFO   | jvm 1    | 2023/09/05 11:20:08 | 11:20:08,823 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
INFO   | jvm 1    | 2023/09/05 11:20:08 | 11:20:08,824 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [SysoutAppender]
INFO   | jvm 1    | 2023/09/05 11:20:08 | 11:20:08,827 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
INFO   | jvm 1    | 2023/09/05 11:20:08 | 11:20:08,839 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [com.inductiveautomation.logging.SQLiteAppender]
INFO   | jvm 1    | 2023/09/05 11:20:08 | 11:20:08,844 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [DB]
INFO   | jvm 1    | 2023/09/05 11:20:09 | 11:20:08,996 |-INFO in ch.qos.logback.core.db.DataSourceConnectionSource@256787a2 - Driver name=SQLite JDBC
INFO   | jvm 1    | 2023/09/05 11:20:09 | 11:20:08,996 |-INFO in ch.qos.logback.core.db.DataSourceConnectionSource@256787a2 - Driver version=3.41.2.2
INFO   | jvm 1    | 2023/09/05 11:20:09 | 11:20:08,996 |-INFO in ch.qos.logback.core.db.DataSourceConnectionSource@256787a2 - supportsGetGeneratedKeys=true
INFO   | jvm 1    | 2023/09/05 11:20:09 | 11:20:09,002 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.classic.AsyncAppender]
INFO   | jvm 1    | 2023/09/05 11:20:09 | 11:20:09,003 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [SysoutAsync]
INFO   | jvm 1    | 2023/09/05 11:20:09 | 11:20:09,003 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [SysoutAppender] to ch.qos.logback.classic.AsyncAppender[SysoutAsync]
INFO   | jvm 1    | 2023/09/05 11:20:09 | 11:20:09,003 |-INFO in ch.qos.logback.classic.AsyncAppender[SysoutAsync] - Attaching appender named [SysoutAppender] to AsyncAppender.
INFO   | jvm 1    | 2023/09/05 11:20:09 | 11:20:09,003 |-INFO in ch.qos.logback.classic.AsyncAppender[SysoutAsync] - Setting discardingThreshold to 51
INFO   | jvm 1    | 2023/09/05 11:20:09 | 11:20:09,003 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.classic.AsyncAppender]
INFO   | jvm 1    | 2023/09/05 11:20:09 | 11:20:09,004 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [DBAsync]
INFO   | jvm 1    | 2023/09/05 11:20:09 | 11:20:09,004 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [DB] to ch.qos.logback.classic.AsyncAppender[DBAsync]
INFO   | jvm 1    | 2023/09/05 11:20:09 | 11:20:09,004 |-INFO in ch.qos.logback.classic.AsyncAppender[DBAsync] - Attaching appender named [DB] to AsyncAppender.
INFO   | jvm 1    | 2023/09/05 11:20:09 | 11:20:09,004 |-INFO in ch.qos.logback.classic.AsyncAppender[DBAsync] - Setting discardingThreshold to 51
INFO   | jvm 1    | 2023/09/05 11:20:09 | 11:20:09,004 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO
INFO   | jvm 1    | 2023/09/05 11:20:09 | 11:20:09,004 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [SysoutAsync] to Logger[ROOT]
INFO   | jvm 1    | 2023/09/05 11:20:09 | 11:20:09,004 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [DBAsync] to Logger[ROOT]
INFO   | jvm 1    | 2023/09/05 11:20:09 | 11:20:09,004 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
INFO   | jvm 1    | 2023/09/05 11:20:09 | 11:20:09,006 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@6b16bfef - Registering current configuration as safe fallback point
INFO   | jvm 1    | 2023/09/05 11:20:09 | Scheduling logfile maintenance. Last maintenance: Wed Dec 31 18:00:00 CST 1969, events since then: 0
INFO   | jvm 1    | 2023/09/05 11:20:09 | Starting logfile maintenance. Max entries: 50000, Max filesize: 104857600
INFO   | jvm 1    | 2023/09/05 11:20:09 | Cleaned up 6 rows in 13 ms. Vacuum performed: false
INFO   | jvm 1    | 2023/09/05 11:20:09 | 11:20:09,031 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@40bc50f3 - Propagating INFO level on Logger[ROOT] onto the JUL framework
INFO   | jvm 1    | 2023/09/05 11:20:09 | W [WebResourceManagerImpl        ] [16:20:09]: Unable to read "gateway.metroKeystoreAlias" gateway.xml property. Assuming metro keystore alias is: metro-key 
INFO   | jvm 1    | 2023/09/05 11:20:09 | I [g.WebServerManager            ] [16:20:09]: Starting setup 
INFO   | jvm 1    | 2023/09/05 11:20:09 | I [g.WebServerManager            ] [16:20:09]: Setup complete 
INFO   | jvm 1    | 2023/09/05 11:20:09 | I [Commissioning                 ] [16:20:09]: Resources needing commissioning: eula 
INFO   | jvm 1    | 2023/09/05 11:20:09 | I [Commissioning                 ] [16:20:09]: Commissioning State updated from commissioning to needs_commissioning 
INFO   | jvm 1    | 2023/09/05 11:20:09 | I [g.WebServerManager            ] [16:20:09]: Starting up 
INFO   | jvm 1    | 2023/09/05 11:20:09 | I [C.SecureRandomProvider        ] [16:20:09]: Secure random seed generated in 1ms 
INFO   | jvm 1    | 2023/09/05 11:20:09 | I [o.e.j.s.Server                ] [16:20:09]: jetty-10.0.15; built: 2023-04-11T17:25:14.480Z; git: 68017dbd00236bb7e187330d7585a059610f661d; jvm 11.0.18+10-LTS 
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp: 
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: Encountered an error running main:
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: java.io.IOException: Failed to bind to 0.0.0.0/0.0.0.0:8088
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:344)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:304)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at org.eclipse.jetty.server.Server.lambda$doStart$0(Server.java:402)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at org.eclipse.jetty.server.Server.doStart(Server.java:398)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at com.inductiveautomation.catapult.IgnitionServer.start(IgnitionServer.java:1281)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at com.inductiveautomation.ignition.gateway.web.WebResourceManagerImpl.start(WebResourceManagerImpl.java:351)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at com.inductiveautomation.ignition.gateway.IgnitionGateway.start(IgnitionGateway.java:584)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at com.inductiveautomation.ignition.gateway.IgnitionGateway.main(IgnitionGateway.java:305)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at com.inductiveautomation.catapult.Catapult.main(Catapult.java:8)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:349)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at java.base/java.lang.Thread.run(Unknown Source)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: Caused by: java.net.BindException: Address already in use: bind
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at java.base/sun.nio.ch.Net.bind0(Native Method)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at java.base/sun.nio.ch.Net.bind(Unknown Source)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at java.base/sun.nio.ch.Net.bind(Unknown Source)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:339)
INFO   | jvm 1    | 2023/09/05 11:20:09 | WrapperSimpleApp Error: 	... 25 more
STATUS | wrapper  | 2023/09/05 11:20:11 | <-- Wrapper Stopped
INFO   | wrapperm | 2023/09/05 11:20:12 | Waiting to start...
ERROR  | wrapperm | 2023/09/05 11:20:13 | The Ignition Gateway service was launched, but failed to start.
ERROR  | wrapperm | 2023/09/05 11:20:13 | Please check the log file for more information: C:\Program Files\Inductive Automation\Ignition\logs\wrapper.log

Any help on this is appreciated.

Something (another Ignition gateway?) is already running on port 8088.

3 Likes

Thank you!

Found the solution to this. Like you said, there was another app for configuring some sensors was using the Ignition's port. Changing ports on that application and manually starting ignition service started the gateway.

3 Likes