# WowzaStreamingEngine not starting with systemd

**URL:** <https://community.wowza.com/t/wowzastreamingengine-not-starting-with-systemd/36886>\
**Category:** Wowza Streaming Engine\
**Created:** [March 3, 2015, 10:19am UTC](https://community.wowza.com/t/wowzastreamingengine-not-starting-with-systemd/36886 "2015-03-03T10:19:48Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jason\_Burrows](https://avatars.discourse-cdn.com/v4/letter/j/278dde/32.png) [@Jason\_Burrows](https://community.wowza.com/u/Jason_Burrows)\
**Post date:** [March 3, 2015, 10:19am UTC](https://community.wowza.com/t/wowzastreamingengine-not-starting-with-systemd/36886/1 "2015-03-03T10:19:48Z")

</div>

I have recently installed WowzaStreamingEngine & Manager 4.1.2. Things appear to be working well. However, in testing if I reboot the machine at all when it comes back up the Wowza Services are not running. This is a Centos 7 System. Fresh install on a staging machine. If I manually start/restart the service with systemctl everything works as expected. Just not sure why it is not starting up like it should. Not sure if anyone else is having this issue.

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [March 3, 2015, 6:04pm UTC](https://community.wowza.com/t/wowzastreamingengine-not-starting-with-systemd/36886/2 "2015-03-03T18:04:58Z")

</div>

Hi,

This is usually caused when the server starts and Wowza tries to start before the NIC has started. As a result Wowza fails authentication as you don’t have internet access and this means that Wowza doesn’t start.

When starting Wowza manually the server does have internet access and so the authentication is passed and Wowza starts as expected.

To resolve this problem you can configure Wowza to have a delayed start so that your NIC has a chance to start first to avoid the failing authentication with the licensing server. You will need to edit the /lib/systemd/system/ then the [unit] section contains a “After=” option which you can then put network.target or something similar from your system so that Wowza will wait to be started when the network is already active.

Regards,

Jason

---

<div class="post-metadata">

**Author:** ![Jason\_Burrows](https://avatars.discourse-cdn.com/v4/letter/j/278dde/32.png) [@Jason\_Burrows](https://community.wowza.com/u/Jason_Burrows)\
**Post date:** [March 5, 2015, 8:42am UTC](https://community.wowza.com/t/wowzastreamingengine-not-starting-with-systemd/36886/3 "2015-03-05T08:42:52Z")

</div>

Jason,

I thought it could be something to this effect similar to CIFS needing delayed. However, I have no systemd-wowza anything in my /lib/systemd folder.

---

<div class="post-metadata">

**Author:** ![Jason\_Burrows](https://avatars.discourse-cdn.com/v4/letter/j/278dde/32.png) [@Jason\_Burrows](https://community.wowza.com/u/Jason_Burrows)\
**Post date:** [March 6, 2015, 10:39am UTC](https://community.wowza.com/t/wowzastreamingengine-not-starting-with-systemd/36886/4 "2015-03-06T10:39:27Z")

</div>

Not sure what is going on but nothing I have tried is working. I do not see a systemd.WowzaStreamingEngine service listed anywhere. I do have a S80WowzaStreamingEngine in my /etc/rc.d/rc3.d however. It is set to start late but I am still not getting the service to start after a reboot. I can work around this but I need them to start after a restart for our less versed users who are not as familiar with terminals etc.

---

<div class="post-metadata">

**Author:** ![trisha\_moynihan](https://avatars.discourse-cdn.com/v4/letter/t/e47c2d/32.png) [@trisha\_moynihan](https://community.wowza.com/u/trisha_moynihan)\
**Post date:** [April 30, 2015, 2:32pm UTC](https://community.wowza.com/t/wowzastreamingengine-not-starting-with-systemd/36886/5 "2015-04-30T14:32:38Z")

</div>

Has anyone found a resolution for this issue? I’m currently experiencing the same issue under the same circumstances. Thanks!

---

<div class="post-metadata">

**Author:** ![Julie\_Champagne](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@Julie\_Champagne](https://community.wowza.com/u/Julie_Champagne)\
**Post date:** [May 21, 2015, 10:10am UTC](https://community.wowza.com/t/wowzastreamingengine-not-starting-with-systemd/36886/6 "2015-05-21T10:10:18Z")

</div>

Hello.

I exactly have the same problem.

I have centos 7 installed and WowzaStreamingEngine. At the end of the installation, I answered “yes” to add the service at the startup.

If I do chkconfig --list, I see the service listed in the runlevel 2-3-4-5

However the service doesn’t start when I reboot.

Any help?

---

<div class="post-metadata">

**Author:** ![Julie\_Champagne](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@Julie\_Champagne](https://community.wowza.com/u/Julie_Champagne)\
**Post date:** [May 26, 2015, 2:08pm UTC](https://community.wowza.com/t/wowzastreamingengine-not-starting-with-systemd/36886/7 "2015-05-26T14:08:06Z")

</div>

I’ve upgraded to Wowza Streaming Engine 4.1.2 (I was in 4.1.0).

I thought it would fix the problem, but no luck.

Please any idea? ☹

---

<div class="post-metadata">

**Author:** ![Julie\_Champagne](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@Julie\_Champagne](https://community.wowza.com/u/Julie_Champagne)\
**Post date:** [May 28, 2015, 12:57pm UTC](https://community.wowza.com/t/wowzastreamingengine-not-starting-with-systemd/36886/8 "2015-05-28T12:57:55Z")

</div>

Hey there,

So I made some tests. And here is the thing: when I install Wowza Streaming Engine in the default folder /usr/local/, there is no problem, Wowza automatically starts at reboot.

But if I move the program somewhere else (for example: /home/wowza), I change the symbolic link and reboot, the service doesn’t start.

I really don’t understand. Can you help me?

---

<div class="post-metadata">

**Author:** ![Julie\_Champagne](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@Julie\_Champagne](https://community.wowza.com/u/Julie_Champagne)\
**Post date:** [June 1, 2015, 9:05am UTC](https://community.wowza.com/t/wowzastreamingengine-not-starting-with-systemd/36886/9 "2015-06-01T09:05:32Z")

</div>

It works!! Thank you! 🙂

---

<div class="post-metadata">

**Author:** ![Jason\_Stevens](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@Jason\_Stevens](https://community.wowza.com/u/Jason_Stevens)\
**Post date:** [May 28, 2015, 4:45pm UTC](https://community.wowza.com/t/wowzastreamingengine-not-starting-with-systemd/36886/10 "2015-05-28T16:45:25Z")

</div>

I had my Wowza Streaming Engine stop starting after upgrading to Fedora 22.

removed symlink /etc/init.d/WowzaStreamingEngine

removed symlink /etc/init.d/WowzaStreamingEngineManager

create file: /usr/lib/systemd/system/WowzaStreamingEngine.service

```auto
[Unit]
Description=WowzaStreamingEngine
After=syslog.target
After=network.target
After=local-fs.target
After=remote-fs.target
[Service]
Type=simple
User=root
Group=root
ExecStart=/usr/local/WowzaStreamingEngine/bin/WowzaStreamingEngine start
ExecStop=/usr/local/WowzaStreamingEngine/bin/WowzaStreamingEngine start
RemainAfterExit=yes
# Give a reasonable amount of time for the server to start up/shut down
TimeoutSec=300
[Install]
WantedBy=multi-user.target

```

create file: /usr/lib/systemd/system/WowzaStreamingEngineManager.service

```auto
[Unit]
Description=WowzaStreamingEngineManager
After=syslog.target
After=network.target
After=local-fs.target
After=remote-fs.target
[Service]
Type=simple
User=root
Group=root
ExecStart=/usr/local/WowzaStreamingEngine/manager/bin/WowzaStreamingEngineManager start
ExecStop=/usr/local/WowzaStreamingEngine/manager/bin/WowzaStreamingEngineManager start
RemainAfterExit=yes
# Give a reasonable amount of time for the server to start up/shut down
TimeoutSec=300
[Install]
WantedBy=multi-user.target

```

turn on new Wowza services (as root)

```auto
systemctl daemon-reload
systemctl enable WowzaStreamingEngine.service
systemctl enable WowzaStreamingEngineManager.service

```

start new Wowza services (as root)

```auto
systemctl start WowzaStreamingEngine.service
systemctl start WowzaStreamingEngineManager.service

```
