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 » IBM MQ Installation/Configuration Support » QueueManager error 2058

Post new topic  Reply to topic
 QueueManager error 2058 « View previous topic :: View next topic » 
Author Message
kiran_mvr
PostPosted: Tue Aug 30, 2005 11:44 am    Post subject: QueueManager error 2058 Reply with quote

Apprentice

Joined: 12 Dec 2004
Posts: 35

Hi,

I am trying to run a sample C program to read a message from the queue. I am getting 2058(QueueManager Error) return code.

But both QueueManager and Listener are running.

Thanks in Advance.
_________________
Kiran_manny
Back to top
View user's profile Send private message
Anirud
PostPosted: Tue Aug 30, 2005 11:53 am    Post subject: Re: QueueManager error 2058 Reply with quote

Master

Joined: 12 Feb 2004
Posts: 285
Location: Vermont

kiran_mvr wrote:
I am trying to run a sample C program to read a message from the queue. I am getting 2058(QueueManager Error) return code.

You must be connecting with a wrong queue manager name (queue manager name is case sensitive).
Back to top
View user's profile Send private message Visit poster's website
wschutz
PostPosted: Tue Aug 30, 2005 12:02 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

2058 always means that you have specified a wrong qmgr name.

If you're connected with servier bindings, then you specified a qmgr name that doesn't exist on the system.

If you're connected with client bindings, the you probably are specifying a different queue manager than you are connecting to on the server.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
kiran_mvr
PostPosted: Tue Aug 30, 2005 12:49 pm    Post subject: Reply with quote

Apprentice

Joined: 12 Dec 2004
Posts: 35

Hi,

I took that C program from MQ samples. How to know it is related to server/client binding. Program name is "amqsget0.c".

thanks,
_________________
Kiran_manny
Back to top
View user's profile Send private message
bower5932
PostPosted: Tue Aug 30, 2005 12:56 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

It depends on how you link it. mqm.lib would be for server bindings and mqic32.lib would be for client. You could also try running the actual executables. The amqsget.exe is server and amqsgetC.exe is client.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » QueueManager error 2058
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.