# Gateway service won't start on CentOS

**URL:** <https://forum.inductiveautomation.com/t/gateway-service-wont-start-on-centos/28114>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [September 9, 2019, 6:53pm UTC](https://forum.inductiveautomation.com/t/gateway-service-wont-start-on-centos/28114 "2019-09-09T18:53:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![robert.brantley](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert.brantley/32/10797_2.png) [@robert.brantley](https://forum.inductiveautomation.com/u/robert.brantley)\
**Post date:** [September 9, 2019, 6:53pm UTC](https://forum.inductiveautomation.com/t/gateway-service-wont-start-on-centos/28114/1 "2019-09-09T18:53:11Z")

</div>

Hello. I’ve installed Ignition 8.0.3 on Centos server and I can’t get the gateway service to start. It appears to be permissions issue but I’m attempting start the service as root. Here’s part of the message I get from journalctl…any insight is appreciated.

– Unit Ignition-Gateway.service has begun starting up.  
Sep 09 14:16:14 PCNC110AIGTG01 ignition.sh[2696]: **runuser: may not be used by non-root users**  
Sep 09 14:16:14 PCNC110AIGTG01 systemd[1]: Ignition-Gateway.service: control process exited, code=exited status=1  
Sep 09 14:16:14 PCNC110AIGTG01 systemd[1]: Failed to start Ignition-Gateway.

---

<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:** [September 9, 2019, 7:06pm UTC](https://forum.inductiveautomation.com/t/gateway-service-wont-start-on-centos/28114/2 "2019-09-09T19:06:47Z")

</div>

Try opening the ignition.sh file - I believe the default setup tries to run the gateway service as the literal user `ignition` - so you can either substitute a different username, or ensure `ignition` has the appropriate permissions/group memberships.

---

<div class="post-metadata">

**Author:** ![robert.brantley](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert.brantley/32/10797_2.png) [@robert.brantley](https://forum.inductiveautomation.com/u/robert.brantley)\
**Post date:** [September 9, 2019, 7:27pm UTC](https://forum.inductiveautomation.com/t/gateway-service-wont-start-on-centos/28114/3 "2019-09-09T19:27:42Z")

</div>

I put the ignition user in the wheel group and in the sudoers file I let the wheel group run all commands without a password. After that didn’t work I changed the RUN\_AS\_USER in ignition.sh to root and am still having the same problem. I’ve installed on Ubuntu before without issue so maybe there’s a nuance in CentOS that I’m missing?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 9, 2019, 7:34pm UTC](https://forum.inductiveautomation.com/t/gateway-service-wont-start-on-centos/28114/4 "2019-09-09T19:34:53Z")

</div>

It might be SELinux…

---

<div class="post-metadata">

**Author:** ![robert.brantley](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert.brantley/32/10797_2.png) [@robert.brantley](https://forum.inductiveautomation.com/u/robert.brantley)\
**Post date:** [September 9, 2019, 9:50pm UTC](https://forum.inductiveautomation.com/t/gateway-service-wont-start-on-centos/28114/5 "2019-09-09T21:50:48Z")

</div>

Same behavior after disabling SELinux but thanks for the suggestion. I’ll poking at this later week.

---

<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:** [September 9, 2019, 9:57pm UTC](https://forum.inductiveautomation.com/t/gateway-service-wont-start-on-centos/28114/6 "2019-09-09T21:57:03Z")

</div>

I’d find the systemd unit file in `/etc/systemd/system/` or wherever it got installed and check to see if there’s a `User=` entry.

---

<div class="post-metadata">

**Author:** ![robert.brantley](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert.brantley/32/10797_2.png) [@robert.brantley](https://forum.inductiveautomation.com/u/robert.brantley)\
**Post date:** [September 10, 2019, 12:48am UTC](https://forum.inductiveautomation.com/t/gateway-service-wont-start-on-centos/28114/7 "2019-09-10T00:48:05Z")

</div>

Thanks @Kevin.Herron! In the file _/etc/systemd/system/Ignition-Gateway.service_ I set `User=root` and was able to start the service.

Everyone else, thanks for helping me narrow this down. I would have mentioned you by name but since I’m a new user the system won’t let me. 😁 Thanks again!
