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