ACTIVEMQ Start exception

Source: Internet
Author: User
Tags log log

ACTIVEMQ Start exception

Execute activemq Start command start, Output normal message, Activemq.log log is normal, but the process is not up, there is no other exception information:

[[email protected] bin]# ./activemq start

Info:using default configuration

(You can configure options in one of these file:/ETC/DEFAULT/ACTIVEMQ/ROOT/.ACTIVEMQRC)


Info:invoke the following command to create a configuration file

./ACTIVEMQ Setup [/ETC/DEFAULT/ACTIVEMQ |/root/.activemqrc]


info:using Java '/usr/bin/java '

Info:starting-inspect logfiles specified in logging.properties and log4j.properties to get details

Info:pidfile created: '/usr/local/activemq-5.6.0-slave/data/activemq-jms2.pid ' (PID ' 35301 ')



Query to console startup command, after startup, found error log output:

[Email protected] bin]# /ACTIVEMQ console

Info:using default configuration

(You can configure options in one of these file:/ETC/DEFAULT/ACTIVEMQ/ROOT/.ACTIVEMQRC)


Info:invoke the following command to create a configuration file

./ACTIVEMQ Setup [/ETC/DEFAULT/ACTIVEMQ |/root/.activemqrc]


info:using Java '/usr/bin/java '

Info:starting in foreground, this is just for debugging purposes (stop process by pressing CTRL + C)

Error: must restrict read access to password file:/usr/local/activemq-5.6.0-master/conf/jmx.password



To modify Jmx.password permissions:

-rwxrwxrwx. 1 HANXL Games 968 August Jmx.password


Chmod-r Jmx.password

-RW-------. 1 HANXL Games 968 August Jmx.password



The second error is as follows and must be started with the console command to see the errors:

Error: Agent throws exception error: Java.net.MalformedURLException:Local host name UNKNOWN:JAVA.NET.UNKNOWNHOSTEXCEPTION:JMS2:JMS2: Unknown name or service



The console startup command is run in a non-background, and when the shell window is closed, the process exits, and when the error modification is found, it is also required to start with start.


ACTIVEMQ Start exception

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.