Author |
Message
|
Syam |
Posted: Fri Dec 12, 2003 3:26 am Post subject: Client connection problem |
|
|
Newbie
Joined: 12 Dec 2003 Posts: 2
|
Hi,
I am trying to connect to a remote mqseries server (which is behind firewall) through mqseries client both are running on unix platform and the port 1414/1415 opened for me to communicate through client. Am using the server connection channel for that and setting the MQSERVER environment variable at client end before issueing the amqsputc queuename queuemanagername. It gives the error with reason code 2059 (QMGR_NOT_AVAILABLE). What could be the reason for failure.
Will there be any additional configuration required while connecting to the mqseries server from client, when the server is behind firewall?
Thanks in advance
Syam |
|
Back to top |
|
 |
emiranda |
Posted: Fri Dec 12, 2003 3:32 am Post subject: |
|
|
 Disciple
Joined: 21 Nov 2002 Posts: 196 Location: Dublin, Ireland
|
Basic point, but...
Remember: queuename queuemanagername are CASE SENSITIVE!
More:
- Do you "ping" the server box?
- Do you "telnet" the 1414/1415 ports?
- The information in MQSERVER variable is CASE SENSITIVE also.
- Is the channel defined in the server qmgr?
Cheers, _________________ Warm Regards,
EM |
|
Back to top |
|
 |
Leafar |
Posted: Fri Dec 12, 2003 6:35 am Post subject: |
|
|
 Acolyte
Joined: 03 Apr 2003 Posts: 74 Location: Buenos Aires
|
Is the listener running??? |
|
Back to top |
|
 |
Syam |
Posted: Sun Dec 14, 2003 8:08 pm Post subject: |
|
|
Newbie
Joined: 12 Dec 2003 Posts: 2
|
Server connectivity is checked using the traceroute utility for the port 1415. The Queue manager is up and running, the listener is running on 1415 port. Server Connection channel definition is defined in MQSeries Server and the MQSERVER environment is defined at client system. Still it gives the error 2059. I am really clueless. What could be the other possible reasons for not able to connect to queuemanager. |
|
Back to top |
|
 |
leongor |
Posted: Mon Dec 15, 2003 1:22 am Post subject: |
|
|
 Master
Joined: 13 May 2002 Posts: 264 Location: Israel
|
I think the problem is that a local port on a client side by defaul is picked randomally.
Use MQTCPSDRPORT environment variable at the client side to set local port and open it also in firewall.
The usage is MQTCPSDRPORT=1023,1099 ( set local port from 1023 to 1099 range ). _________________ Regards.
Leonid.
IBM Certified MQSeries Specialist. |
|
Back to top |
|
 |
manojt |
Posted: Fri Dec 19, 2003 2:09 am Post subject: |
|
|
Newbie
Joined: 26 Sep 2003 Posts: 9
|
Check ur client connection name.. it should be same as ur Server connection channel. i hope this will help you. _________________ Thanks and Regard's
Manoj |
|
Back to top |
|
 |
|