Results 1 to 4 of 4

Thread: Wowza timezone

  1. #1
    Join Date
    Feb 2010
    Posts
    25

    Default Wowza timezone

    This is more an FYI to everyone than a request for support, as I've just spent the better part of today figuring this out.

    If you're on CentOS or other RHEL systems, you're used to "ln -sf /usr/share/zoneinfo/[YOUR]/[ZONE] localtime" to change the timezone of your machine, which is then either picked up by your scripts or has to be explicitly declared.

    Wowza (well, Java actually, but Wowza for the purposes of this thread) does neither, it instead looks for the timezone in "/etc/sysconfig/clock" where it looks for a ZONE="[YOUR]/[ZONE]" line; that's where you need to change it for Wowza to pick up the timezone you want.

    Sorry if this is old hat for Java people but, from what a forum search of "timezone" gives, it's not stated as far as I can see. Hopefully this helps someone else with the same issue.

  2. #2
    Join Date
    Jun 2012
    Posts
    724

    Default

    Hello,

    Thank you for sharing your findings.
    You can also specify the timezone used by Wowza if you add "-Duser.timezone=UTC" in the Wowza startup script (startup.sh).
    You should add it to this line:
    $_EXECJAVA $WMSTUNE_OPTS $JMXOPTIONS -Dcom.wowza.wms.runmode="$mode" -Dcom.wowza.wms.native.base="linux" -Dcom.wowza.wms.AppHome="$WMSAPP_HOME" -Dcom.wowza.wms.ConfigURL="$WMSCONFIG_URL" -Dcom.wowza.wms.ConfigHome="$WMSCONFIG_HOME" -Duser.timezone=Europe/Brussels -cp $WMSAPP_HOME/bin/wms-bootstrap.jar com.wowza.wms.bootstrap.Bootstrap start
    Zoran

  3. #3
    Join Date
    Jun 2014
    Posts
    3

    Default

    Quote Originally Posted by zoran_u View Post
    Hello,

    Thank you for sharing your findings.
    You can also specify the timezone used by Wowza if you add "-Duser.timezone=UTC" in the Wowza startup script (startup.sh).
    You should add it to this line:
    $_EXECJAVA $WMSTUNE_OPTS $JMXOPTIONS -Dcom.wowza.wms.runmode="$mode" -Dcom.wowza.wms.native.base="linux" -Dcom.wowza.wms.AppHome="$WMSAPP_HOME" -Dcom.wowza.wms.ConfigURL="$WMSCONFIG_URL" -Dcom.wowza.wms.ConfigHome="$WMSCONFIG_HOME" -Duser.timezone=Europe/Brussels -cp $WMSAPP_HOME/bin/wms-bootstrap.jar com.wowza.wms.bootstrap.Bootstrap start
    Zoran
    Hi
    Where I can file startup script on Linux version?

  4. #4
    Join Date
    Jun 2011
    Posts
    1,047

    Default

    Hi,
    You can find the startup.sh script located at:
    [install-dir]/bin
    typically:
    /usr/local/WowzaStreamingEngine/bin


    Daren

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •