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 WebSphere MQ Support » MQCONN ended with reason code 2538

Post new topic  Reply to topic
 MQCONN ended with reason code 2538 « View previous topic :: View next topic » 
Author Message
krish_blore
PostPosted: Fri Dec 31, 2010 1:52 am    Post subject: MQCONN ended with reason code 2538 Reply with quote

Novice

Joined: 29 Nov 2010
Posts: 19

I am using client connection channel definition,

export MQCHLLIB=/var/mqm/qmgrs/QM2/@ipcc
export MQCHLTAB=AMQCLCHL.TAB

when i try to commnicate the queue manager i am getting MQRC_HOST_NOT_AVAILABLE,

./amqsputc QM2
Sample AMQSPUT0 start
MQCONN ended with reason code 2538

If i unset both the environmet variable and ser MQSERVER i am able to put the message.

please help me to resolve this error.

My QMR channel details,


display channel(qm1svrconn)
1 : display channel(qm1svrconn)
AMQ8414: Display Channel details.
CHANNEL(QM1SVRCONN) CHLTYPE(SVRCONN)
ALTDATE(2010-12-31) ALTTIME(04.13.15)
COMPHDR(NONE) COMPMSG(NONE)
DESCR( ) HBINT(300)
KAINT(AUTO) MAXINST(999999999)
MAXINSTC(999999999) MAXMSGL(4194304)
MCAUSER(mqm) MONCHL(QMGR)
RCVDATA( ) RCVEXIT( )
SCYDATA( ) SCYEXIT( )
SENDDATA( ) SENDEXIT( )
SHARECNV(10) SSLCAUTH(OPTIONAL)
SSLCIPH( ) SSLPEER( )
TRPTYPE(TCP)
AMQ8414: Display Channel details.
CHANNEL(QM1SVRCONN) CHLTYPE(CLNTCONN)
AFFINITY(PREFERRED) ALTDATE(2010-12-30)
ALTTIME(01.16.12) CLNTWGHT(0)
COMPHDR(NONE) COMPMSG(NONE)
CONNAME(10.135.128.180(9010)) DESCR( )
HBINT(300) KAINT(AUTO)
LOCLADDR( ) MAXMSGL(4194304)
MODENAME( ) PASSWORD( )
QMNAME(QM2) RCVDATA( )
RCVEXIT( ) SCYDATA( )
SCYEXIT( ) SENDDATA( )
SENDEXIT( ) SHARECNV(10)
SSLCIPH( ) SSLPEER( )
TPNAME( ) TRPTYPE(TCP)
USERID( )


MQRC_HOST_NOT_AVAILABLE
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Dec 31, 2010 2:44 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 5112

The obvious questions are:

1. Are you definitely using the amqsputc sample to test?
2. What command line input are you giving to amqsputc, i.e. queue manager name?
3. What values are you using for MQSERVER?
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.

Back to top
View user's profile Send private message
krish_blore
PostPosted: Fri Dec 31, 2010 3:31 am    Post subject: Reply with quote

Novice

Joined: 29 Nov 2010
Posts: 19

oops i resolved it..

when use amqsputc ..i had given only queue name..i havent give QUEUE MANAGER name...

$ ./amqsputc QM2 QM2
Sample AMQSPUT0 start
target queue is QM2
hello

Sample AMQSPUT0 end


thanks ...
Back to top
View user's profile Send private message
krish_blore
PostPosted: Fri Dec 31, 2010 3:36 am    Post subject: Reply with quote

Novice

Joined: 29 Nov 2010
Posts: 19

If i give amqputc and queuemanageer ..i will get same error...it is expecting both queue name and queue manager name...


MQSERVER=QM1SVRCONN/TCP/'10.135.128.180(9010)'
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Dec 31, 2010 5:40 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 21341
Location: Ohio, USA

krish_blore wrote:
when use amqsputc ..i had given only queue name..i havent give QUEUE MANAGER name...



_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Dec 31, 2010 10:50 am    Post subject: Reply with quote

Grand Poobah

Joined: 18 Nov 2003
Posts: 16220
Location: LI,NY

krish_blore wrote:
If i give amqputc and queuemanageer ..i will get same error...it is expecting both queue name and queue manager name...


MQSERVER=QM1SVRCONN/TCP/'10.135.128.180(9010)'


Note: you should not be using both the channel table and the MQSERVER environment variables. Use one or the other.
As noted when setting qmgrname as value for the qmgr field in the clntconn channel you need to use qmgrname or *qmgrname with amqsputc after the queuename.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General WebSphere MQ Support » MQCONN ended with reason code 2538
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.