ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » Unable to connect to Queue Manager Error code 2012

Post new topic  Reply to topic
 Unable to connect to Queue Manager Error code 2012 « View previous topic :: View next topic » 
Author Message
tech
PostPosted: Fri Mar 26, 2021 1:29 am    Post subject: Unable to connect to Queue Manager Error code 2012 Reply with quote

Newbie

Joined: 26 Mar 2021
Posts: 1

Hi Team,

I am trying to connect to the Remote Queue manager through MQI (Linux 64bit). I have extracted RPM packages and include libs and includes to execute my sample c++ program.

while connecting to the queue manager am getting the 2012 Error code. I used only threaded libs for this.

I gone through the error code and checked the things but am unable to find the sollution. Please help me in finding the solution for this. I can't install the package in linux machine thats why I extracted the rpm packages using "cpio" command.

I gave an overview of the issue if you need I will give you more details.

Thanks in advance.
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Mar 26, 2021 8:13 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

It would help if you could supply us with the MQ version and RPM packages you have used.

And you might want to take a look at MQ Redistributable Clients, which is a much better way of achieving what you want.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Fri Mar 26, 2021 12:57 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3252
Location: London, ON Canada

You need to show us how you compiled and linked your program.

If I had to guess, I would say you linked the wrong MQ library. i.e. mqm vs mqic or you messed up the threading vs non-threading model.

Summary for MQ on Linux is here

Compiling 32-bit C/C++ applications on Linux

Compiling 64-bit C/C++ applications on Linux

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Unable to connect to Queue Manager Error code 2012
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.