我试图在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
Run Code Online (Sandbox Code Playgroud)
/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)
Run Code Online (Sandbox Code Playgroud)
配置此脚本:
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.
Run Code Online (Sandbox Code Playgroud)
根@树莓派:/var/www/activemq/apache-activemq-5.7.0#
看起来某处有错误,但我是一个相当新手,不知道在哪里看.
mad*_*nce 21
只是添加答案,因为根据文档becoz,命令是错误的
启动activemqm,使用
导航到[安装目录/ bin]并运行./activemq start或简单bin/activemq start
如果你想看到它住在窗口使用 bin/activemq console
要停止,你必须杀死这个过程
| 归档时间: |
|
| 查看次数: |
22360 次 |
| 最近记录: |