我正在尝试在我的Live Server(Win Server 2008 R2)上运行Red5媒体服务器。 安装工作,我已输入端口5080的localhost,但在尝试启动Red5服务时,我收到此错误:
Windows could not start the Red5 service on Local Computer.
Error 1067: The process terminated unexpectedly.
我已经尝试过的事情(没有成功):
任何想法可能出错?感谢
更新
我检查了日志: (我已经设置了JAVA_HOME用户环境变量并重新启动)..还没有成功
STATUS | wrapper | 2012/10/09 13:36:42 | --> Wrapper Started as Service
STATUS | wrapper | 2012/10/09 13:36:42 | Java Service Wrapper Community Edition 32-bit 3.3.6
STATUS | wrapper | 2012/10/09 13:36:42 | Copyright (C) 1999-2009 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2012/10/09 13:36:42 | http://wrapper.tanukisoftware.org
STATUS | wrapper | 2012/10/09 13:36:42 |
STATUS | wrapper | 2012/10/09 13:36:43 | Launching a JVM...
FATAL | wrapper | 2012/10/09 13:36:43 | Unable to execute Java command. The system cannot find the file specified. (0x2)
FATAL | wrapper | 2012/10/09 13:36:43 | "java" -Xrs -XX:+AggressiveOpts -XX:+DisableExplicitGC -Djava.net.preferIPv4Stack=true -Dlogback.ContextSelector=org.red5.logging.LoggingContextSelector -Dcatalina.useNaming=true -Dpython.home=lib -Xverify:none -Xms256m -Xmx768m -Djava.library.path="lib" -classpath "lib/wrapper.jar;conf;boot.jar" -Dwrapper.key="35GMYkROEBTyRT4O" -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=2420 -Dwrapper.version="3.3.6" -Dwrapper.native_library="wrapper" -Dwrapper.service="TRUE" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperSimpleApp org.red5.server.Bootstrap
ADVICE | wrapper | 2012/10/09 13:36:43 |
ADVICE | wrapper | 2012/10/09 13:36:43 | ------------------------------------------------------------------------
ADVICE | wrapper | 2012/10/09 13:36:43 | Advice:
ADVICE | wrapper | 2012/10/09 13:36:43 | Usually when the Wrapper fails to start the JVM process, it is because
ADVICE | wrapper | 2012/10/09 13:36:43 | of a problem with the value of the configured Java command. Currently:
ADVICE | wrapper | 2012/10/09 13:36:43 | wrapper.java.command=java
ADVICE | wrapper | 2012/10/09 13:36:43 | Please make sure that the PATH or any other referenced environment
ADVICE | wrapper | 2012/10/09 13:36:43 | variables are correctly defined for the current environment.
ADVICE | wrapper | 2012/10/09 13:36:43 | ------------------------------------------------------------------------
ADVICE | wrapper | 2012/10/09 13:36:43 |
FATAL | wrapper | 2012/10/09 13:36:43 | Critical error: wait for JVM process failed
答案 0 :(得分:2)
尝试运行red5.bat以获取有关错误的更多详细信息。
答案 1 :(得分:0)
我遇到了和你一样的问题并设法解决了我以为我会分享:
在我的情况下,我需要在PATH环境变量下添加对Java Runtime Environment的bin文件夹的引用。 (Start --> Computer; Properties --> Advanced System Settings --> tab "advanced"; Environment Variables --> system variabeles; PATH variable.
单击编辑并添加Java安装的bin文件夹的路径。