Results 1 to 8 of 8

Thread: Wowza don`t remove lock file on system reboot

  1. #1
    Join Date
    Sep 2009
    Posts
    4

    Default Wowza don`t remove lock file on system reboot

    Hi!

    Sorry for my poor English :-)

    Make Wowza auto start: chkconfig --level 345 WowzaMediaServer on

    Reboot server (Centos 6).
    http://mysite:1935/ - Wowza Media Server 3 Perpetual Edition 3.1.1 build1479
    But streaming not work.

    If run service WowzaMediaServer stop and then service WowzaMediaServer start = OK.
    Wowza - work, streaming - work.

    The trouble with Wowza is that Wowza don`t remove lock file when system reboot.

    What can i do?

    Sorry for my poor English :-)

  2. #2
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Not sure what you mean. I don't think that Wowza can maintain a lock on a file after reboot.

    Richard

  3. #3
    Join Date
    Sep 2009
    Posts
    4

    Default

    Richard, thanks.

    The problem is case 2:

    Case 1) If start Wowza manualy (service WowzaMediaServer start) then streaming is working fine.

    Case 2) Wowza is running and working fine. Than i reboot my system. Wowza starting automatically on system loading by chkconfig, BUT streaming don`t work at all. On request http://mysite:1935/ Wowza say: "Wowza Media Server 3 Perpetual Edition 3.1.1 build1479", BUT really don`t work. If make service WowzaMediaServer stop and service WowzaMediaServer start then Wowza run fine and streaming work.

    Case 3) Wowza work fine. Run service WowzaMediaServer stop and stopping Wowza. Reboot the PC. Wowza starting automatically by chkconfig and work fine.

  4. #4
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Thanks for the clarification. I will ask around to see if there is any insight into this, I have not heard of that exact scenario before. You should be able to add the service shutdown command so that it runs when the server shuts down. Take a look at this article

    Richard

  5. #5
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    We think this is a user/permission problem, perhaps Wowza was installed or chkconfig was modified under a user other than root, but the Wowza service is starting using root when the server reboots. The easiest solution is re-install:

    1. Uninstall Wowza,
    2. Thoroughly remove all Wowza folders
    3. Reboot the machine
    4. Login as root
    5. re-install Wowza as root
    6. configure startup as root



    Richard

  6. #6
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    To thoroughly remove folders:
    rm -rf /var/lock/subsys/WowzaMediaServer*
    rm -rf /var/run/WowzaMediaServer
    rm -rf /var/run/WowzaMediaServer*
    rm -rf /usr/local/WowzaMediaServer*
    Richard

  7. #7
    Join Date
    Sep 2009
    Posts
    4

    Default

    Wowza was intalled as root.
    A will read the article.

    Richard, thanks a lot!

  8. #8
    Join Date
    Sep 2013
    Posts
    1

    Default

    Please try longpathtool and get the solution of above relevant issue.It was really helped me to get the right solution which worked for me.


    Thanks
    Antonnys

Posting Permissions

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