# Can't start gateway

**URL:** <https://forum.inductiveautomation.com/t/cant-start-gateway/1611>\
**Category:** Ignition\
**Created:** [March 6, 2010, 3:30pm UTC](https://forum.inductiveautomation.com/t/cant-start-gateway/1611 "2010-03-06T15:30:19Z")\
**Posts on this page:** 8\
**Page:** 2

<div class="post-metadata">

**Author:** ![ttuttle387](https://avatars.discourse-cdn.com/v4/letter/t/59ef9b/32.png) [@ttuttle387](https://forum.inductiveautomation.com/u/ttuttle387)\
**Post date:** [April 5, 2010, 8:06pm UTC](https://forum.inductiveautomation.com/t/cant-start-gateway/1611/21 "2010-04-05T20:06:16Z")

</div>

To upgrade… I used the Gateway Control Utility.

Here is a copy of the Ignition.conf file.

#\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

# Wrapper License Properties (Ignored by Community Edition)

#\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
#include ./wrapper-license.conf

#\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

# Wrapper Java Properties

#\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

# Java Application

wrapper.java.command=java

# Tell the Wrapper to log the full generated Java command line.

#wrapper.java.command.loglevel=INFO

# Java Main class. This class must implement the WrapperListener interface

# or guarantee that the WrapperManager class is initialized. Helper

# classes are provided to do this for you. See the Integration section

# of the documentation for details.

wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp

# Java Classpath (include wrapper.jar) Add class path elements as

# needed starting from 1

wrapper.java.classpath.1=./lib/wrapper.jar  
wrapper.java.classpath.2=./lib/annotations-api.jar  
wrapper.java.classpath.3=./lib/catalina.jar  
wrapper.java.classpath.4=./lib/catapult.jar  
wrapper.java.classpath.5=./lib/el-api.jar  
wrapper.java.classpath.6=./lib/log4j-1.2.15-min.jar  
wrapper.java.classpath.7=./lib/servlet-api.jar  
wrapper.java.classpath.8=./lib/slf4j-api-1.5.3.jar  
wrapper.java.classpath.9=./lib/slf4j-log4j12-1.5.3.jar  
wrapper.java.classpath.10=./lib/tomcat-coyote.jar  
wrapper.java.classpath.11=./lib/tomcat-juli.jar  
wrapper.java.classpath.12=./lib/wicket-extensions-1.4.1.jar  
wrapper.java.classpath.13=./lib/wicket-1.4.1.jar

# Java Library Path (location of Wrapper.DLL or libwrapper.so)

wrapper.java.library.path.1=./lib

# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode.

wrapper.java.additional.auto\_bits=TRUE

# Java Additional Parameters

#wrapper.java.additional.1=-Xdebug  
#wrapper.java.additional.2=-Xrunjdwp:transport=dt\_socket,server=y,suspend=n,address=8000

# Initial Java Heap Size (in MB)

wrapper.java.initmemory=256

# Maximum Java Heap Size (in MB)

wrapper.java.maxmemory=1024

# Application parameters. Add parameters as needed starting from 1

wrapper.app.parameter.1=com.inductiveautomation.catapult.Catapult

wrapper.shutdown.timeout=120  
wrapper.jvm\_exit.timeout=120

#\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

# Wrapper Logging Properties

#\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

# Enables Debug output from the Wrapper.

# wrapper.debug=TRUE

# Format of output for the console. (See docs for formats)

wrapper.console.format=PM

# Log Level for console output. (See docs for log levels)

wrapper.console.loglevel=INFO

# Log file to use for wrapper output logging.

wrapper.logfile=./wrapper.log

# Format of output for the log file. (See docs for formats)

wrapper.logfile.format=LPTM

# Log Level for log file output. (See docs for log levels)

wrapper.logfile.loglevel=INFO

# Maximum size that the log file will be allowed to grow to before

# the log is rolled. Size is specified in bytes. The default value

# of 0, disables log rolling. May abbreviate with the ‘k’ (kb) or

# ‘m’ (mb) suffix. For example: 10m = 10 megabytes.

wrapper.logfile.maxsize=1m

# Maximum number of rolled log files which will be allowed before old

# files are deleted. The default value of 0 implies no limit.

wrapper.logfile.maxfiles=5

# Log Level for sys/event log output. (See docs for log levels)

wrapper.syslog.loglevel=NONE

#\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

# Wrapper Windows Properties

#\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

# Title to use when running as a console

wrapper.console.title=Ignition Gateway

#\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

# Wrapper Windows NT/2000/XP Service Properties

#\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

# WARNING - Do not modify any of these properties when an application

# using this configuration file has been installed as a service.

# Please uninstall the service before modifying this section. The

# service can then be reinstalled.

# Name of the service

wrapper.ntservice.name=Ignition

# Display name of the service

wrapper.ntservice.displayname=Ignition Gateway

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [April 5, 2010, 8:39pm UTC](https://forum.inductiveautomation.com/t/cant-start-gateway/1611/22 "2010-04-05T20:39:02Z")

</div>

Thats what I thought. You’re going to need to run the installer again in order to upgrade fully - in 7.0.6 there was some logic in there that changed the contents of the .conf file and moved some \*.jar files around that upgrading through the GCU can’t accomplish.

---

<div class="post-metadata">

**Author:** ![ttuttle387](https://avatars.discourse-cdn.com/v4/letter/t/59ef9b/32.png) [@ttuttle387](https://forum.inductiveautomation.com/u/ttuttle387)\
**Post date:** [April 5, 2010, 8:40pm UTC](https://forum.inductiveautomation.com/t/cant-start-gateway/1611/23 "2010-04-05T20:40:28Z")

</div>

will I loose my project?

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [April 5, 2010, 8:42pm UTC](https://forum.inductiveautomation.com/t/cant-start-gateway/1611/24 "2010-04-05T20:42:45Z")

</div>

No you won’t - running the installer again upgrades without affecting your project. You can (and should!) make a gateway-backup first for peace-of-mind.

---

<div class="post-metadata">

**Author:** ![ttuttle387](https://avatars.discourse-cdn.com/v4/letter/t/59ef9b/32.png) [@ttuttle387](https://forum.inductiveautomation.com/u/ttuttle387)\
**Post date:** [April 5, 2010, 8:48pm UTC](https://forum.inductiveautomation.com/t/cant-start-gateway/1611/25 "2010-04-05T20:48:54Z")

</div>

ok… another dumb question… how can I make a backup of the gateway if it will not start?? The only way I have made backups before is from the backup utility from inside the gateway web page.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [April 5, 2010, 8:56pm UTC](https://forum.inductiveautomation.com/t/cant-start-gateway/1611/26 "2010-04-05T20:56:58Z")

</div>

When the Gateway will not start you can simply make a backup of the contexts/main/db folder - this is where all of your projects and settings are stored.

---

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [April 6, 2010, 2:52pm UTC](https://forum.inductiveautomation.com/t/cant-start-gateway/1611/27 "2010-04-06T14:52:40Z")

</div>

I have this same issue after trying to install the modbus driver. cant seem to get it going again. webserver starts but the gateway wont start.

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [May 14, 2010, 7:29pm UTC](https://forum.inductiveautomation.com/t/cant-start-gateway/1611/28 "2010-05-14T19:29:39Z")

</div>

A bit late, but considering I just saw this problem again, and this thread is like #3 result on google when you search for the error, I thought I should post an answer. The error you're running into, as reported by that log, is:

> [@](#):
>
> Database lock acquisition failure: lockFile: org.hsqldb.persist.LockFile@e236cb2c[file =C:\Program Files\Inductive Automation\Ignition\contexts\main\db\settings.lck, exists=true, locked=false, valid=false,]

This seems to be caused very rarely by a bad shutdown. To resolve, shutdown the faulted server, and simply delete that [tt]settings.lck[/tt] file at the path indicated. Restart the service, and you should be good.

Regards,

[Previous page](https://forum.inductiveautomation.com/t/cant-start-gateway/1611.md?page=1)
