|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQConnection Error :2058 |
« View previous topic :: View next topic » |
Author |
Message
|
karthikt |
Posted: Thu Jun 19, 2003 4:49 am Post subject: MQConnection Error :2058 |
|
|
Novice
Joined: 23 May 2003 Posts: 13 Location: India
|
Hi,
While connecting to mqserver from c program I'm getting error :2058.
I defined MQSERVER variable. Both client and server are running on HP-UX Box.
The error log shows as follows:
AMQ9518: File '/var/mqm/AMQCLCHL.TAB' not found.
EXPLANATION:
The program requires that the file '/var/mqm/AMQCLCHL.TAB' is pr
available.
ACTION:
This may be caused by invalid values for the optional environmen
MQCHLLIB, MQCHLTAB or MQDATA. If these variables are valid or no
record the name of the file and tell the systems administrator w
that file '/var/mqm/AMQCLCHL.TAB' is available to the program.
Why it is not taking "MQSERVER" Variable ?. Any information on the above will be highly appreciated. |
|
Back to top |
|
 |
mqonnet |
Posted: Thu Jun 19, 2003 5:06 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
You dont define a client conn channel, just a svrconn is enough.
You should not have either MQCHLLIB or MQCHLTAB set in your environment params. If they are, then just unset them by issuing export MQCHLLIB=
The error you are getting says that since you have the above MQ environment variables set, it is looking for the local copy of the channel defition table. This is the other way of connecting to a remote system other than using MQSERVER.
Cheers
Kumar |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Jun 19, 2003 7:18 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
If you have the MQSERVER set, it will be picked up before the channel table. Since you are seeing errors in your log, I 'd question whether or not the environment variable is set. Also, are the errors at the same time that you get the 2058?
However, a 2058 usually implies that you got to a qmgr. You just had a wrong name. I'd double-check your qmgr name. |
|
Back to top |
|
 |
karthikt |
Posted: Thu Jun 19, 2003 7:52 pm Post subject: |
|
|
Novice
Joined: 23 May 2003 Posts: 13 Location: India
|
I Defined only MQSERVER variable . I didnt define MQCHLLIB and MQCHLTAB. After seeing the error log, I tried with MQCHLLIB and MQCHLTAB variable. MQCHLLIB is pointing to "/home/user" directory.
I got the error msg :2058.
Still it is looking for channel table "'/var/mqm/AMQCLCHL.TAB' .
My question is why it is not taking MQSERVER variable and why it is looking for channel table in "'/var/mqm/AMQCLCHL.TAB' .
Thanks
Karthik |
|
Back to top |
|
 |
karthikt |
Posted: Fri Jun 20, 2003 2:14 am Post subject: |
|
|
Novice
Joined: 23 May 2003 Posts: 13 Location: India
|
Hi,
I found the reason for that. Even after the definining MQServer/MQCHLLIB variable in HP-UX box, it is not taking that env.variable.
Since environment variable is not set, the client searches for a
channel definition table whose path and name are established from the
mqs.ini file. ie (\var\mqm\).
Thanks for your help. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|