ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » Channel ping error AMQ4074

Post new topic  Reply to topic Goto page 1, 2  Next
 Channel ping error AMQ4074 « View previous topic :: View next topic » 
Author Message
kumar123
PostPosted: Mon Feb 21, 2011 7:18 pm    Post subject: Channel ping error AMQ4074 Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Mon Feb 21, 2011 7:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
kumar123
PostPosted: Mon Feb 21, 2011 7:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Mon Feb 21, 2011 8:37 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
kumar123
PostPosted: Mon Feb 21, 2011 8:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Mon Feb 21, 2011 10:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
santnmq
PostPosted: Mon Feb 21, 2011 10:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
kumar123
PostPosted: Mon Feb 21, 2011 10:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
santnmq
PostPosted: Mon Feb 21, 2011 11:20 pm    Post subject: Reply with quote

Centurion

Joined: 11 Jan 2011
Posts: 125

is the listener running on port 5001?
Back to top
View user's profile Send private message
kumar123
PostPosted: Mon Feb 21, 2011 11:23 pm    Post subject: Reply with quote

Newbie

Joined: 21 Feb 2011
Posts: 9

yes the QM2 listener is running on port 5001
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Feb 22, 2011 6:37 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Tue Feb 22, 2011 7:43 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
kumar123
PostPosted: Tue Feb 22, 2011 9:28 am    Post subject: Reply with quote

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
View user's profile Send private message
kumar123
PostPosted: Tue Feb 22, 2011 9:31 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Tue Feb 22, 2011 9:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General Discussion » Channel ping error AMQ4074
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.