首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Apache 5.9.0 - ActiveMQ中的启动问题

问Apache 5.9.0 - ActiveMQ中的启动问题
EN

Stack Overflow用户
提问于 2013-11-07 10:06:20
回答 1查看 2.3K关注 0票数 1

当我在UNIX机器中启动ActiveMQ服务器时,我面临着问题。

我只是简单地安装一个新的副本,通过下载和摘录。我没有改变任何配置。

下载文件:- apache-activemq-5.9.0.bin.tar.gz

然后我拔掉,试着开始。

代码语言:javascript
复制
/apache-activemq-5.9.0/bin/linux-x86-64 


[aaa@addr:17.169.98.231 linux-x86-64]$:/ngs/app/xxx> ./activemq start
Starting ActiveMQ Broker...
[aaa@addr:17.34.34.34 linux-x86-64]$:/ngs/app/xxx> 
[aaa@addr:17.34.34.34 linux-x86-64]$:/ngs/app/xxx> 
[aaa@addr:17.34.34.34 linux-x86-64]$:/ngs/app/xx> ./activemq status
ActiveMQ Broker is running (5439).
[aaa@addr:17.34.34.34 linux-x86-64]$:/ngs/app/xxx> ./activemq status
ActiveMQ Broker is running (5439).
[aaa@addr:17.34.34.34 linux-x86-64]$:/ngs/app/xxx> ./activemq status
ActiveMQ Broker is not running.
[aaa@addr:17.34.34.34 linux-x86-64]$:/ngs/app/xxx> ./activemq status
ActiveMQ Broker is not running.

现在服务器没有运行。过了几秒钟就是stopping.Why了?

在控制台上启动:-

代码语言:javascript
复制
[aaa@addr:17.34.34.34 linux-x86-64]$:/ngs/app/xxx> ./activemq console

Running ActiveMQ Broker...
wrapper  | WARNING: Could not write lock file /var/lock/subsys/ActiveMQ: Permission denied
wrapper  | --> Wrapper Started as Console
wrapper  | Launching a JVM...
wrapper  | JVM exited while loading the application.
jvm 1    | wrapper  | Unable to start JVM: No such file or directory (2)
wrapper  | Launching a JVM...
wrapper  | JVM exited while loading the application.
jvm 2    | wrapper  | Unable to start JVM: No such file or directory (2)
wrapper  | Launching a JVM...
wrapper  | JVM exited while loading the application.
jvm 3    | wrapper  | Unable to start JVM: No such file or directory (2)
wrapper  | Launching a JVM...
wrapper  | JVM exited while loading the application.
jvm 4    | wrapper  | Unable to start JVM: No such file or directory (2)
wrapper  | Launching a JVM...
wrapper  | JVM exited while loading the application.
jvm 5    | wrapper  | Unable to start JVM: No such file or directory (2)
wrapper  | There were 5 failed launches in a row, each lasting less than 300 seconds.  Giving up.
wrapper  |   There may be a configuration problem: please check the logs.
wrapper  | <-- Wrapper Stopped

我做的任何错误。我搜索了许多链接和文章,但没有找到解决方案。RabbitMQ已经在这台机器上运行。

请给我建议。

提前谢谢

EN

回答 1

Stack Overflow用户

发布于 2013-11-07 10:56:39

它被解决了。

ActiveMQ需要JDK而不是JRE,它没有安装在我的机器上。

我已经安装了JDK,现在它可以工作了。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/19833026

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档