# Gateway is Faulted, Web server is running

**URL:** <https://forum.inductiveautomation.com/t/gateway-is-faulted-web-server-is-running/18737>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [July 5, 2018, 6:03pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulted-web-server-is-running/18737 "2018-07-05T18:03:30Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![nowackiryan](https://avatars.discourse-cdn.com/v4/letter/n/3be4f8/32.png) [@nowackiryan](https://forum.inductiveautomation.com/u/nowackiryan)\
**Post date:** [July 5, 2018, 6:03pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulted-web-server-is-running/18737/1 "2018-07-05T18:03:30Z")

</div>

While attempting to restore the Inductive university backup, the GCU reported that the Gateway is faulted. I cannot seem to find any indication that is wrong? Any help on this matter would be appreciated. To clarify

- The Version of Ignition is 7.9.8
- The version of Java I’m running is 8 update 171  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/9/9dfd564e697ce1c118ac48fa6e4eda31076e0a4c.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [July 5, 2018, 6:05pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulted-web-server-is-running/18737/2 "2018-07-05T18:05:08Z")

</div>

Check the wrapper.log, in Program Files/Inductive Automation/Ignition/logs/wrapper.log. If you’re not sure what you’re looking at, feel free to upload the file here.

---

<div class="post-metadata">

