activemq无法启动

时间:2012-10-09 14:30:25

标签: apache ubuntu activemq ubuntu-12.04

我尝试按照activemq网站上的指示下载并运行activemq: http://activemq.apache.org/getting-started.html#GettingStarted-StartingActiveMQ

我从这里下载了tar.gz文件:http://www.apache.org/dyn/closer.cgi?path=%2Factivemq%2Fapache-activemq%2F5.6.0%2Fapache-activemq-5.6.0-bin.tar.gz

我已经解压缩并尝试从提取的目录中运行bin \ activemq。

但由于某些原因,activemq无法启动,我不断收到以下错误:

yosi @ yosi:〜/ Downloads / apache-activemq-5.6.0 $ ./bin/activemq start 信息:加载'/ etc / default / activemq' 信息:使用java'/usr/lib/jvm/jdk1.7.0_07/bin/java' 信息:启动 - 检查logging.properties和log4j.properties中指定的日志文件以获取详细信息 ./bin/activemq:396:./ bin / activemq:/usr/lib/jvm/jdk1.7.0_07/bin/java -Xms1G -Xmx1G -Djava.util.logging.config.file = logging.properties -Dcom。 sun.management.jmxremote -Djava.io.tmpdir =“/ home / yosi / Downloads / apache-activemq-5.6.0 / tmp”-Dactivemq.classpath =“/ home / yosi / Downloads / apache-activemq-5.6.0 / CONF;” -Dactivemq.home =“/ home / yosi / Downloads / apache-activemq-5.6.0”-Dactivemq.base =“/ home / yosi / Downloads / apache-activemq-5.6.0”-Dactivemq.conf =“/ home /yosi/Downloads/apache-activemq-5.6.0/conf“-Dactivemq.data =”/ home / yosi / Downloads / apache-activemq-5.6.0 / data“-jar”/ home / yosi / Downloads / apache- activemq-5.6.0 / bin / run.jar“start&gt; / dev / null 2&gt;&amp; 1&amp;               RET = “$?”; APID = “$!”;               echo $ APID&gt; /home/yosi/Downloads/apache-activemq-5.6.0/data/activemq-yosi.pid;                echo“INFO:pidfile created:'/ home / yosi / Download /apache-activemq-5.6.0 / data / activemq-yosi.pid'(pid'$ APID')”;退出$ RET:not found < /强>

有谁知道这里发生了什么?这是activemq脚本中的问题吗?

Yosi

1 个答案:

答案 0 :(得分:2)

你确定它不在后台运行吗?

ps -ef | grep activemq

tail -f ../data/activemq.log