# Ignition service won't restart

**URL:** <https://forum.inductiveautomation.com/t/ignition-service-wont-restart/91780>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [June 12, 2024, 8:57pm UTC](https://forum.inductiveautomation.com/t/ignition-service-wont-restart/91780 "2024-06-12T20:57:34Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![blackdog](https://avatars.discourse-cdn.com/v4/letter/b/d26b3c/32.png) [@blackdog](https://forum.inductiveautomation.com/u/blackdog)\
**Post date:** [June 12, 2024, 8:57pm UTC](https://forum.inductiveautomation.com/t/ignition-service-wont-restart/91780/1 "2024-06-12T20:57:34Z")

</div>

I'm having a problem on a new computer. I installed v8.1.41 and restored a v8.1 gateway backup. Everything seems fine. Then I restored a v7.9.10 backup on this new gateway and during the restore process, the gateway won't restart. I've uninstalled and re-installed the v8.1.41 ignition and repeated the process several times. Every time I get the same result and the windows System Event Viewer Logs shows "The Ignition service terminated with the following service-specific error: Incorrect function". Any help would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 12, 2024, 9:06pm UTC](https://forum.inductiveautomation.com/t/ignition-service-wont-restart/91780/2 "2024-06-12T21:06:45Z")

</div>

Can you upload your wrapper.log file after having restored the 7.9.10 backup?

---

<div class="post-metadata">

**Author:** ![blackdog](https://avatars.discourse-cdn.com/v4/letter/b/d26b3c/32.png) [@blackdog](https://forum.inductiveautomation.com/u/blackdog)\
**Post date:** [June 12, 2024, 9:16pm UTC](https://forum.inductiveautomation.com/t/ignition-service-wont-restart/91780/3 "2024-06-12T21:16:04Z")

</div>

I can, but I don't know how to do that.

---

<div class="post-metadata">

**Author:** ![blackdog](https://avatars.discourse-cdn.com/v4/letter/b/d26b3c/32.png) [@blackdog](https://forum.inductiveautomation.com/u/blackdog)\
**Post date:** [June 12, 2024, 9:18pm UTC](https://forum.inductiveautomation.com/t/ignition-service-wont-restart/91780/4 "2024-06-12T21:18:54Z")

</div>

[wrapper.log](https://forum.inductiveautomation.com/uploads/short-url/86AkJMWxsz4tBiUJY5S7LpER5w5.log) (92.4 KB)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 12, 2024, 9:23pm UTC](https://forum.inductiveautomation.com/t/ignition-service-wont-restart/91780/5 "2024-06-12T21:23:44Z")

</div>

It looks like the ignition.conf from the 7.9 backup includes some JVM arguments that are no longer valid:

```python
STATUS | wrapper | 2024/06/12 15:48:15 | Launching a JVM...
INFO | jvm 1 | 2024/06/12 15:48:15 | Unrecognized VM option 'UseConcMarkSweepGC'
INFO | jvm 1 | 2024/06/12 15:48:15 | Error: Could not create the Java Virtual Machine.
INFO | jvm 1 | 2024/06/12 15:48:15 | Error: A fatal exception has occurred. Program will exit.
ERROR | wrapper | 2024/06/12 15:48:15 | JVM exited while loading the application.

```

Post the "Java Additional Parameters" section from your ignition.conf file after the restore.

A fresh one for 8.x will look something like this:

```python
# Java Additional Parameters
wrapper.java.additional.1=-Ddata.dir=data
wrapper.java.additional.2=--add-opens=java.base/java.lang=ALL-UNNAMED
wrapper.java.additional.3=--add-opens=java.base/java.io=ALL-UNNAMED
wrapper.java.additional.4=--add-opens=java.base/java.security.cert=ALL-UNNAMED
wrapper.java.additional.5=--add-opens=java.base/java.util=ALL-UNNAMED
wrapper.java.additional.6=--add-opens=java.base/jdk.internal.misc=ALL-UNNAMED
#wrapper.java.additional.6=-Xdebug
#wrapper.java.additional.7=-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=*:8000

```

---

<div class="post-metadata">

**Author:** ![blackdog](https://avatars.discourse-cdn.com/v4/letter/b/d26b3c/32.png) [@blackdog](https://forum.inductiveautomation.com/u/blackdog)\
**Post date:** [June 12, 2024, 9:29pm UTC](https://forum.inductiveautomation.com/t/ignition-service-wont-restart/91780/6 "2024-06-12T21:29:50Z")

</div>

This was in the DATA folder after the v7.9 restore...

# Java Additional Parameters

#wrapper.java.additional.1=-XX:PermSize=64m  
#wrapper.java.additional.2=-XX:MaxPermSize=128m  
wrapper.java.additional.3=-XX:+UseConcMarkSweepGC  
#wrapper.java.additional.4=-XX:+CMSClassUnloadingEnabled  
#wrapper.java.additional.5=-XX:+CMSPermGenSweepingEnabled  
wrapper.java.additional.6=-Ddata.dir=data  
wrapper.java.additional.7=-Dorg.apache.catalina.loader.WebappClassLoader.ENABLE\_CLEAR\_REFERENCES=false  
#wrapper.java.additional.8=-Xdebug  
#wrapper.java.additional.9=-Xrunjdwp:transport=dt\_socket,server=y,suspend=n,address=8000  
wrapper.java.additional.8=--add-opens=java.base/java.lang=ALL-UNNAMED  
wrapper.java.additional.9=--add-opens=java.base/java.security.cert=ALL-UNNAMED  
wrapper.java.additional.10=--add-opens=java.base/java.util=ALL-UNNAMED  
wrapper.java.additional.11=--add-opens=java.base/jdk.internal.misc=ALL-UNNAMED  
wrapper.java.additional.12=--add-opens=java.base/java.io=ALL-UNNAMED  
wrapper.java.additional.13=-Dedition=

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 12, 2024, 9:32pm UTC](https://forum.inductiveautomation.com/t/ignition-service-wont-restart/91780/7 "2024-06-12T21:32:07Z")

</div>

Okay, just delete that section and replace it with the one I posted.

---

<div class="post-metadata">

**Author:** ![blackdog](https://avatars.discourse-cdn.com/v4/letter/b/d26b3c/32.png) [@blackdog](https://forum.inductiveautomation.com/u/blackdog)\
**Post date:** [June 12, 2024, 9:56pm UTC](https://forum.inductiveautomation.com/t/ignition-service-wont-restart/91780/8 "2024-06-12T21:56:29Z")

</div>

That did it! THANKS!!
