11

RaspberryPI Debian Squeeze ボックスで ActiveMQ サーバーを実行しようとしていますが、すべてが正しくインストールされているように見えますが、サービスを開始しようとすると、次のようになります...

root@raspberrypi:/var/www/activemq/apache-activemq-5.7.0# bin/activemq

情報: 「/etc/default/activemq」を読み込んでいます

情報: Java '/usr/jre1.7.0_07/bin/java' を使用しています

/usr/jre1.7.0_07/bin/java: 1: /usr/jre1.7.0_07/bin/java:ELF0

                                                       4°: not found

/usr/jre1.7.0_07/bin/java: 2: /usr/jre1.7.0_07/bin/java: 構文エラー: "(" 予期しない

sysv init スクリプトによって提供されるタスク:

restart         - stop running instance (if there is one), start new instance

console         - start broker in foreground, useful for debugging purposes

status          - check if activemq process is running

setup           - create the specified configuration file for this init script

                  (see next usage section)

このスクリプトの構成:

The configuration of this script can be placed on /etc/default/activemq or /root/.activemqrc.

To use additional configurations for running multiple instances on the same operating system

rename or symlink script to a name matching to activemq-instance-<INSTANCENAME>.

This changes the configuration location to /etc/default/activemq-instance-<INSTANCENAME> and

$HOME/.activemqrc-instance-<INSTANCENAME>. Configuration files in /etc have higher precedence.

root@raspberrypi:/var/www/activemq/apache-activemq-5.7.0#

どこかにエラーがあるようですが、私はこれがかなり初心者で、どこを見ればよいかわかりません。

4

2 に答える 2

23

ドキュメントによると、コマンドが間違っているため、回答を追加するだけです

activemqm を開始するには、次を使用します

[インストール ディレクトリ/bin] に移動して実行する./activemq startか、単純にbin/activemq start

ウィンドウでライブを見たい場合は、bin/activemq console

停止するには、プロセスを強制終了する必要があります

于 2013-04-04T12:28:22.870 に答える
2

デフォルトの ActiveMQ の「開始」リンクは、次の場所に送信されます: http://activemq.apache.org/getting-started.htmlは、「ActiveMQ 4.x の開始ガイド」です。

メインのドキュメント ページを下にスクロールすると、適切なコマンドを含む次のリンクが見つかります: http://activemq.apache.org/version-5-getting-started.html

于 2014-08-24T09:34:49.347 に答える