我正在尝试在我的 Live Server(Win Server 2008 R2)上运行 Red5 Media Server。安装成功,我已经使用端口 5080 输入了 localhost,但是在尝试启动 Red5 服务时出现此错误:
Windows could not start the Red5 service on Local Computer.
Error 1067: The process terminated unexpectedly.
我已经尝试过的事情(没有成功):
- 以管理员身份运行 red5 setup
- 以管理员身份运行 red5 服务
- 在防火墙中打开端口 5080
- 在尝试启动服务之前关闭 iis
有什么想法可能是错的吗?谢谢
更新:
我检查了日志:(我已经设置了 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