Author |
Message |
Topic: Problem connecting to queue manager in MQ v7 |
bhandar_amit
Replies: 5 Views: 4576
|
Forum: General IBM MQ Support Posted: Thu Sep 03, 2009 3:26 am Subject: Problem connecting to queue manager in MQ v7 |
[quote="sumit"]Check if you have properly set LD_LIBPATH and LD_LIBPATH6.[/quote]
I set SHLIB_PATH properly and its working now.
Thank you all for your help.
Amit |
Topic: Problem connecting to queue manager in MQ v7 |
bhandar_amit
Replies: 5 Views: 4576
|
Forum: General IBM MQ Support Posted: Thu Sep 03, 2009 2:35 am Subject: Problem connecting to queue manager in MQ v7 |
[quote="sumit"]I hope you have compiled your C program for 64 bit. What are the permissions setup for /opt/mqm/lib64. Also check server environment varaibles if they are set properly.[/quote ... |
Topic: Problem connecting to queue manager in MQ v7 |
bhandar_amit
Replies: 5 Views: 4576
|
Forum: General IBM MQ Support Posted: Thu Sep 03, 2009 1:02 am Subject: Problem connecting to queue manager in MQ v7 |
hi,
i am trying to connect to a local queue manager using a C application which is built using MQ v7 client lib64 libraries.
The MQSERVER is set properly. But the application is not able to connect ... |
Topic: Configuring MQ client to connect to local queue manager |
bhandar_amit
Replies: 24 Views: 12864
|
Forum: IBM MQ Installation/Configuration Support Posted: Sun Aug 05, 2007 10:01 pm Subject: Configuring MQ client to connect to local queue manager |
hi vitor/nigel,
it finally worked.
i followed these steps-
Created a new local queue manager (as the previous QM was too messy)
Created a new channel (SVC1) with channel type SVRCONN.
Started ... |
Topic: Configuring MQ client to connect to local queue manager |
bhandar_amit
Replies: 24 Views: 12864
|
Forum: IBM MQ Installation/Configuration Support Posted: Wed Aug 01, 2007 2:30 am Subject: Configuring MQ client to connect to local queue manager |
yes even amqsputc is giving the same error i.e. 2059.
I started the listener from the command line also.
But still no luck :(.
i will go thru the steps to be taken when get 2059 error to if ... |
Topic: Configuring MQ client to connect to local queue manager |
bhandar_amit
Replies: 24 Views: 12864
|
Forum: IBM MQ Installation/Configuration Support Posted: Tue Jul 31, 2007 10:15 pm Subject: Configuring MQ client to connect to local queue manager |
hi nigel, i tried the same but still no luck :(.
Just to clarify,
i created a new channel, started the default TCP listener in the local QM.
exported MQSERVER with the channel name.
And started my ... |
Topic: Configuring MQ client to connect to local queue manager |
bhandar_amit
Replies: 24 Views: 12864
|
Forum: IBM MQ Installation/Configuration Support Posted: Tue Jul 31, 2007 4:53 am Subject: Configuring MQ client to connect to local queue manager |
hi vitor,
i am on HP-UX Itanium. and amqscnxc is not there on the system.
i tried using client conn table also. i copied AMQCLCHL.TAB to /var/mqm and set MQCHLLIB=/var/mqm and MQCHLTAB=AMQCLCHL.TA ... |
Topic: Configuring MQ client to connect to local queue manager |
bhandar_amit
Replies: 24 Views: 12864
|
Forum: IBM MQ Installation/Configuration Support Posted: Tue Jul 31, 2007 4:16 am Subject: Configuring MQ client to connect to local queue manager |
[quote="jefflowrey"]Okay, so you're sure you've linked your code against mqic32, and you're using MQServer.
And you're getting a channel negotiation error in the AMQERR log, or in the Eve ... |
Topic: Configuring MQ client to connect to local queue manager |
bhandar_amit
Replies: 24 Views: 12864
|
Forum: IBM MQ Installation/Configuration Support Posted: Tue Jul 31, 2007 4:14 am Subject: Configuring MQ client to connect to local queue manager |
hi vitor,
actually i have a application which is built with client side libraries.
this appln should connect to a single QM at a time and that QMcan be either remote/local. it has a configuration ... |
Topic: Configuring MQ client to connect to local queue manager |
bhandar_amit
Replies: 24 Views: 12864
|
Forum: IBM MQ Installation/Configuration Support Posted: Tue Jul 31, 2007 3:56 am Subject: Configuring MQ client to connect to local queue manager |
the return code i am getting-
MQCONN call failed with reason code 2059 and text MQRC_Q_MGR_NOT_AVAILABLE |
Topic: Configuring MQ client to connect to local queue manager |
bhandar_amit
Replies: 24 Views: 12864
|
Forum: IBM MQ Installation/Configuration Support Posted: Tue Jul 31, 2007 3:43 am Subject: Configuring MQ client to connect to local queue manager |
As per my requirement setting MQSERVER is better.
So I am using a default server conn channel SYSTEM.DEF.SVRCONN.
And setting MQSERVER to
MQSERVER=SYSTEM.DEF.SVRCONN/TCP/localhost(1414)
But ... |
Topic: Configuring MQ client to connect to local queue manager |
bhandar_amit
Replies: 24 Views: 12864
|
Forum: IBM MQ Installation/Configuration Support Posted: Tue Jul 31, 2007 2:05 am Subject: Configuring MQ client to connect to local queue manager |
i searched for the error in the qmgr directory and i found this -
AMQ9503: Channel negotiation failed.
EXPLANATION:
Channel 'SYSTEM.DEF.SVRCONN' between this machine and the remote machine coul ... |
Topic: Configuring MQ client to connect to local queue manager |
bhandar_amit
Replies: 24 Views: 12864
|
Forum: IBM MQ Installation/Configuration Support Posted: Tue Jul 31, 2007 12:58 am Subject: Configuring MQ client to connect to local queue manager |
[quote="Vitor"]In that instance it's considered best practice to link the application with the client side libraries and allow it to connect to whatever queue manager it wants (see my point ... |
Topic: Configuring MQ client to connect to local queue manager |
bhandar_amit
Replies: 24 Views: 12864
|
Forum: IBM MQ Installation/Configuration Support Posted: Tue Jul 31, 2007 12:37 am Subject: Re: Configuring MQ client to connect to local queue manager |
hi vitor,
thanks for the reply.
if i have a application whose one instance want to connect to local queue manager (on the same box) and some other instance wants to connect to remote queue manager ... |
Topic: Configuring MQ client to connect to local queue manager |
bhandar_amit
Replies: 24 Views: 12864
|
Forum: IBM MQ Installation/Configuration Support Posted: Mon Jul 30, 2007 11:21 pm Subject: Configuring MQ client to connect to local queue manager |
hi all,
i am using IBM MQ v6.0 and its C APIs. i am building a application with client libraries (i.e. libmqic.so) and using MQSERVER env variable to connect to remote queue manager. That is workin ... |