I’m trying to setup a server to fill all roles:
-
Origin
-
Load Balancer Listener
-
Edge (or Load Balancer Sender)
I have followed the README, but when I visit
http://[load-balancer-ip-address]:1935/loadbalancer?serverInfoXML
I simply get:
Wowza Streaming Engine 4 Trial Edition (Expires: Aug 12, 2014) 4.0.0.00 build10425
Here is the startup log:
Configure logging: file:///Library/WowzaStreamingEngine/conf/log4j.properties INFO server server-start Wowza Streaming Engine 4 Trial Edition (Expires: Aug 12, 2014) 4.0.0.00 build10425 - INFO server comment - Server License Key: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX INFO server comment - Maximum Connections: 10 INFO server comment - Maximum Incoming Streams: 3 INFO server comment - Transcoder Streams Available: Transcoder Not Available (osx-64) INFO server comment - nDVR Available: Yes INFO server comment - DRM Available: Yes INFO server comment - HTTP Origin Available: No INFO server comment - REST API Available: Yes INFO server comment - Hardware Available Processors: 8 INFO server comment - Hardware Physical Memory: 669MB/16384MB INFO server comment - Hardware Swap Space: 903MB/1024MB INFO server comment - Max File Descriptor Count: 10240 INFO server comment - Open File Descriptor Count: 75 INFO server comment - OS Name: Mac OS X INFO server comment - OS Version: 10.9.1 INFO server comment - OS Architecture: x86_64 INFO server comment - Java Name: Java HotSpot(TM) 64-Bit Server VM INFO server comment - Java Vendor: Oracle Corporation INFO server comment - Java Version: 1.7.0_51 INFO server comment - Java VM Version: 24.51-b03 INFO server comment - Java Spec Version: 1.7 INFO server comment - Java Home: /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre INFO server comment - Java Max Heap Size: 3933MB INFO server comment - Java Architecture: 64 INFO server comment - Java Locale[user.language]: en INFO server comment - Java Locale[user.country]: US INFO server comment - Java Locale[file.encoding]: UTF-8 INFO server comment - Java Timezone[user.timezone]: Europe/Copenhagen INFO server comment - Java Args[0]: -Xmx4000M INFO server comment - Java Args[1]: -XX:+UseConcMarkSweepGC INFO server comment - Java Args[2]: -XX:+UseParNewGC INFO server comment - Java Args[3]: -XX:NewSize=256m INFO server comment - Java Args[4]: -Djava.net.preferIPv4Stack=true INFO server comment - Java Args[5]: -Dcom.sun.management.jmxremote=true INFO server comment - Java Args[6]: -Dcom.wowza.wms.runmode=standalone INFO server comment - Java Args[7]: -Dcom.wowza.wms.native.base=osx INFO server comment - Java Args[8]: -Dcom.wowza.wms.AppHome=/Library/WowzaStreamingEngine INFO server comment - Java Args[9]: -Dcom.wowza.wms.ConfigURL= INFO server comment - Java Args[10]: -Dcom.wowza.wms.ConfigHome=/Library/WowzaStreamingEngine INFO server comment - Server runmode: standalone INFO server comment - Server native.platform: osx INFO server comment - Server threads[h/t]: 480/320 INFO server comment - RESTServer: Bind attempt ([any]:8087) INFO server comment - RESTServer: Bind successful ([any]:8087) INFO server comment - RESTServer: Using configs from:/Library/WowzaStreamingEngine/ INFO server comment - RESTServer: SSL:No INFO server comment - RESTServer: BasicAuth:No INFO server comment - RESTServer: Digest:Yes INFO server comment - RESTServer: XML Viewer:No INFO server comment - Wowza REST API started INFO server comment - CMDInterface now listening: [any]:8083 INFO server comment - MediaCache[MediaCache]: Thread pool size: [writer/readahead]:16/8 INFO server comment - MediaCache[MediaCache]: MAX Pending size: [writer/readahead]:500M/25M INFO server comment - MediaCache[MediaCache]: Add store: path:/Library/WowzaStreamingEngine/mediacache maxSize:10737418240 INFO server comment - MediaCache[MediaCache]: Add source[dvrorigin]: prefix:dvrorigin/ basePath:http:// INFO server comment - MediaCache[MediaCache]: Flushing cache: start INFO server comment - MediaCache[MediaCache]: Flushing cache: done INFO server comment - MediaCache[MediaCache]: Start MediaCache GC INFO server comment - MediaCache[MediaCache]: Started INFO vhost vhost-start _defaultVHost_ - INFO server comment - _defaultVHost_ threads[h/t]:0/0 home:/Library/WowzaStreamingEngine INFO vhost comment _defaultVHost_ Bind attempt ([any]:1935:16) INFO vhost comment _defaultVHost_ Bind successful ([any]:1935) INFO vhost comment _defaultVHost_ Bind attempt ([any]:8086:4) INFO vhost comment _defaultVHost_ Bind successful ([any]:8086) INFO server comment - Server.startShutdownHook: Start server shutdown hook INFO server comment - ServerListenerLoadBalancerListener.onServerInit INFO server comment - LoadBalancerListener.bind: 0.0.0.0/0.0.0.0:1934 INFO server comment - ServerListenerLoadBalancerSender.onServerInit INFO server comment - LoadBalancerEdge.parseEdgeList: /Library/WowzaStreamingEngine/conf/loadbalancertargets.txt INFO server comment - LoadBalancerEdge.parseEdgeList: target:MY-IP:1934 ERROR server comment - StatsDatabaseManager:checkStorage() /Library/WowzaStreamingEngine/stats) Permsission denied testing priviledges to the stats storage.: java.io.IOException: Permission denied|at java.io.UnixFileSystem.createFileExclusively(Native Method)|at java.io.File.createNewFile(File.java:1006)|at java.io.File.createTempFile(File.java:1989)|at com.wowza.wms.stats.database.StatsDatabaseManager.checkStorage(Unknown Source)|at com.wowza.wms.stats.database.StatsDatabaseManager.setStorageRoot(Unknown Source)| INFO server comment - LoadBalancerServer.handleMessage[5a8bff8c-2409-440d-964b-3cbfa17b22d8]: status: RUNNING INFO server comment - StatsManager:startManager() Enabled=true INFO server comment - Wowza Streaming Engine is started!
UPDATE: I fixed the ERROR server comment
ERROR server comment - StatsDatabaseManager:checkStorage() /Library/WowzaStreamingEngine/stats) Permsission denied testing priviledges to the stats storage.: java.io.IOException: Permission denied|at java.io.UnixFileSystem.createFileExclusively(Native Method)|at java.io.File.createNewFile(File.java:1006)|at java.io.File.createTempFile(File.java:1989)|at com.wowza.wms.stats.database.StatsDatabaseManager.checkStorage(Unknown Source)|at com.wowza.wms.stats.database.StatsDatabaseManager.setStorageRoot(Unknown Source)|
with sudo chmod -R 777 stats.
New startup log:
Configure logging: file:///Library/WowzaStreamingEngine/conf/log4j.properties INFO server server-start Wowza Streaming Engine 4 Trial Edition (Expires: Aug 12, 2014) 4.0.0.00 build10425 - INFO server comment - Server License Key: ET1A4-XXXXX-XXXXX-XXXXX-XXXXX-9bkQd INFO server comment - Maximum Connections: 10 INFO server comment - Maximum Incoming Streams: 3 INFO server comment - Transcoder Streams Available: Transcoder Not Available (osx-64) INFO server comment - nDVR Available: Yes INFO server comment - DRM Available: Yes INFO server comment - HTTP Origin Available: No INFO server comment - REST API Available: Yes INFO server comment - Hardware Available Processors: 8 INFO server comment - Hardware Physical Memory: 428MB/16384MB INFO server comment - Hardware Swap Space: 903MB/1024MB INFO server comment - Max File Descriptor Count: 10240 INFO server comment - Open File Descriptor Count: 75 INFO server comment - OS Name: Mac OS X INFO server comment - OS Version: 10.9.1 INFO server comment - OS Architecture: x86_64 INFO server comment - Java Name: Java HotSpot(TM) 64-Bit Server VM INFO server comment - Java Vendor: Oracle Corporation INFO server comment - Java Version: 1.7.0_51 INFO server comment - Java VM Version: 24.51-b03 INFO server comment - Java Spec Version: 1.7 INFO server comment - Java Home: /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre INFO server comment - Java Max Heap Size: 3933MB INFO server comment - Java Architecture: 64 INFO server comment - Java Locale[user.language]: en INFO server comment - Java Locale[user.country]: US INFO server comment - Java Locale[file.encoding]: UTF-8 INFO server comment - Java Timezone[user.timezone]: Europe/Copenhagen INFO server comment - Java Args[0]: -Xmx4000M INFO server comment - Java Args[1]: -XX:+UseConcMarkSweepGC INFO server comment - Java Args[2]: -XX:+UseParNewGC INFO server comment - Java Args[3]: -XX:NewSize=256m INFO server comment - Java Args[4]: -Djava.net.preferIPv4Stack=true INFO server comment - Java Args[5]: -Dcom.sun.management.jmxremote=true INFO server comment - Java Args[6]: -Dcom.wowza.wms.runmode=standalone INFO server comment - Java Args[7]: -Dcom.wowza.wms.native.base=osx INFO server comment - Java Args[8]: -Dcom.wowza.wms.AppHome=/Library/WowzaStreamingEngine INFO server comment - Java Args[9]: -Dcom.wowza.wms.ConfigURL= INFO server comment - Java Args[10]: -Dcom.wowza.wms.ConfigHome=/Library/WowzaStreamingEngine INFO server comment - Server runmode: standalone INFO server comment - Server native.platform: osx INFO server comment - Server threads[h/t]: 480/320 INFO server comment - RESTServer: Bind attempt ([any]:8087) INFO server comment - RESTServer: Bind successful ([any]:8087) INFO server comment - RESTServer: Using configs from:/Library/WowzaStreamingEngine/ INFO server comment - RESTServer: SSL:No INFO server comment - RESTServer: BasicAuth:No INFO server comment - RESTServer: Digest:Yes INFO server comment - RESTServer: XML Viewer:No INFO server comment - Wowza REST API started INFO server comment - CMDInterface now listening: [any]:8083 INFO server comment - MediaCache[MediaCache]: Thread pool size: [writer/readahead]:16/8 INFO server comment - MediaCache[MediaCache]: MAX Pending size: [writer/readahead]:500M/25M INFO server comment - MediaCache[MediaCache]: Add store: path:/Library/WowzaStreamingEngine/mediacache maxSize:10737418240 INFO server comment - MediaCache[MediaCache]: Add source[dvrorigin]: prefix:dvrorigin/ basePath:http:// INFO server comment - MediaCache[MediaCache]: Flushing cache: start INFO server comment - MediaCache[MediaCache]: Flushing cache: done INFO server comment - MediaCache[MediaCache]: Start MediaCache GC INFO server comment - MediaCache[MediaCache]: Started INFO vhost vhost-start _defaultVHost_ - INFO server comment - _defaultVHost_ threads[h/t]:0/0 home:/Library/WowzaStreamingEngine INFO vhost comment _defaultVHost_ Bind attempt ([any]:1935:16) INFO vhost comment _defaultVHost_ Bind successful ([any]:1935) INFO vhost comment _defaultVHost_ Bind attempt ([any]:8086:4) INFO vhost comment _defaultVHost_ Bind successful ([any]:8086) INFO server comment - Server.startShutdownHook: Start server shutdown hook INFO server comment - ServerListenerLoadBalancerListener.onServerInit INFO server comment - LoadBalancerListener.bind: 0.0.0.0/0.0.0.0:1934 INFO server comment - ServerListenerLoadBalancerSender.onServerInit INFO server comment - LoadBalancerEdge.parseEdgeList: /Library/WowzaStreamingEngine/conf/loadbalancertargets.txt INFO server comment - LoadBalancerEdge.parseEdgeList: target:MY-IP:1934 INFO server comment - LoadBalancerServer.handleMessage[5a8bff8c-2409-440d-964b-3cbfa17b22d8]: status: RUNNING INFO server comment - StatsManager:startManager() Enabled=true INFO server comment - Wowza Streaming Engine is started!