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 IBM MQ Support » Problem deleting a queue manager...

Post new topic  Reply to topic
 Problem deleting a queue manager... « View previous topic :: View next topic » 
Author Message
Lex
PostPosted: Thu Jan 04, 2007 7:57 am    Post subject: Problem deleting a queue manager... Reply with quote

Acolyte

Joined: 14 Nov 2006
Posts: 73

Hi everyone and happy new year !!

I have a question about deleting manually a queue manager (MQSeries 5.2.1, MQIntegrator 2.1, AIX hosting broker and NT hosting config manager). I know I should avoid that but well...

I have deleted the directory containing the information about a queue manager, this directory was /var/mqm/qmgrs/<Queue_Name>

But when i try to recreate this Queue Manager, it seems it's still known by the system because I have the following message:
AMQ8110 Queue Manager Already exists
AMQ7002 An error occured while manipulating a file

I have certainly forgot to delete a reference telling the system the queue manager exists, but i have no clue where?

Anyone got a suggestion?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jan 04, 2007 7:59 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.amqzag.doc/stopr.htm
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
exerk
PostPosted: Thu Jan 04, 2007 8:02 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Always use the appropriate tool, in this case dltmqm.

Removing the directory structure does not remove the queue managers' entry in the mqs.ini file in /var/mqm/.
_________________
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
Lex
PostPosted: Thu Jan 04, 2007 8:03 am    Post subject: Reply with quote

Acolyte

Joined: 14 Nov 2006
Posts: 73

I know i had to use dltmqm, the matter was that this queue manager seemed dead, because i couldn't stop or start it, it was always displaying error message, even when i stopped and tried to delete it with the appropriate command.

I'll see for the mqs.ini file, thanks!
Back to top
View user's profile Send private message
bbburson
PostPosted: Thu Jan 04, 2007 8:07 am    Post subject: Reply with quote

Partisan

Joined: 06 Jan 2004
Posts: 378
Location: Nowhere near a queue manager

Lex wrote:


I'll see for the mqs.ini file, thanks!


You'll probably want to wipe out /var/mqm/log/<QMGRname> too.
Back to top
View user's profile Send private message
Lex
PostPosted: Thu Jan 04, 2007 8:14 am    Post subject: Reply with quote

Acolyte

Joined: 14 Nov 2006
Posts: 73

Ok now i can recreate my queue manager, but at the end of the creation i got an error:

AMQ5615: Default Objects cannot be created: CompCode = 2 Reason = 2063
AMQ8101: Unexpected error (80F)
Back to top
View user's profile Send private message
Gaya3
PostPosted: Thu Jan 04, 2007 8:16 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Hi

The error is related to Security,MQRC_SECURITY_ERROR

are you working under mqm, with full previleges and authority

Thanks and Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
bbburson
PostPosted: Thu Jan 04, 2007 8:17 am    Post subject: Reply with quote

Partisan

Joined: 06 Jan 2004
Posts: 378
Location: Nowhere near a queue manager

2063 = MQRC_SECURITY_ERROR

You're running as mqm or a user in the mqm group, right?
Back to top
View user's profile Send private message
Lex
PostPosted: Thu Jan 04, 2007 8:52 am    Post subject: Reply with quote

Acolyte

Joined: 14 Nov 2006
Posts: 73

Yup that was the good reason, thanks folk!

I still have other problems but i'm not sure i'll find the answer here, it's about the config manager, that is host by a DB2 7.1 database on NT. I can't connect to it since an electrical failure.

I tried to do db2admin start / stop, also i tried to recreate the id associated with the db2admin but the problem persist and i can't reach the db2 database.

Anyone has a clue?
Back to top
View user's profile Send private message
pathipati
PostPosted: Thu Jan 04, 2007 9:56 am    Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

What errors do you see while connecting to the ConfigMgr?
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Problem deleting a queue manager...
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.