Wowza Community

Wowza Streaming Engine Manager fails as service, but runs standalone

I created a self-signed cert, and turned on https for Wowza Streaming Engine Manager. Now the service fails on launch:

$ systemctl list-units --type service

WowzaStreamingEngine.service loaded active running WowzaStreamingEngine

WowzaStreamingEngineManager.service loaded active exited WowzaStreamingEngineManager

If I run it manually, it works fine.

Any idea what makes the difference in the service vs. standalone? I tried providing an explicit path to the keystone, and that doesn’t seem to make any difference.

Run manually, I see the following in winstone.log:

2018-01-09 20:09:50,363 [main] INFO net.winstone.core.HostConfiguration - Deploy web application: prefix [/enginemanager] webroot [/usr/local/WowzaStreamingEngine/manager/temp]

2018-01-09 20:09:50,370 [main] INFO net.winstone.core.listener.HttpListener - HTTP Listener started: port=8088

2018-01-09 20:09:50,714 [main] INFO net.winstone.core.listener.HttpListener - HTTPS Listener started: port=8090

vs. the following when the service is launched:

2018-01-09 19:29:24,421 [main] INFO net.winstone.core.HostConfiguration - Deploy web application: prefix [/enginemanager] webroot [/usr/local/WowzaStreamingEngine/manager/temp]

2018-01-09 19:29:24,461 [main] INFO net.winstone.core.listener.HttpListener - HTTP Listener started: port=8088

2018-01-09 19:29:24,468 [main] ERROR net.winstone.Server - Error during listener startup net.winstone.core.listener.HttpsListener

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

at net.winstone.Server.spawnListener(Server.java:344)

at net.winstone.Server.initializeListener(Server.java:199)

at net.winstone.Server.initialize(Server.java:123)

at net.winstone.Server.start(Server.java:106)

at net.winstone.Winstone.main(Winstone.java:25)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at org.intelligentsia.keystone.boot.BootStrap.invokeMain(BootStrap.java:382)

at org.intelligentsia.keystone.boot.BootStrap.main(BootStrap.java:232)

Caused by: net.winstone.WinstoneException: No SSL key store found at …/…/conf/M2317539-NIEP-stream.ndc.nasa.gov.jks

at net.winstone.core.listener.HttpsListener.(HttpsListener.java:116)

… 15 more

Hi can you please paste file startmgr.sh. Log says that specified SSL key is not in expected folder.

I’ve just experienced the same issue, specifying an absolute path to the keystore works but using the relative path (as per the instructions) doesn’t

Thaks Paul. Specify an absolute path to the keystore is the solution to the ./manager/log/winstone.log error:

net.winstone.WinstoneException: No SSL key store found at …/…/conf/keystore.jks