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 » IBM MQ Installation/Configuration Support » Getting an error running amqsmon (Error Code MQCONN 2058)

Post new topic  Reply to topic
 Getting an error running amqsmon (Error Code MQCONN 2058) « View previous topic :: View next topic » 
Author Message
DoubleD
PostPosted: Wed Apr 02, 2014 3:31 pm    Post subject: Getting an error running amqsmon (Error Code MQCONN 2058) Reply with quote

Newbie

Joined: 02 Apr 2014
Posts: 2

Hi.

I keep getting this error when running amqsmon from the same server that I am running my mq installation on. My queues are working, but I can get this client program to work.

I have set the following environment variables as my mq user. Not sure if they are set to the correct values. This is a start. Would love some help here.

Env Variables:
MQSERVER
MQCHLLIB
MQCHLTAB
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Apr 02, 2014 4:23 pm    Post subject: Reply with quote

Grand High Poobah

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

Well you should not have all 3 set

MQSERVER and MQCHLLIB + MQCHLTAB are mutually exclusive...

And please do also show the values...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Wed Apr 02, 2014 6:59 pm    Post subject: Reply with quote

Poobah

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

Also show the complete command you entered.
_________________
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
DoubleD
PostPosted: Wed Apr 02, 2014 7:07 pm    Post subject: The command and env variable values Reply with quote

Newbie

Joined: 02 Apr 2014
Posts: 2

As my mqm user the command was:

$ /opt/mqm/samp/bin/amqsmon -m <MY.QUEUE.MGR> -t statistics -q <MY.RECEIVER.QUEUE>

The env variable values are:
MQSERVER="<MY.CHANNEL.NAME>/TCP/<my.channel.endpoint.ip.addr>(1414)"
MQCHLLIB=/var/mqm/
MQCHLTAB=/var/mqm/qmgrs/<MY.QUEUE.MANAGER>/@ipcc/AMQCLCHL.TAB

Thanks for your replies. Looking forward to getting more information.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Apr 02, 2014 10:05 pm    Post subject: Re: The command and env variable values Reply with quote

Poobah

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

DoubleD wrote:
As my mqm user the command was:

$ /opt/mqm/samp/bin/amqsmon -m <MY.QUEUE.MGR> -t statistics -q <MY.RECEIVER.QUEUE>

The env variable values are:
MQSERVER="<MY.CHANNEL.NAME>/TCP/<my.channel.endpoint.ip.addr>(1414)"
MQCHLLIB=/var/mqm/
MQCHLTAB=/var/mqm/qmgrs/<MY.QUEUE.MANAGER>/@ipcc/AMQCLCHL.TAB

Thanks for your replies. Looking forward to getting more information.

MQSERVER= is a choice. MACHLLIB= and MQCHLTAB= is the other choice. Unset one or the other, and try again.
_________________
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
PeterPotkay
PostPosted: Thu Apr 03, 2014 4:40 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7716

If all 3 are set, MQSERVER takes precedence over MQCHLLIB/MQCHLTAB, but its confusing to have all 3 set.

Pick MQSERVER or MQCHLLIB/MQCHLTAB, and delete the other.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Apr 03, 2014 5:27 am    Post subject: Re: The command and env variable values Reply with quote

Grand High Poobah

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

DoubleD wrote:

MQCHLLIB=/var/mqm/
MQCHLTAB=/var/mqm/qmgrs/<MY.QUEUE.MANAGER>/@ipcc/AMQCLCHL.TAB


MQCHLLIB and MQCHLTAB have wrong values there.

Right values would be
MQCHLLIB=/var/mqm/qmgrs/<MY.QUEUE.MANAGER>/@ipcc/
MQCHLTAB=AMQCLCHL.TAB

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
rachakonda_v
PostPosted: Wed Jul 02, 2014 7:56 am    Post subject: CCSID VALUE Reply with quote

Newbie

Joined: 14 Jun 2012
Posts: 7

Please help me on this issue

I am getting RC 2059 error in windows client - CCSID VALUE

How to know the CCSID Value in Windows server
Back to top
View user's profile Send private message Send e-mail
JosephGramig
PostPosted: Wed Jul 02, 2014 8:26 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1231
Location: Gold Coast of Florida, USA

2059 0x0000080b MQRC_Q_MGR_NOT_AVAILABLE

Meaning, your on the right port but the QmgrName does not match. QmgrNames are case sensitive.

At the Qmgr, issue dspmq and show the results.

At the Client, show the exact command. Al show results of "SET MQ".
Back to top
View user's profile Send private message AIM Address
Tibor
PostPosted: Wed Jul 02, 2014 11:14 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

JosephGramig wrote:
At the Client, show the exact command. Al show results of "SET MQ".

Sorry, but it won't work in this case, because the original post contains some Unix-like path.
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Thu Jul 03, 2014 5:10 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1231
Location: Gold Coast of Florida, USA

Tibor wrote:
JosephGramig wrote:
At the Client, show the exact command. Al show results of "SET MQ".

Sorry, but it won't work in this case, because the original post contains some Unix-like path.


env |grep MQ

I guess will work better...
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Getting an error running amqsmon (Error Code MQCONN 2058)
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.