**Author:** ![nowackiryan](https://avatars.discourse-cdn.com/v4/letter/n/3be4f8/32.png) [@nowackiryan](https://forum.inductiveautomation.com/u/nowackiryan)\
**Post date:** [July 5, 2018, 6:11pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulted-web-server-is-running/18737/3 "2018-07-05T18:11:04Z")

</div>

I am unable to load the file being a new user, however, I believe this is the issue?

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/f/f244fc2c96bfa8ce5e36642f31f0debc1042a3bd.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [July 5, 2018, 6:16pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulted-web-server-is-running/18737/4 "2018-07-05T18:16:17Z")

</div>

Yeah, that’s it. There was something wrong with the gateway backup, so the restore process failed - which left a file hanging around that’s preventing _future_ startup from working. If you delete the ‘restore\_\_disabled.gwbk’ file in Inductive Automation/Ignition/data you should be able to start the system correctly.

---

<div class="post-metadata">

**Author:** ![nowackiryan](https://avatars.discourse-cdn.com/v4/letter/n/3be4f8/32.png) [@nowackiryan](https://forum.inductiveautomation.com/u/nowackiryan)\
**Post date:** [July 5, 2018, 6:34pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulted-web-server-is-running/18737/5 "2018-07-05T18:34:23Z")

</div>

Thank you! That seem to have fixed it. Just for future reference, which line exactly indicated this was the issue? I’m looking at the language and I’m not entirely sure?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [July 5, 2018, 6:42pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulted-web-server-is-running/18737/6 "2018-07-05T18:42:36Z")

</div>

The key line is the ‘Error during context startup’. Because I can cheat and look at the source code, I can then use the stack trace on the next few lines to know what the system is _trying_ to do at that time, and figure out what went wrong. Mostly this is just a piece of institutional knowledge, though - anyone in our support department would also have been able to help out. It is a fairly cryptic error on the scale of things, though, which we try to avoid; it’ll get reworked at some point in the future.

---

<div class="post-metadata">

**Author:** ![bprice](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bprice/32/83520_2.png) [@bprice](https://forum.inductiveautomation.com/u/bprice)\
**Post date:** [March 1, 2019, 7:14pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulted-web-server-is-running/18737/7 "2019-03-01T19:14:25Z")

</div>

Mine has done the same thing as above.

 ![Capture](https://us1.discourse-cdn.com/inductiveautomation/original/2X/2/29436dd8f1bbb17e4ba02122e30de6512361c468.png)

 ![Capture%201](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/13f82130619f6f5dd72251f3d8cf712552833e09.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 1, 2019, 7:16pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulted-web-server-is-running/18737/8 "2019-03-01T19:16:14Z")

</div>

Yours is a different underlying error. You need to update your MySQL JDBC driver.

---

<div class="post-metadata">

**Author:** ![erbn91](https://avatars.discourse-cdn.com/v4/letter/e/a5b964/32.png) [@erbn91](https://forum.inductiveautomation.com/u/erbn91)\
**Post date:** [April 4, 2019, 6:06pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulted-web-server-is-running/18737/9 "2019-04-04T18:06:07Z")

</div>

Hi,

The problem I’m having is that the gateway doesn’t start. Just the web server, the gateway attempted to start but it goes to faulted and then stopped state or just tries to start and then it stops.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/f/fa59a038077d5f6acb02feef1b8f22543f895d4e.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/5/59a30358dfa7d65094524c6eb26b8536b174a477.png)

---

<div class="post-metadata">

**Author:** ![abhijit.joshi](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@abhijit.joshi](https://forum.inductiveautomation.com/u/abhijit.joshi)\
**Post date:** [October 5, 2020, 4:55pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulted-web-server-is-running/18737/10 "2020-10-05T16:55:09Z")

</div>

I started “Anydesk” application and the running Ignition application- Vision Client crashed. I tried re-installing Java, Ignition, Designer, Vision client but nothing helped to restore the system.

Uploading the wrapper.log file. Kindly guide, how to restore the Ignition Gateway, Designer & Vision Client.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 3, 2021, 2:36pm UTC](https://forum.inductiveautomation.com/t/gateway-is-faulted-web-server-is-running/18737/11 "2021-11-03T14:36:29Z")

</div>

Split this topic on November 3, 2021, 2:36pm UTC

3 posts were split to a new topic: [Unable to start gateway](https://forum.inductiveautomation.com/t/unable-to-start-gateway/52670)

---

<div class="post-metadata">

**Author:** ![Frank\_Fu](https://avatars.discourse-cdn.com/v4/letter/f/b5a626/32.png) [@Frank\_Fu](https://forum.inductiveautomation.com/u/Frank_Fu)\
**Post date:** [July 17, 2024, 4:37am UTC](https://forum.inductiveautomation.com/t/gateway-is-faulted-web-server-is-running/18737/13 "2024-07-17T04:37:23Z")

</div>

![image_1](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/1/619afcc5ef93aeceb513868447a83270de421858.jpeg)

I've looked into config.idb but it was empty, and I later found the log file saying sqlite error, however, I don't recall installing any sqlite with my ignition.

 ![image_2](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/1/81f46aabd52db35640f3309dfcd38e452ed67ee3.jpeg)

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [July 17, 2024, 4:46am UTC](https://forum.inductiveautomation.com/t/gateway-is-faulted-web-server-is-running/18737/14 "2024-07-17T04:46:12Z")

</div>

Ignition comes with a sqlite database (.../data/config.idb) which stores a lot of its config (tags, gw config, etc.). Looks like yours might be corrupted or missing? It says it can't find table SRFEATURES. Not sure what data this table holds, but i'd first check if your config.idb database file exists.

What's changed for your project to have this occur?

---

<div class="post-metadata">

**Author:** ![Frank\_Fu](https://avatars.discourse-cdn.com/v4/letter/f/b5a626/32.png) [@Frank\_Fu](https://forum.inductiveautomation.com/u/Frank_Fu)\
**Post date:** [July 17, 2024, 4:59am UTC](https://forum.inductiveautomation.com/t/gateway-is-faulted-web-server-is-running/18737/15 "2024-07-17T04:59:53Z")

</div>

config.idb does exist but contains zero bytes.  
I didn't modify my project and this issue occurred when I attempted accessing gateway this morning.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [July 17, 2024, 5:14am UTC](https://forum.inductiveautomation.com/t/gateway-is-faulted-web-server-is-running/18737/16 "2024-07-17T05:14:55Z")

</div>

Something must have corrupted it.. Was there a power outage or something? Do you have a backup? check in the auto backup folder in the data folder for auto backups you might be able to replace the zero byte one with.  
If this has happened though, then it potentially doesn't just affect the idb file so a gateway restore might be your best option. Hopefully you setup automatic scheduled regular backups from the gateway web portal.
