I install activeemq 5.13 on Debian, download and unzip to / opt, then go to / opt / apache -activemq-5.13.1 / run "./bin/activemq start" and then this error appears:
xx@debian :/opt/apache-activemq-5.13.1$ ./bin/activemq start INFO: Loading '/etc/default/activemq' INFO: Using java '/usr/bin/java' INFO: Starting - inspect logfiles specified in logging.properties and log4j.properties to get details ./bin/activemq: 330: ./bin/activemq: "/usr/bin/java" -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=/opt/apache-activemq-5.13.1//conf/login.config -Djava.awt.headless=true -Djava.io.tmpdir="/opt/apache-activemq-5.13.1//tmp" -Dactivemq.classpath="/opt/apache-activemq-5.13.1//conf:/opt/apache-activemq-5.13.1//../lib/:" -Dactivemq.home="/opt/apache-activemq-5.13.1/" -Dactivemq.base="/opt/apache-activemq-5.13.1/" -Dactivemq.conf="/opt/apache-activemq-5.13.1//conf" -Dactivemq.data="/opt/apache-activemq-5.13.1//data" -jar "/opt/apache-activemq-5.13.1//bin/activemq.jar" start >/dev/null 2>&1 & RET="$?"; APID="$!"; echo $APID > /opt/apache-activemq-5.13.1//data/activemq.pid; echo "INFO: pidfile created : '/opt/apache-activemq-5.13.1//data/activemq.pid' (pid '$APID')";exit $RET: not found
What I did was check the version of Debian with the command "uname -a":
Linux debian 3.16.0-4-amd64
I found that my debian is a 64-bit system. so i run
./bin/linux-x86-64/activemq start
He shows:
Starting ActiveMQ Broker...
Then I can access the site: http: // localhost: 8161 / admin / with the username "admin" and the password "admin"
Pingjiang li
source share