启动activeamq,启动时控制台显示:
INFO: Using java '/usr/bin/java'
INFO: Starting - inspect logfiles specified in logging.properties and log4j.properties to get details
INFO: pidfile created : '/home/jing.tang/softwares/apache-activemq-5.9.0/data/activemq-autonavi-ops180016071.sh.pid' (pid '32760')
然后ps -ef | grep activemq 也能正常看到activemq进程,但是netstat -an| grep 61616,却看不到端口。telnet也是不通的。
进入/apache-activemq-5.9.0/data目录,查看activemq.log 日志,
2016-07-18 15:20:27,609 | ERROR | Temporary Store limit is 51200 mb, whilst the temporary data directory: /home/jing.tang/softwares/apache-activemq-5.9.0/data/localhost/tmp_storage only has 5524 mb of usable space - resetting to maximum available 5524 mb. | org.apache.activemq.broker.BrokerService | main
可知设置的目录大小超过当前目录所允许的大小。
修改conf/activemq.xml文件
的节点值为 <tempUsage>
<tempUsage limit="5 gb"/>
</tempUsage>
再启动ok。