Wowza Community

[URGENT] Unable to start Streaming Manager on Google Cloud Platform

Hello members,

My name is sarthak gupta and I have been trying to integrate Wowza streaming onto Google Cloud Platform project.

I completed the installation as given on this page:- https://www.wowza.com/docs/set-up-wowza-streaming-engine-on-google-cloud-platform

I am able to run [Cloud-VM-instance-IP]:1935 and it shows the correct output with version and build.

However, [Cloud-VM-instance-IP]:8088 gives page isn’t working error.

I ensured that the Streaming Enginer and Manager, both services are running.

When I start manager as a service, no messages are shown in VM, however, when I start the manager as a standalone program, no errors are displayed, but following message is displayed:

Thu, 26 Jan 2017 10:27:11 366 GMT, BootStrap Info: Home Directory=/usr/local/WowzaStreamingEngine-4.6.0/manager/

lib

Thu, 26 Jan 2017 10:27:11 403 GMT, BootStrap Info: Main-Class=net.winstone.Winstone

log4j:ERROR setFile(null,true) call failed.

java.io.FileNotFoundException: /usr/local/WowzaStreamingEngine/manager/logs/winstone.log (Permission denied)

at java.io.FileOutputStream.open0(Native Method)

at java.io.FileOutputStream.open(FileOutputStream.java:270)

at java.io.FileOutputStream.(FileOutputStream.java:213)

at java.io.FileOutputStream.(FileOutputStream.java:133)

at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)

at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)

at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:223)

at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)

at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)

at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)

at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:809)

at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:735)

at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:615)

at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:502)

at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:547)

at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:483)

at org.apache.log4j.LogManager.(LogManager.java:127)

at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:64)

at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:253)

at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:265)

at net.winstone.boot.BootStrap.(BootStrap.java:29)

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

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)

log4j:ERROR Either File or DatePattern options are not set for appender [serverAccess].

2017-01-26 10:27:11,564 [main] INFO net.winstone.boot.BootStrap - stage 1/3: Loading arguments…

2017-01-26 10:27:11,566 [main] INFO net.winstone.boot.BootStrap - stage 2/3: Loading WebApplication configuration…

2017-01-26 10:27:11,566 [main] INFO net.winstone.boot.BootStrap - stage 3/3: compute JSP classpath…

2017-01-26 10:27:11,653 [main] INFO net.winstone.core.HostConfiguration - Beginning extraction from war file

2017-01-26 10:27:11,684 [main] INFO net.winstone.core.WebXmlParser - Found and enabled the local Servlet 2.5 XSD replacement

2017-01-26 10:27:12,260 [main] WARN net.winstone.core.WebXmlParser - XML Error (Line 2): Document is invalid: no grammar found.

2017-01-26 10:27:12,261 [main] WARN net.winstone.core.WebXmlParser - XML Error (Line 2): Document root element “web-app”, must match DOCTYPE root “null”.

2017-01-26 10:27:12,468 [main] INFO net.winstone.core.WebAppConfiguration - Access logging disabled - no logger class defined

Configure logging: file:///usr/local/WowzaStreamingEngine/manager/conf/log4j.properties

log4j:ERROR setFile(null,true) call failed.

java.io.FileNotFoundException: /usr/local/WowzaStreamingEngine/manager/logs/winstone.log (Permission denied)

at java.io.FileOutputStream.open0(Native Method)

at java.io.FileOutputStream.open(FileOutputStream.java:270)

at java.io.FileOutputStream.(FileOutputStream.java:213)

at java.io.FileOutputStream.(FileOutputStream.java:133)

at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)

at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)

at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:223)

at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)

at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)

at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)

at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:809)

at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:735)

at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:615)

at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:502)

at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:547)

at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:483)

at org.apache.log4j.LogManager.(LogManager.java:127)

at org.apache.log4j.PropertyWatchdog.doOnChange(PropertyConfigurator.java:922)

at org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:89)

at org.apache.log4j.helpers.FileWatchdog.(FileWatchdog.java:58)

at org.apache.log4j.PropertyWatchdog.(PropertyConfigurator.java:914)

at org.apache.log4j.PropertyConfigurator.configureAndWatch(PropertyConfigurator.java:461)

at org.apache.log4j.PropertyConfigurator.configureAndWatch(PropertyConfigurator.java:443)

at com.wowza.wms.logging.WMSLoggerFactory.initializeLogging(WMSLoggerFactory.java:65)

at com.wowza.wms.logging.Log4jStartupListener.contextInitialized(Log4jStartupListener.java:20)

at net.winstone.core.WebAppConfiguration.(WebAppConfiguration.java:771)

at net.winstone.core.HostConfiguration.initWebApp(HostConfiguration.java:284)

