在 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 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.
现在服务器没有运行。几秒钟后它停止了。为什么?
从控制台开始:-
[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 已经在这台机器上运行。
请给我建议。
提前致谢