Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Windows 2008 R2 Service

  1. #1

    Default Windows 2008 R2 Service Issue

    I am new to WOWZA and have installed it. If I run the startup.bat the service starts. however, if I try to start it from the service control panel, I get an error 1067 operation failed. Is there something I am missing here? I have it set to use a specific account, and have also tried logona s a service but neither one works. I have JRE7 installed and have my JAVA_HOME env set as well.
    Last edited by haarvik; 05-05-2012 at 10:40 AM.

  2. #2

    Default

    Hello haarvik,

    Is there more to the Windows error message? Which version of Wowza?

    Sounds like something went wrong with your installation. Try uninstalling Wowza, rebooting, and re-installing Wowza.

    Another user had a similar error here, which was a typo.

  3. #3

    Default

    I found what the issue is, just not sure where to correct it. The wowza log file is saying it can't find C:\Program Files(x86)\Java\JRE6\bin\bin\java.exe.
    My JAVA_HOME is set to C:\Program Files(x86)\Java\JRE6. So where would I fix the path that the service is trying to find which is incorrect?

    here is the log error:

    --> Wrapper Started as Service
    STATUS | wrapper | 2012/05/05 06:51:38 | Launching a JVM...
    FATAL | wrapper | 2012/05/05 06:51:38 | Unable to execute Java command. The system cannot find the file specified. (0x2)
    FATAL | wrapper | 2012/05/05 06:51:38 | "C:\Program Files (x86)\Java\jre6\bin\bin\java.exe" -Xmx768M -Dcom.wowza.wms.native.base="win" -Dcom.wowza.wms.runmode="service" -Dcom.wowza.wms.ConfigURL= -Dcom.sun.management.jmxremote=true -Dorg.tanukisoftware.wrapper.WrapperManager.mbean=true -Dorg.tanukisoftware.wrapper.WrapperManager.mbean.testing=false -Djava.net.preferIPv4Stack=true -Djava.library.path="./" -classpath "./wms-bootstrap.jar;./wrapper.jar" -Dwrapper.key="d_ms9ZGYMvQClmfp" -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=4156 -Dwrapper.version="3.2.3" -Dwrapper.native_library="wrapper" -Dwrapper.service="TRUE" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperStartStopApp com.wowza.wms.bootstrap.Bootstrap 1 start com.wowza.wms.bootstrap.Bootstrap true 1 stop
    FATAL | wrapper | 2012/05/05 06:51:38 | Critical error: wait for JVM process failed
    Last edited by haarvik; 05-07-2012 at 05:21 AM.

  4. #4
    Join Date
    Dec 2007
    Posts
    27,834

    Default

    JAVA_HOME is an environment variable. Search for "edit the system environment variables"

    Richard

  5. #5

    Default

    I know that...it is set correctly. If I start wowza from the startup.bat script it works fine. Why is the service startup inserting another \bin\into the JAVA_HOME environment variable?

  6. #6
    Join Date
    Dec 2007
    Posts
    27,834

    Default

    Mine is set to C:\Program Files\Java\jdk1.7.0

    Richard

  7. #7

    Default

    As I posted initially, mine is set to:

    C:\Program Files(x86)\Java\JRE6

    The log file says wowza is looking for it in:

    C:\Program Files (x86)\Java\jre6\bin

    So where do I edit to remove the extra \bin\ ?

  8. #8
    Join Date
    Dec 2007
    Posts
    27,834

    Default

    Start > "edit the system environment variables"

    Richard

  9. #9

    Default

    I know that! You're not reading what I am saying!

    >echo %JAVA_HOME%
    returns
    C:\Program Files (x86)\Java\jre6

    So it is set right. Whatever the service control manager is calling to start wowza THINKS that JAVA_HOME is C:\Program Files (x86)\Java\jre6\bin and NOT C:\Program Files (x86)\Java\jre6! Where is this path set? It is obviously NOT using the environment variables or the extra \bin\ would NOT be in the path!

  10. #10
    Join Date
    Dec 2007
    Posts
    27,834

    Default

    This is set at the top of /bin/WowzaMediaServer-Service.conf:
    Code:
    wrapper.java.command=%JAVA_HOME%\bin\java.exe
    Richard

Page 1 of 2 12 LastLast

Posting Permissions

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