·您当前的位置:首页 > 技术教程 > Wowza教程 >

[wowza]Wowza Media Server 的日志文档说明

时间:2016-01-04 10:22酷播
[wowza]Wowza Media Server 的日志文档说明,如何根据Wowza服务器日志中的出错信息进行故障排查

 Wowza Media Server 的日志文档说明

  Code:
server ERROR 500 - server core failure: java.net.BindException: Address already in use
vhost WARN 200 _defaultVHost_ Bind failed, try again ([any]:1935): java.net.BindException: Address already in use
原因: 通常的原因是这台服务器上已经有另一个Wowza Media Server正在运行。 wowzamediaserver_service.log 记录了安装的信息以及启动信息。 关闭掉所有Wowza Media Server的实例,然后重新启动。Wowza 可以作为一个服务运行,或作为独立模式(standalone mode)运行,或者在Wowza IDE中运行,但是在同一个时间只能运行一个。 要对JMX访问进行配置,请阅读管理和监控(JMX 和 JConsole)。

  Code:
comment server ERROR 500 - Failed to connect: org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: Connection refused].
comment server WARN 200 - RTPSessionDescriptionDataProviderBasic.getStreamIn fo: RTSP/RTP re-streaming. Cannot connect to server: rtsp://[wowza-ip-address]/myStream.sdp
原因:试图用不正确的凭证/授权去连接一个IP摄像头(被拒绝连接了)。

  Code:
server WARN 200 - LiveStreamPacketizerSmoothStreaming.handlePacket[live/_definst_/myStream]: Fragment duration greater than suggested range of 1-4 seconds. Adjust keyframe interval accordingly: Fragment durations: [5.0,5.0,5.0]
原因: 对于Silverlight Smooth Streaming (仅针对直播流),关键帧的间隔(可以直接在一些编码器上设置,或者是gop除以fps)需要在1到4秒之间,推荐2秒。任何超过4秒的设置就会引起播放暂停。 如果你没有用Smooth Streaming,请在Streams/LiveStreamPacketizers中删除smoothstreamingpacketizer。

  Code:
comment server WARN 200 - RTPPacket.write: Bad packet: Incomplete NAL Units.
原因: 大多数是因为丢包。请打开丢包日志记录的功能以验证是否是这个问题。(请阅读Configure an RTP jitter buffer and packet loss logging (RTP/MPEG-TS over RTP).)

  Code:
comment server ERROR 500 RTPDePacketizerMPEG4LATM.handleRTPPacket: Bad packet length: 200:105
原因: 这暗示着网络连接故障。请试着在你本机或本地局域网来测试相同的流,来排除网络问题。

  Code:
ERROR server comment HTTPUtils.HTTPRequestToByteArray: java.io.FileNotFoundException: http://[ip-address]/latest/meta-data/product-codes
WARN server comment Server.run: License key specified in [install-dir]/conf/Server.license file is malformed.
ERROR server comment error: java.lang.NullPointerException
ERROR server comment ERROR: Cannot write to license key file:
原因: 这个错误可能是由于您使用了错误的授权码(license key)。例如,你将Wowza Media Server 2 的license key 用在了 Wowza Media Server 3 上。

  Code:
ERROR: License key is not valid or license file does not exist and running as a service (exiting)
原因: 这个错误是由于使用了永久授权的插件,但没有合法的Wowza服务器永久授权。

  Code:
server comment ERROR com.wowza.wms.server.LicensingException: Server.license
原因: 当使用性能测试工具时,在每一次性能测试脚本运行时,你会看到2个服务器license 错误。这个问题在Wowza的性能测试工具文档中有说明,可以忽略这个错误信息。

  Code:
ERROR server comment - The Wowza Media Systems Software licensing system has determined that your serial number is not valid. Please validate that your are using the correct serial number. If this problem persists, please visit http://www.wowzamedia.com/subscriptionsupport.php for up to date information.
ERROR server comment - system.exit
原因: 这个错误是由于你没有购买合法的license。请联系billing@wowza.com 解决。

  Code:
comment server ERROR 500 - invoke(onHTTPCupertinoStreamingSessionDestroy): java.lang.NullPointerException: com.ptin.wms.module.AbortSession.onHTTPCupertinoSt reamingSessionDestroy(EndSession.java:10)
原因: 在这个案例中,在用户自定义模块AbortSession的第10行有一个错误。必须由这个模块的开发者来检查这个错误。

  Code:
Comment server WARN 200 Application folder ([install-location]/applications/_defapp_) is missing
原因: 这个错误发生在当你连接Wowza Media Server时,Wowza没有找到对应的应用名。

  Code:
comment server WARN 200 - Application folder ([install-location]/applications/:80) is missing
原因: 通常这是由于在使用ffmpeg作为编码器时,它没有正确的发送应用名。

  Code:
comment server INFO 200 - RTPMediaCaster.create[9936743] - - - 2.469
comment server INFO 200 - RTPMediaCaster.init[9936743] - - - 2.47
comment server INFO 200 - RTPMediaCaster.Reconnector[9936743:live/_definst_:live/customer.stream]: start: 1 - - - 2.473
comment server INFO 200 - VHost.startStartupStreams: Stream successfully started [live/_definst_]: flv:live/customer.stream - - - 2.486
comment server ERROR 500 - Failed to connect: org.apache.mina.common.RuntimeIOException: Failed to get the session[java.net.NoRouteToHostException: No route to host]. - - - 5.603
comment server WARN 200 - RTPSessionDescriptionDataProviderBasic.getStreamIn fo: RTSP/RTP re-streaming. Cannot connect to server: rtsp://[wowza-ip-address]/customer.mp4 - - - 5.618
comment server ERROR 500 - Failed to connect: org.apache.mina.common.RuntimeIOException: Failed to get the session[java.net.NoRouteToHostException: No route to host].
原因: 这个MediaCaster的问题通常是由于一些网络错误引起的。例如SHOUTcast服务器没有启动。在这里我们看见有一个直播流启动了,接下来的警告和错误暗示Wowza Media Server被它依赖的网络连接错误影响。

  Code:
Application (vod) is not defined
原因: 如果是在使用例子播放器时遇到这个错误,并且应用'vod'是正确定义好的,那么可能是有另外一个应用已经占用了Wowza Media Server用的端口。在这种情况下,http://localhost:1935 不会向你期望的那样返回build number 并且在日志中不会有其它记录,因为服务器无法连接。

  Code:
ERROR server comment RTPSessionDescriptionDataProviderBasicRTSPConnecti on.connect[wowza-ip-address]:[port-number]: Failed to connect: org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: Connection refused: no further information].
WARN server comment LiveMediaStreamReceiver.doWatchdog: streamTimeout: Resetting connection
原因: Wowza Media Server无法连接到MediaCaster流。这可能是网络的问题或输入流的问题。例如,摄像头可以被访问,但是拒绝连接。Wowza Media Server 将会继续尝试连接直到流重新可用了。

酷播跨平台演示PC终端、安卓Android终端、苹果iOS终端、Windows Phone终端等主流终端

wowza运用效果(基于极酷阳光播放器

热门文章推荐

请稍候...

保利威视云平台-轻松实现点播直播视频应用

酷播云数据统计分析跨平台播放器