Author |
Message
|
DoubleD |
Posted: Wed Apr 02, 2014 3:31 pm Post subject: Getting an error running amqsmon (Error Code MQCONN 2058) |
|
|
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 |
|
 |
fjb_saper |
Posted: Wed Apr 02, 2014 4:23 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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 |
|
 |
bruce2359 |
Posted: Wed Apr 02, 2014 6:59 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 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 |
|
 |
DoubleD |
Posted: Wed Apr 02, 2014 7:07 pm Post subject: The command and env variable values |
|
|
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 |
|
 |
bruce2359 |
Posted: Wed Apr 02, 2014 10:05 pm Post subject: Re: The command and env variable values |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 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 |
|
 |
PeterPotkay |
Posted: Thu Apr 03, 2014 4:40 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
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 |
|
 |
fjb_saper |
Posted: Thu Apr 03, 2014 5:27 am Post subject: Re: The command and env variable values |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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 |
|
 |
rachakonda_v |
Posted: Wed Jul 02, 2014 7:56 am Post subject: CCSID VALUE |
|
|
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 |
|
 |
JosephGramig |
Posted: Wed Jul 02, 2014 8:26 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 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 |
|
 |
Tibor |
Posted: Wed Jul 02, 2014 11:14 am Post subject: |
|
|
 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 |
|
 |
JosephGramig |
Posted: Thu Jul 03, 2014 5:10 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 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 |
|
 |
|