首页 > 代码库 > MQ 异常

MQ 异常

技术分享


这样无法连接时

一种报错原因

监听没有启动

[mqm@localhost mqm]$ ps -ef|grep lsr

mqm       3209  3167  0 07:56 pts/1    00:00:00 grep lsr


下面启动监听

[mqm@localhost mqm]$ runmqsc MQM3

5724-H72 (C) Copyright IBM Corp. 1994, 2011.  ALL RIGHTS RESERVED.

Starting MQSC for queue manager MQM3.



DIS

  1 : DIS

AMQ8405: Syntax error detected at or near end of command segment below:-

DIS


AMQ8426: Valid MQSC commands are:


    DISPLAY AUTHINFO

    DISPLAY AUTHREC

    DISPLAY AUTHSERV

    DISPLAY CHANNEL

    DISPLAY CHLAUTH

    DISPLAY CHSTATUS

    DISPLAY CLUSQMGR

DISPLAY LISTENER(*)

     2 : DISPLAY LISTENER(*)

AMQ8630: Display listener information details.

   LISTENER(LISTENER.1417)              

AMQ8630: Display listener information details.

   LISTENER(LISTENER.1427)              

AMQ8630: Display listener information details.

   LISTENER(SYSTEM.DEFAULT.LISTENER.TCP)

START

 3 : START

AMQ8405: Syntax error detected at or near end of command segment below:-

START


AMQ8426: Valid MQSC commands are:


    START CHANNEL

    START CHINIT

    START LISTENER

    START SERVICE

START LISTENER(LISTENER.1417)

 4 : START LISTENER(LISTENER.1417)

AMQ8021: Request to start WebSphere MQ listener accepted.

START LISTENER(LISTENER.1427)    

     5 : START LISTENER(LISTENER.1427)

AMQ8021: Request to start WebSphere MQ listener accepted.

^C

5 MQSC commands read.

2 commands have a syntax error.

All valid MQSC commands were processed.

[mqm@localhost mqm]$ ps -ef|grep lsr

mqm       3214  2992  0 07:58 ?        00:00:00 /opt/mqm/bin/runmqlsr -r -m MQM3 -t TCP -p 1417

mqm       3219  2992  0 07:58 ?        00:00:00 /opt/mqm/bin/runmqlsr -r -m MQM3 -t TCP -p 1427

mqm       3224  3167  0 07:58 pts/1    00:00:00 grep lsr

[mqm@localhost mqm]$


监听存在后就能正常连接了




MQ无法启动


技术分享

MQ 异常