Author |
Message
|
kumar123 |
Posted: Mon Feb 21, 2011 7:18 pm Post subject: Channel ping error AMQ4074 |
|
|
Newbie
Joined: 21 Feb 2011 Posts: 9
|
I'm new to WMQ, practicing on MQ distributed messaging
Created two queue mangers QM1 and QM2
Objects in QM1
Transmission queue: QM1QM2XMIT
Remote Queue: QM2QL
Sender Channel: QM1QM2
Objects in QM2
Local Queue: QM2QL
Receiver Channel: QM1QM2
When i started the channel it is going to Retrying state then i tried with the ping.
and got the error "Receiver failed, possibly due to communications failure . (AMQ4074) "
Can any one help me to resolve this issue....?
Last edited by kumar123 on Mon Feb 21, 2011 11:00 pm; edited 1 time in total |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Feb 21, 2011 7:37 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
How about if you post the complete object definitions - with all of the attributes.
Did you follow the directions in the WMQ Quick Beginnings manual for your platform? And the samples in the WMQ Intercommunications manual?
Did you create a listener on the receiver end of the channel?
Did you do an IP ping before you tried the WMQ PING? What were the results?
Did you do an MQ PING on the sender channel before you started it... as the manuals specify? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
kumar123 |
Posted: Mon Feb 21, 2011 7:51 pm Post subject: |
|
|
Newbie
Joined: 21 Feb 2011 Posts: 9
|
I'm using Win xp2, yes i followed WMQ QB.
as i'm using windows explorer hope no need of creating the listener and listener is running.
before starting i have done the MQ ping on sender channel.
then i got the error "Receiver failed, possibly due to communications failure . (AMQ4074) ".
QM1 is running on port 5000
QM2 is running on port 5001
In sender channel i have mentioned Communication Name as "localhost(5001)"
I'n not sure how to do IP ping? |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Feb 21, 2011 8:37 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
What does
Code: |
telnet localhost 5001 |
say? _________________ MQ & Broker admin |
|
Back to top |
|
 |
kumar123 |
Posted: Mon Feb 21, 2011 8:53 pm Post subject: |
|
|
Newbie
Joined: 21 Feb 2011 Posts: 9
|
i tried with telnet localhost 5001
it just poping up the new cmd window, nothing is displaying. |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Feb 21, 2011 10:24 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Use runmqsc to display the sender and receiver channel definitions. post the results here.
Are both qmgrs in the same o/s? If same o/s, what port numbers are you using? This will appear in the sender channel defs.
If on different o/s's, what ipaddresses(port) numbers did you specify. This, too, will appear in the sender channel defs.
If on different o/s's, if you can't IP ping from sender ipaddress to receiver ipaddress (and back again), then the mq ping will likely fail, AND the channel will likely fail. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
santnmq |
Posted: Mon Feb 21, 2011 10:40 pm Post subject: |
|
|
Centurion
Joined: 11 Jan 2011 Posts: 125
|
seems that telnet is successful, just check the configuration of the channels ( sender and rcvr) |
|
Back to top |
|
 |
kumar123 |
Posted: Mon Feb 21, 2011 10:59 pm Post subject: |
|
|
Newbie
Joined: 21 Feb 2011 Posts: 9
|
Both are running on the same os and same system.
Here is the channel definition and Status.
QM1
Code: |
dis chl(QM1QM2)
2 : dis chl(QM1QM2)
AMQ8414: Display Channel details.
CHANNEL(QM1QM2) CHLTYPE(SDR)
ALTDATE(2011-02-22) ALTTIME(00.35.32)
BATCHHB(0) BATCHINT(0)
BATCHSZ(50) COMPHDR(NONE)
COMPMSG(NONE) CONNAME(localhost(5001))
CONVERT(NO) DESCR( )
DISCINT(6000) HBINT(300)
KAINT(AUTO) LOCLADDR( )
LONGRTY(999999999) LONGTMR(1200)
MAXMSGL(4194304) MCANAME( )
MCATYPE(PROCESS) MCAUSER( )
MODENAME( ) MONCHL(QMGR)
MSGDATA( ) MSGEXIT( )
NPMSPEED(FAST) PASSWORD( )
RCVDATA( ) RCVEXIT( )
SCYDATA( ) SCYEXIT( )
SENDDATA( ) SENDEXIT( )
SEQWRAP(999999999) SHORTRTY(10)
SHORTTMR(60) SSLCIPH( )
SSLPEER( ) STATCHL(QMGR)
TPNAME( ) TRPTYPE(TCP)
USERID( ) XMITQ(QM1QM2XMIT)
display chstatus(QM1QM2)
5 : display chstatus(QM1QM2)
AMQ8417: Display Channel Status details.
CHANNEL(QM1QM2) CHLTYPE(SDR)
CONNAME(localhost(5001)) CURRENT
RQMNAME( ) STATUS(RETRYING)
SUBSTATE( ) XMITQ(QM1QM2XMIT) |
QM2:
Code: |
dis chl(QM1QM2)
1 : dis chl(QM1QM2)
AMQ8414: Display Channel details.
CHANNEL(QM1QM2) CHLTYPE(RCVR)
ALTDATE(2011-02-22) ALTTIME(00.32.54)
BATCHSZ(50) COMPHDR(NONE)
COMPMSG(NONE) DESCR( )
HBINT(300) KAINT(AUTO)
MAXMSGL(4194304) MCAUSER( )
MONCHL(QMGR) MRDATA( )
MREXIT( ) MRRTY(10)
MRTMR(1000) MSGDATA( )
MSGEXIT( ) NPMSPEED(FAST)
PUTAUT(DEF) RCVDATA( )
RCVEXIT( ) SCYDATA( )
SCYEXIT( ) SENDDATA( )
SENDEXIT( ) SEQWRAP(999999999)
SSLCAUTH(REQUIRED) SSLCIPH( )
SSLPEER( ) STATCHL(QMGR)
TRPTYPE(TCP)
display chstatus(QM1QM2)
2 : display chstatus(QM1QM2)
AMQ8420: Channel Status not found. |
|
|
Back to top |
|
 |
