Apache ActiveMQ 5.9.0-UNIX中的启动问题
在UNIX机器中启动ActiveMQ服务器时,我遇到了一个问题 我只是通过下载和解压缩来安装一个新的副本。我没有改变任何配置 下载文件:-apache-activemq-5.9.0.bin.tar.gz 然后我提取并尝试开始Apache ActiveMQ 5.9.0-UNIX中的启动问题,activemq,Activemq,在UNIX机器中启动ActiveMQ服务器时,我遇到了一个问题 我只是通过下载和解压缩来安装一个新的副本。我没有改变任何配置 下载文件:-apache-activemq-5.9.0.bin.tar.gz 然后我提取并尝试开始 /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 Bro
/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.
现在服务器没有运行。
几秒钟后它就停了。为什么
在控制台上启动:-
我犯的任何错误。
我在谷歌上搜索了很多链接和文章,但没有找到解决方案。
RabbitMQ已在此计算机上运行
请推荐我
提前谢谢问题解决了
ActiveMQ需要JDK而不是JRE,我的机器上没有安装JRE
我已经安装了JDK,现在它可以工作了
[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