Author |
Message
|
Lex |
Posted: Thu Jan 04, 2007 7:57 am Post subject: Problem deleting a queue manager... |
|
|
 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 |
|
 |
jefflowrey |
Posted: Thu Jan 04, 2007 7:59 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
exerk |
Posted: Thu Jan 04, 2007 8:02 am Post subject: |
|
|
 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 |
|
 |
Lex |
Posted: Thu Jan 04, 2007 8:03 am Post subject: |
|
|
 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 |
|
 |
bbburson |
Posted: Thu Jan 04, 2007 8:07 am Post subject: |
|
|
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 |
|
 |
Lex |
Posted: Thu Jan 04, 2007 8:14 am Post subject: |
|
|
 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 |
|
 |
Gaya3 |
Posted: Thu Jan 04, 2007 8:16 am Post subject: |
|
|
 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 |
|
 |
bbburson |
Posted: Thu Jan 04, 2007 8:17 am Post subject: |
|
|
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 |
|
 |
Lex |
Posted: Thu Jan 04, 2007 8:52 am Post subject: |
|
|
 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 |
|
 |
pathipati |
Posted: Thu Jan 04, 2007 9:56 am Post subject: |
|
|
Master
Joined: 03 Mar 2006 Posts: 296
|
What errors do you see while connecting to the ConfigMgr? |
|
Back to top |
|
 |
|