# Gateway Service not starting

**URL:** <https://forum.inductiveautomation.com/t/gateway-service-not-starting/1817>\
**Category:** Ignition\
**Created:** [May 6, 2010, 7:23pm UTC](https://forum.inductiveautomation.com/t/gateway-service-not-starting/1817 "2010-05-06T19:23:48Z")\
**Posts on this page:** 12\
**Page:** 1

<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:** [May 6, 2010, 7:23pm UTC](https://forum.inductiveautomation.com/t/gateway-service-not-starting/1817/1 "2010-05-06T19:23:48Z")

</div>

Ok… another day… another new problem.

Its been a couple of days since I have launched the Gateway Control Utility on my laptop. So… today… I wanted to work on my project… I clicked on the Utility and the pop-up came on the screen and showed that the Gateway was trying to Re-establish connection. I clicked on Start Service… and it would not start… and I got the following message in a box…

The Ignition Gateway Service is starting…The Ignition Gateway Service could not be started. A service specific error occured: 1. More help is available by typing NET HELPMSG 3547.

So I opened a CMD window and type in the Net Help and this is what I got:

Microsoft Windows XP [Version 5.1.2600]  
© Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Tyler Tuttle\>net helpmsg 3547

A service specific error occurred: \*\*\*.

EXPLANATION

A service-specific error occurred.

ACTION

Refer to the Help or documentation for that service to determine the problem.

… So… got any ideas?? Everything was working fine last time I used the software.

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [May 6, 2010, 7:41pm UTC](https://forum.inductiveautomation.com/t/gateway-service-not-starting/1817/2 "2010-05-06T19:41:42Z")

</div>

Go into the Services console under Control Panel -\> Administrative Tools -\> Services and try to start Ignition from there. If it does not start post the contents of the wrapper.log and ignition.conf files in C:\Program Files\Inductive Automation\Ignition\ so we can see what the problem is. Did you remove Java by any chance?

---

<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:** [May 6, 2010, 8:01pm UTC](https://forum.inductiveautomation.com/t/gateway-service-not-starting/1817/3 "2010-05-06T20:01:05Z")

</div>

I did not Remove Java.

I had already checked Service Console and the Service was not running. I tried to start it and it would not start. I checked the Windows Event Viewer - system errors… and the Service STOPPED with this description “The Ignition Gateway service terminated with service-specific error 1 (0x1).”

I have attached the files.  
[ignition\_conf.txt](https://us1.discourse-cdn.com/inductiveautomation/original/1X/091832e3959ba4c689bebda7d1b7729dba3b6a43.txt) (4.91 KB)

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [May 6, 2010, 8:09pm UTC](https://forum.inductiveautomation.com/t/gateway-service-not-starting/1817/4 "2010-05-06T20:09:54Z")

</div>

I also need the wrapper.log file.

---

<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:** [May 6, 2010, 8:15pm UTC](https://forum.inductiveautomation.com/t/gateway-service-not-starting/1817/5 "2010-05-06T20:15:59Z")

</div>

ok  
[wrapper.log](https://us1.discourse-cdn.com/inductiveautomation/original/1X/14bd69648125b38e6706b126b8a42846f8f614fb.log) (90.4 KB)

---

<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:** [May 6, 2010, 9:01pm UTC](https://forum.inductiveautomation.com/t/gateway-service-not-starting/1817/6 "2010-05-06T21:01:25Z")

</div>

ok… I fixed it… but dont know why it took so long to give me a problem.

Back in April… I read somewhere on the Fourm that you could tell the Gateway how much memory to use… and that you set this in the Ignition Config file. So I was playing around and change the Maxium Java Heap size, wrapper.java.maxmemory=1024 from 1024 to 2048. I thought I restarted the service then and had no problems. I have used the gateway 3 or 4 times, shut my PC down 5 or 6 times and never had a problem, but for some reason today when I started my computer… and it went to run the service… there was not enough memory availiable.

So. … I changed it back… and ALL is Well… Gateway is now running.

Sorry to have sent you looking for a problem I created. Thanks for your help.

Tyler

---

<div class="post-metadata">

**Author:** ![Step7](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@Step7](https://forum.inductiveautomation.com/u/Step7)\
**Post date:** [December 1, 2010, 3:28pm UTC](https://forum.inductiveautomation.com/t/gateway-service-not-starting/1817/7 "2010-12-01T15:28:30Z")

</div>

Regarding the heap size, how do I increase it? I did the same thing ttuttle did- I went to the Ignition.conf file and increased the heap mem from 1024 to 2048, and the gateway would not start.

Fwiw, I’m running Windows 7 with 8GB ram. And, I was having a problem with an app blowing up when the task manager was showing 588MB usage, with the resulting java trace log recommending increasing the heap size:

“Out of Memory  
You might want to try the -mx flag to increase heap size”

---

<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:** [December 1, 2010, 4:33pm UTC](https://forum.inductiveautomation.com/t/gateway-service-not-starting/1817/8 "2010-12-01T16:33:32Z")

</div>

You can only increase the memory to 1536mb unless you are using 64-bit Java + 64-bit Ignition.

---

<div class="post-metadata">

**Author:** ![Step7](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@Step7](https://forum.inductiveautomation.com/u/Step7)\
**Post date:** [December 1, 2010, 4:41pm UTC](https://forum.inductiveautomation.com/t/gateway-service-not-starting/1817/9 "2010-12-01T16:41:51Z")

</div>

Ahh, good to know. What’s the limit for the 64-bit versions?

---

<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:** [December 1, 2010, 5:30pm UTC](https://forum.inductiveautomation.com/t/gateway-service-not-starting/1817/10 "2010-12-01T17:30:23Z")

</div>

Oh, probably somewhere between 256TB and 4PB…

---

<div class="post-metadata">

**Author:** ![Step7](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@Step7](https://forum.inductiveautomation.com/u/Step7)\
**Post date:** [December 1, 2010, 7:39pm UTC](https://forum.inductiveautomation.com/t/gateway-service-not-starting/1817/11 "2010-12-01T19:39:54Z")

</div>

Ok, dumb question- if the gateway is running on a 32-bit machine, and I’m running a client on a 64-bit machine, the memory of the client machine app is still limited by the 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:** [December 2, 2010, 10:57pm UTC](https://forum.inductiveautomation.com/t/gateway-service-not-starting/1817/12 "2010-12-02T22:57:13Z")

</div>

> [@Step7](#):
>
> If the gateway is running on a 32-bit machine, and I'm running a client on a 64-bit machine, the memory of the client machine app is still limited by the gateway?

Nope - they're separate processes. Just make sure to run a 64-bit JVM on the 64-bit machine.
