Author |
Message
|
rajmq |
Posted: Mon May 26, 2003 1:28 am Post subject: 2058 while connecting to NTclinet to LinuxServer |
|
|
 Partisan
Joined: 29 Sep 2002 Posts: 331 Location: USA
|
Hi
I am trying to configure a Client on NT to connect to MQ5.3 Server running on Linux.
Configuration Steps:
1. Created default QMgr, 'XXX' and defined a listener on the required port.
2. Defined channel 'XXXX' SVRCONN
3. Defined CLNTCONN channel 'XXXXX'.
4. Defined Local queue on the target QMgr name is 'XXXX'
5. Copied the file 'AMQCLCHL.TAB' from the server(Liunx7.2) to the NT client machine
6. In NT client machine i used the following environment varaiables:
setMQCHLLIB=C:\sslclient\ssl\ set MQCHLTAB=AMQCLCHL.TAB
But i am getting below error message like
C:\>amqsputc XXXX
Sample AMQSPUT0 start
MQCONN ended with reason code 2058
regards
raj |
|
Back to top |
|
 |
leongor |
Posted: Mon May 26, 2003 2:24 am Post subject: |
|
|
 Master
Joined: 13 May 2002 Posts: 264 Location: Israel
|
Have you transfered AMQCLCHL.TAB from Linux to NT with binary mode ?
What is the CLNTCONN channel definition ?
Do you have some non standard CCSID on one of the sides ? _________________ Regards.
Leonid.
IBM Certified MQSeries Specialist. |
|
Back to top |
|
 |
vmcgloin |
Posted: Mon May 26, 2003 3:51 am Post subject: |
|
|
Knight
Joined: 04 Apr 2002 Posts: 560 Location: Scotland
|
Are you specifying the qmgr and queue on the amqsputc command? Or have you set up the client connection channels to accept a blank qmgr name? |
|
Back to top |
|
 |
rajmq |
Posted: Mon May 26, 2003 5:34 am Post subject: |
|
|
 Partisan
Joined: 29 Sep 2002 Posts: 331 Location: USA
|
Hi to All
Thanks for ur Reply
Have you transfered AMQCLCHL.TAB from Linux to NT with binary mode ?
YES
What is the CLNTCONN channel definition ?
define channel('XXXX') chltype(CLNTCONN) CONNAME('IPADD') QMNAME('QMGRNAME')
Do you have some non standard CCSID on one of the sides ?
i am not getting,can u explain??
Are you specifying the qmgr and queue on the amqsputc command?
I was tried both way But no luck......same error
can u give me a any othere suggestions?? |
|
Back to top |
|
 |
vmcgloin |
Posted: Mon May 26, 2003 5:55 am Post subject: |
|
|
Knight
Joined: 04 Apr 2002 Posts: 560 Location: Scotland
|
Can you connect to the queue manager using amqsputc on the Linux box? This should use the same channel table and if that fails it might be easier to diagnose the problem. |
|
Back to top |
|
 |
rajmq |
Posted: Tue May 27, 2003 12:17 am Post subject: |
|
|
 Partisan
Joined: 29 Sep 2002 Posts: 331 Location: USA
|
Hi
Thanks for ur Reply
Yah it is good idea i was tried in linux box there also same error
./amqsputc TESTQ
Sample AMQSPUT0 start
MQCONN ended with reason code 2058
regards
raj |
|
Back to top |
|
 |
rajmq |
Posted: Tue May 27, 2003 3:21 am Post subject: |
|
|
 Partisan
Joined: 29 Sep 2002 Posts: 331 Location: USA
|
Hi
I found some error in QMGr Dir......
AMQ9203: A configuration error for TCP/IP occurred.
EXPLANATION:
Error in configuration for communications to host ''. Allocation of a TCP/IP
conversation to host '' was not possible.
ACTION:
The configuration error may be one of the following:
1.If the communications protocol is LU 6.2, it may be that one of the
transmission parameters (Mode, or TP Name) is incorrect. Correct the error
and try again. The mode name should be the same as the mode defined on host
''. The TP name on '' should be defined.
2.If the communications protocol is LU 6.2, it may be that an LU 6.2 session
has not been established. Contact your systems administrator.
3.If the communications protocol is TCP/IP, it may be that the host name
specified is incorrect. Correct the error and try again.
4.If the communications protocol is TCP/IP, it may be that the host name
specified cannot be resolved to a network address. The host name may not be
in the nameserver.
The return code from the TCP/IP (gethostbyname) call was 2 (X'2').
Record the error values and tell the system administrator.
regards
raj |
|
Back to top |
|
 |
|