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 IBM MQ Support » MQ throwing 2058 error

Post new topic  Reply to topic
 MQ throwing 2058 error « View previous topic :: View next topic » 
Author Message
satya_jammy
PostPosted: Wed Dec 02, 2009 12:14 pm    Post subject: MQ throwing 2058 error Reply with quote

Acolyte

Joined: 01 Oct 2009
Posts: 66

HI

I was testing the connectivity from on of my client machine. for simple testing i have set the MQSERVER variable and tested the connection using amqscnxc and it connected successfully. when i tried to keep message in the connected queue i am getting 2058 (MQRC_Q_MGR_NAME_ERROR) . Not sure why i am getting error even i successfully connected to the QM using amqscnxc.. I have tested the same from my local machine and i am able to connect and also keep messages from in the queues of the QM.

Can any one throw some light on reasons of getting 2058 error in the first case ?


hrvis18# /opt/mqm/samp/bin/amqscnxc -x 135.11.50.34 -c SYSTEM.ADMIN.SVRCONN

Sample AMQSCNXC start

Connecting to the default queue manager

using the server connection channel SYSTEM.ADMIN.SVRCONN

on connection name 135.11.50.34.

Connection established to queue manager MQPROD



Sample AMQSCNXC end

hrvis18# /opt/mqm/samp/bin/amqsputc UCR.OUT MQPROD

Sample AMQSPUT0 start

MQCONN ended with reason code 2058
Back to top
View user's profile Send private message
mvic
PostPosted: Wed Dec 02, 2009 1:03 pm    Post subject: Re: MQ throwing 2058 error Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

satya_jammy wrote:
hrvis18# /opt/mqm/samp/bin/amqsputc UCR.OUT MQPROD

Sample AMQSPUT0 start

MQCONN ended with reason code 2058

This probably means the queue manager listening on the address/port in your MQSERVER environment variable is not named MQPROD.

EDIT: Or, more precisely, the listener listening on the address/port in your MQSERVER is not connected to a queue manager named MQPROD.


Last edited by mvic on Wed Dec 02, 2009 1:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Dec 02, 2009 1:03 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9471
Location: US: west coast, almost. Otherwise, enroute.

Quote:
have set the MQSERVER variable

Post the MQSERVER variable here, please.
_________________
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
satya_jammy
PostPosted: Wed Dec 02, 2009 2:38 pm    Post subject: Reply with quote

Acolyte

Joined: 01 Oct 2009
Posts: 66

I have set The MQSERVER as below

MQSERVER =SYSTEM.ADMIN.SVRCONN/tcp/wdevtst.us1.avaya.com(1414)
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Dec 02, 2009 3:09 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9471
Location: US: west coast, almost. Otherwise, enroute.

Quote:
MQSERVER =SYSTEM.ADMIN.SVRCONN/tcp/wdevtst.us1.avaya.com(1414)

Is this Windows? If so, where is the set command? If UNIX, where is the export command? I don't really believe you successfully typed MQSERVER space =SYSTEM....

Please post the entire keyboard conversation from setting the environment variable through the amqsputc.
_________________
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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQ throwing 2058 error
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.