at net.winstone.core.HostConfiguration.addWebAppConfiguration(HostConfiguration.java:192)

at net.winstone.core.HostConfiguration.(HostConfiguration.java:113)

at net.winstone.core.HostGroup.addHostConfiguration(HostGroup.java:115)

at net.winstone.core.HostGroup.(HostGroup.java:85)

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

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)

log4j:ERROR Either File or DatePattern options are not set for appender [serverAccess].

log4j:ERROR setFile(null,true) call failed.

java.io.FileNotFoundException: /usr/local/WowzaStreamingEngine/manager/logs/wmsmanager_access.log (Permission denied)

at java.io.FileOutputStream.open0(Native Method)

at java.io.FileOutputStream.open(FileOutputStream.java:270)

at java.io.FileOutputStream.(FileOutputStream.java:213)

at java.io.FileOutputStream.(FileOutputStream.java:133)

at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)

at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)

at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:223)

at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)

at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)

at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)

at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:809)

at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:735)

at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:615)

at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:502)

at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:395)

at org.apache.log4j.PropertyWatchdog.doOnChange(PropertyConfigurator.java:922)

at org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:89)

at org.apache.log4j.helpers.FileWatchdog.(FileWatchdog.java:58)

at org.apache.log4j.PropertyWatchdog.(PropertyConfigurator.java:914)

at org.apache.log4j.PropertyConfigurator.configureAndWatch(PropertyConfigurator.java:461)

at org.apache.log4j.PropertyConfigurator.configureAndWatch(PropertyConfigurator.java:443)

at com.wowza.wms.logging.WMSLoggerFactory.initializeLogging(WMSLoggerFactory.java:65)

at com.wowza.wms.logging.Log4jStartupListener.contextInitialized(Log4jStartupListener.java:20)

at net.winstone.core.WebAppConfiguration.(WebAppConfiguration.java:771)

at net.winstone.core.HostConfiguration.initWebApp(HostConfiguration.java:284)

at net.winstone.core.HostConfiguration.addWebAppConfiguration(HostConfiguration.java:192)

at net.winstone.core.HostConfiguration.(HostConfiguration.java:113)

at net.winstone.core.HostGroup.addHostConfiguration(HostGroup.java:115)

at net.winstone.core.HostGroup.(HostGroup.java:85)

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

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)

log4j:ERROR Either File or DatePattern options are not set for appender [serverAccess].

log4j:ERROR setFile(null,true) call failed.

java.io.FileNotFoundException: /usr/local/WowzaStreamingEngine/manager/logs/wmsmanager_error.log (Permission denied)

at java.io.FileOutputStream.open0(Native Method)

at java.io.FileOutputStream.open(FileOutputStream.java:270)

at java.io.FileOutputStream.(FileOutputStream.java:213)

at java.io.FileOutputStream.(FileOutputStream.java:133)

at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)

at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)

at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:223)

at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)

at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)

at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)

at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:809)

at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:735)

at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:615)

at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:502)

at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:395)

at org.apache.log4j.PropertyWatchdog.doOnChange(PropertyConfigurator.java:922)

at org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:89)

at org.apache.log4j.helpers.FileWatchdog.(FileWatchdog.java:58)

at org.apache.log4j.PropertyWatchdog.(PropertyConfigurator.java:914)

at org.apache.log4j.PropertyConfigurator.configureAndWatch(PropertyConfigurator.java:461)

at org.apache.log4j.PropertyConfigurator.configureAndWatch(PropertyConfigurator.java:443)

at com.wowza.wms.logging.WMSLoggerFactory.initializeLogging(WMSLoggerFactory.java:65)

at com.wowza.wms.logging.Log4jStartupListener.contextInitialized(Log4jStartupListener.java:20)

at net.winstone.core.WebAppConfiguration.(WebAppConfiguration.java:771)

at net.winstone.core.HostConfiguration.initWebApp(HostConfiguration.java:284)

at net.winstone.core.HostConfiguration.addWebAppConfiguration(HostConfiguration.java:192)

at net.winstone.core.HostConfiguration.(HostConfiguration.java:113)

at net.winstone.core.HostGroup.addHostConfiguration(HostGroup.java:115)

at net.winstone.core.HostGroup.(HostGroup.java:85)

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

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)

log4j:ERROR Either File or DatePattern options are not set for appender [serverError].

INFO com.wowza.wms.logging.Log4jStartupListener OS Name: Linux:

INFO com.wowza.wms.logging.Log4jStartupListener OS Version: 3.16.0-4-amd64:

INFO com.wowza.wms.logging.Log4jStartupListener OS Architecture: amd64:

INFO com.wowza.wms.logging.Log4jStartupListener Java Name: Java HotSpot™ 64-Bit Server VM:

