Author |
Message
|
krsrini79 |
Posted: Thu Dec 13, 2007 2:56 pm Post subject: Verifing the client connection from different MQ server |
|
|
Novice
Joined: 21 Jun 2006 Posts: 23
|
Hi,
I am trying to verify the newly installed IBM MQ6.0.2.2. I created the Queue Managers in one Solaris5.9 server (Say Server1).
When I try to connect the newly created queue manager queues from a different Solaris5.9 server (say Server2 , it have the IBM MQ5.3.13 server and client in it and all the queue managers are running), I am getting the below error while running the 'amqsputc' program.
'2059 0x0000080b MQRC_Q_MGR_NOT_AVAILABLE' error.
I did the below set up before posting the message using 'amqsputc' program(/opt/mqm/samp/bin).
1. Set the MQSERVER environment variable(export MQSERVER=’CHL/TCP/Server1(1415)’ ).
2. Verified the newly installed MQ servers are running and the listeners are running and up.
3. I added the user name into the 'mqm' group in the newly installed MQ server.
4. I verified the user name have all the privileges on the queue manager and queue.
Note: I can able to post the message from the Server2 using the 'mqm' id with out any problem.
Any one can help me regarding this issue.
Thanks in advance for your resolution. _________________ Regards, Srinivasan.KR |
|
Back to top |
|
 |
Vitor |
Posted: Fri Dec 14, 2007 1:56 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Search the forum for the 2059 code and read all the war stories from those who have gone before you. If it's not the most common error from MQ it's the top 5.
My top tip - don't assume you have a problem. Try the telnet method described in most of the other posts to verify connectivity; if that fails hurt your network people until they fix it.
If that works, go methodically through the other possible causes until you get it.
For what it's worth your configuration sounds right so I'd suspect network. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Dec 14, 2007 8:41 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Quote: |
Set the MQSERVER environment variable(export MQSERVER=’CHL/TCP/Server1(1415)’ ) |
I'm not so sure that this form of export works on Solaris. I'm more familiar with it on AIX. Did you check it with echo $MQSERVER?
If not try
Code: |
MQSERVER='CHL/TCP/server1(1415)'
export MQSERVER
echo $MQSERVER |
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Dec 14, 2007 8:47 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
whether or not EXPORT works is not dependant on the Unix varient.
It's dependent on the current shell. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Dec 14, 2007 8:50 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
jefflowrey wrote: |
whether or not EXPORT works is not dependant on the Unix varient.
It's dependent on the current shell. |
Well it is a known fact that AIX korn shell and Solaris korn shell are not equivalent.... and a number of commands do not behave the same...
ex df -g . on AIX and df -g . on Solaris behave differently
but df -k . behaves the same on AIX and Solaris... _________________ MQ & Broker admin |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Dec 14, 2007 8:55 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Is "df" a shell command... ?  _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Dec 14, 2007 9:05 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
jefflowrey wrote: |
Is "df" a shell command... ?  |
Not sure but it is part of what I would consider the system commands.
And I did encounter the problem on Solaris where
export variable=value did not work in the .profile but
variable=value
export variable did work in the .profile ... go figure why _________________ MQ & Broker admin |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Dec 17, 2007 10:30 am Post subject: |
|
|
Guest
|
Quote: |
I'm not so sure that this form of export works on Solaris. |
It works on Solaris for me. What have you tried? What response did you get?
Like this: export MQSERVER=channelname/TCP/'ipaddress(port)' |
|
Back to top |
|
 |
|