activemq启动异常

执行activemq启动命令start,输出正常提示信息,activemq.log日志也正常,但进程没有起来,没有其他任何异常信息:

[[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‘)

查询到console启动命令,启动后发现有错误日志输出:

[[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)

错误: 必须限制口令文件读取访问权限: /usr/local/activemq-5.6.0-master/conf/jmx.password

修改jmx.password的权限:

-rwxrwxrwx. 1 hanxl games   968 8月  16 2013 jmx.password

chmod -R 600 jmx.password

-rw-------. 1 hanxl games   968 8月  16 2013 jmx.password

第二次报错如下,必须使用console命令启动才能看到错误:

错误: 代理抛出异常错误: java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException: jms2: jms2: 未知的名称或服务

console启动命令属于非后台运行,当关闭shell窗口时会退出进程,找到错误修改后,还需要使用start启动。

时间: 2024-05-28 04:04:29

activemq启动异常的相关文章

有内核造成的nginx启动异常

CentOS5.4之nginx启动异常 ###安装Nginx### [[email protected]_Mysql ~]#yum -y install nginx ###启动Nginx### [[email protected]_Mysql ~]#service nginx start -->无任何启动输出信息,当时可郁闷 ###查看端口###  [[email protected]_Mysql ~]# ss -tanlp | grep nginx   -->端口正常,郁闷消除 0     

hadoop namenode启动异常,死活失败

2014-05-12注定是春光灿烂猪八戒的一天,历史595无故障的hadoop服务器,终于还是出了问题,事前无人登陆操作服务器,此故障属于自发行为,目前未知发生原因. 细节描述: namenode无法启动. 先贴出错误信息 2014-05-12 07:17:39,447 INFO org.apache.hadoop.hdfs.server.namenode.NameNode: STARTUP_MSG: /**********************************************

Mac下Mysql启动异常["ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)"]

在mac下使用brew安装mysql,之前没有使用过,今天启动的时候发现启动不了 huijundeMacBook-Pro:bin huijunzhang$ mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) 查看mysql的安装位置: huijundeMacBook-Pro:bin huijunzhang$ which mysql /usr/local

Zookeep启动异常:Error contacting service. It is probably not running.

Zookeep安装启动异常    异常提示: [[email protected] bin]# ./zkServer.sh status JMX enabled by default Using config: /usr/local/zk/bin/../conf/zoo.cfg Error contacting service. It is probably not running 解决方案: 网上问题答案有许多种,一一归纳: 1. zoo.cfg配置文件中指定目录却没有创建! 创建相应目录即可

pg启动异常could not open lock file "/tmp/.s.PGSQL.5432.lock":

今天安装postgres,启动异常:could not open lock file "/tmp/.s.PGSQL.5432.lock": 修改tmp权限,chown -R postgres:postgres /tmp 启动成功.

项目启动异常java.lang.OutOfMemoryError: PermGen space

java.lang.OutOfMemoryError: PermGen space 解决办法: Eclipse-->window-->Tomcat -->JVM setting  -->Append To JVM Parameters -->add 弹出框填写: -Xmx256M -Xms256M -XX:MaxPermSize=256m struts 项目启动时,在E:\apache-tomcat-6.0.26\conf\Catalina\localhost路径下必须制定项

Spring启动异常: cvc-elt.1: Cannot find the declaration of element 'beans'(转)

Spring启动异常: cvc-elt.1: Cannot find the declaration of element 'beans' 2008-09-07 22:41 今天把在线聊天室代码改了下, 想启动应用测试. 结果抛出一大堆异常: -------------------------------------------------------------------------------------------- org.springframework.beans.factory.x

IOS推送http2使用netty服务启动异常

IOS推送http2使用netty服务启动异常 现象 使用netty开发×××送HTTP2,本机运行正常,部署至linux服务器异常. 原因 是linux服务器内核版本过低,所使用GLIBC类库版本过低.netty要求GLIBC_2.10,我的服务器最高才GLIBC_2.5. linux查看GLIBC版本命令 strings /lib64/libc.so.6 |grep GLIBC_ 解决办法 升级linux内核版本以及GLIBC类库版本. 以下附netty服务器异常日志 2018-11-18

Springboot 启动时Bean初始化,启动异常-Assert.isTrue(condition,message) 报错

Springboot 启动时Bean初始化启动异常Assert.isTrue(condition,message) 报错,如果 condition为false 则会出现 java.lang.IllegalArgumentException: message, org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'XXXXXX' defined in class path re