INFO com.wowza.wms.logging.Log4jStartupListener Java Vendor: Oracle Corporation:

INFO com.wowza.wms.logging.Log4jStartupListener Java Version: 1.8.0_77:

INFO com.wowza.wms.logging.Log4jStartupListener Java VM Version: 25.77-b03:

INFO com.wowza.wms.logging.Log4jStartupListener Java Spec Version: 1.8:

INFO com.wowza.wms.logging.Log4jStartupListener Java Home: /usr/local/WowzaStreamingEngine-4.6.0/jre1.8.0_77:

INFO com.wowza.wms.logging.Log4jStartupListener Java Max Heap Size: 897MB:

INFO com.wowza.wms.logging.Log4jStartupListener Java Architecture: 64:

INFO com.wowza.wms.logging.Log4jStartupListener Java Locale[user.language]: en:

INFO com.wowza.wms.logging.Log4jStartupListener Java Locale[user.country]: US:

INFO com.wowza.wms.logging.Log4jStartupListener Java Locale[file.encoding]: UTF-8:

INFO com.wowza.wms.logging.Log4jStartupListener Java Timezone[user.timezone]: UTC:

INFO com.wowza.wms.logging.Log4jStartupListener Java Args[0]: -Dcom.wowza.wms.ConfigURL="":

INFO com.wowza.wms.logging.Log4jStartupListener Java Args[1]: -Dcom.wowza.wms.ConfigHome=/usr/local/WowzaStreamingEngine/manager:

INFO com.wowza.wms.logging.Log4jStartupListener Java Args[2]: -Djava.io.tmpdir=/usr/local/WowzaStreamingEngine/manager/temp:

INFO com.wowza.wms.logging.Log4jStartupListener Java Args[3]: -Dlog4j.configuration=file:///usr/local/WowzaStreamingEngine/manager/conf/winstone.properties:

INFO com.wowza.wms.logging.Log4jStartupListener Java Args[4]: -Djava.net.preferIPv4Stack=true:

2017-01-26 10:27:12,783 [main] INFO net.winstone.core.WebAppConfiguration - webapp Initializing Spring root WebApplicationContext

SLF4J: Class path contains multiple SLF4J bindings.

SLF4J: Found binding in [jar:file:/usr/local/WowzaStreamingEngine-4.6.0/manager/lib/lib/slf4j-log4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]

SLF4J: Found binding in [jar:file:/usr/local/WowzaStreamingEngine-4.6.0/manager/temp/WEB-INF/lib/slf4j-log4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]

SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

INFO org.hibernate.validator.util.Version Hibernate Validator null

INFO com.wowza.wms.server.ManagerConfiguration Loading configuration from /usr/local/WowzaStreamingEngine/manager/conf/Manager.xml:

INFO com.wowza.wms.server.ManagerConfiguration Loading configuration from /usr/local/WowzaStreamingEngine/manager/conf/Manager.xml:

INFO com.wowza.wms.webapp.RequestLoggingFilter RequestLoggingFilter disabled, no HTTP requests will be logged:

2017-01-26 10:27:16,572 [main] INFO net.winstone.core.WebAppConfiguration - webapp Initializing Spring FrameworkServlet ‘wowzaapp’

Jan 26, 2017 10:27:17 AM org.apache.jasper.EmbeddedServletOptions

SEVERE: The scratchDir you specified: /usr/local/WowzaStreamingEngine/manager/temp/tum_sarthak_gupta/winstone.tmp/default/webapp is unusable.

Jan 26, 2017 10:27:17 AM org.apache.jasper.EmbeddedServletOptions

WARNING: Warning: Invalid value for the initParam fork. Will use the default value of “true”

2017-01-26 10:27:17,203 [main] INFO net.winstone.core.HostConfiguration - Deploy web application: prefix webroot

2017-01-26 10:27:17,214 [main] INFO net.winstone.core.listener.HttpListener - HTTP Listener started: port=8088

Thu, 26 Jan 2017 10:27:17 227 GMT, BootStrap Info: Exit

2017-01-26 10:27:17,227 [LauncherControlThread[ControlPort=-1]]] INFO net.winstone.Server - Winstone Servlet E

ngine v1.0.5 running: controlPort=disabled

I have been using the license key given to me in the mail sent when I registered for the product.

I am using the latest version.

Prompt Help is much appreciated.

Hello,

Thanks for contacting Wowza Forums!

On your issues, can you confirm the ports are open for your cloud service?

Also, I see a permission denied error. Can you confirm the user you are using to run Wowza has the correct permissions?

This looks like a overall permissions issue and something is denying access, either via network and port or user privileges.

Once you investigate both network/ports and user privileges, can you let us know the results?

regards,

Jermaine