santnmq |
Posted: Mon Feb 21, 2011 11:20 pm Post subject: |
|
|
Centurion
Joined: 11 Jan 2011 Posts: 125
|
is the listener running on port 5001? |
|
Back to top |
|
 |
kumar123 |
Posted: Mon Feb 21, 2011 11:23 pm Post subject: |
|
|
Newbie
Joined: 21 Feb 2011 Posts: 9
|
yes the QM2 listener is running on port 5001 |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Feb 22, 2011 6:37 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Kumar123, do this:
1) from the sender end, STOP the channel. MQ PING must be done from a non-active sender channel. A channel in RETRY is an ACTIVE channel.
2) from the sender end, mq PING the channel
What is the result of the mq PING? Please be exact as to the error message you receive. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Feb 22, 2011 7:43 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
The channel is in RETRY. There should be some information in the qmgr's error logs (/var/mqm/qmgrs/<qmgrname>/errors or equivalent location on Windows) _________________ MQ & Broker admin |
|
Back to top |
|
 |
kumar123 |
Posted: Tue Feb 22, 2011 9:28 am Post subject: |
|
|
Newbie
Joined: 21 Feb 2011 Posts: 9
|
bruce2359
Done both the steps but still getting the same error.
"Receiver failed, possibly due to communications failure . (AMQ4074)" |
|
Back to top |
|
 |
kumar123 |
Posted: Tue Feb 22, 2011 9:31 am Post subject: |
|
|
Newbie
Joined: 21 Feb 2011 Posts: 9
|
Code: |
----- amqrccca.c : 777 --------------------------------------------------------
2/22/2011 22:55:14 - Process(3436.1) User(MUSR_MQADMIN) Program(amqrcmla.exe)
AMQ9533: Channel 'QM1QM2' is not currently active.
EXPLANATION:
The channel was not stopped because it was not currently active. If attempting
to stop a specific instance of a channel by connection name or by remote queue
manager name this message indicates that the specified instance of the channel
is not running.
ACTION:
None.
----- amqrcmsa.c : 2078 -------------------------------------------------------
2/22/2011 22:55:46 - Process(5780.1) User(MUSR_MQADMIN) Program(amqrcmla.exe)
AMQ9208: Error on receive from host localhost (127.0.0.1).
EXPLANATION:
An error occurred receiving data from localhost (127.0.0.1) over TCP/IP. This
may be due to a communications failure.
ACTION:
The return code from the TCP/IP (recv) call was 10054 (X'2746'). Record these
values and tell the systems administrator.
----- amqccita.c : 3227 -------------------------------------------------------
2/22/2011 22:57:36 - Process(7452.1) User(MUSR_MQADMIN) Program(amqrcmla.exe)
AMQ9208: Error on receive from host localhost (127.0.0.1).
EXPLANATION:
An error occurred receiving data from localhost (127.0.0.1) over TCP/IP. This
may be due to a communications failure.
ACTION:
The return code from the TCP/IP (recv) call was 10054 (X'2746'). Record these
values and tell the systems administrator.
----- amqccita.c : 3227 -------------------------------------------------------
|
|
|
Back to top |
|
 |
Vitor |
Posted: Tue Feb 22, 2011 9:37 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
kumar123 wrote: |
The return code from the TCP/IP (recv) call was 10054 (X'2746'). Record these
values and tell the systems administrator. |
And when you told the systems administrator (or the network administrator) what did they say? What is a TCP/IP 10054 error code?
Have you reviewed any of the discussions in this forum concerning this not-uncommon problem? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|