Author |
Message
|
MikeC |
Posted: Thu Sep 08, 2005 12:23 pm Post subject: Error Deleting Broker |
|
|
 Acolyte
Joined: 30 Jun 2003 Posts: 55 Location: Toronto, Canada
|
I'm trying to delete the broker (WMQI 2.1 on AIX) and getting the following errors..
BIP2169E: An error occurred while deleting the registry directory '/var/wmqi/registry/MKBK5/' : : .
The broker registry has not been deleted.
Ask your WebSphere MQ Integrator administrator to check why the registry directory could not be deleted, then retry the mqsidelete command.
BIP8081E: An exception 'ImbException', was caught while processing the command. An unexpected exception occurred while the command was running. The command has cleaned up and terminated. Use messages prior to this one to determine the cause of the error. Correct the problem and retry the command. Check for some common problems :- Is your userid in the mqbrkrs group ? Is the broker database working ? Is any operating system limit set too low to allow the command to run ? Is the environment correctly setup? Contact your IBM support center if you are unable to resolve the problem.
I can't find any mention of BIP2169E on the IBM site or in any previous posts on this site. Does anyone either remember having this problem before or know how to solve it?
Thanks. _________________ -Mike. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Sep 08, 2005 12:28 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
This isn't very helpful, but here's BIP2169E
I'd say it's, at a guess, a permissions problem on the /var/wmqi/registry/MKBK5 directory. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
MikeC |
Posted: Thu Sep 08, 2005 12:32 pm Post subject: |
|
|
 Acolyte
Joined: 30 Jun 2003 Posts: 55 Location: Toronto, Canada
|
Thanks Jeff, but I don't think it's a permissions issue. I already checked the permissions on that directory (and all its parent directories) and they're OK. _________________ -Mike. |
|
Back to top |
|
 |
JT |
Posted: Thu Sep 08, 2005 2:32 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Does the account that's logged in have the necessary rights ?
Are there any MKBK5 processes still active ? |
|
Back to top |
|
 |
MikeC |
Posted: Fri Sep 09, 2005 6:15 am Post subject: |
|
|
 Acolyte
Joined: 30 Jun 2003 Posts: 55 Location: Toronto, Canada
|
Yep, the account has the correct rights. To delete a broker, the account has to be a member of the mqbrkrs group and it is. I've done this same thing with this account before.
I don't think there are any left over broker processes. I did an ls -l | grep <broker_account_id> and it showed nothing. I also checked for any shared memory segments that might be being held onto and killed any that were left. .. so it's not that either. _________________ -Mike. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Sep 09, 2005 6:27 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You could always manually delete the broker...
delete the registry, delete the database... _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
helping_hand |
Posted: Fri Sep 09, 2005 10:49 am Post subject: |
|
|
 Novice
Joined: 28 Jul 2005 Posts: 14
|
first connect to database
start broker
stop broker
delete broker
disconnect database
delete database |
|
Back to top |
|
 |
MikeC |
Posted: Mon Sep 12, 2005 7:54 am Post subject: |
|
|
 Acolyte
Joined: 30 Jun 2003 Posts: 55 Location: Toronto, Canada
|
Are those steps documented anywhere? .. I'm far from being a DB2 expert and I don't want to delete the broker database without being able to re-create it. Plus the fact, in the 4th step you said ..
Deleting the broker is the problem. It's when I run the mqsideletebroker command that the errors come up.
Thanks, _________________ -Mike. |
|
Back to top |
|
 |
JT |
Posted: Mon Sep 12, 2005 8:04 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Post the directory info for /var/wmqi/registry/
Code: |
drwxrwx--- 5 mqm mqbrkrs 512 Nov 29 2004 .
drwxr-xr-x 13 root other 512 Nov 26 2003 ..
-rw-rw---- 1 mqm mqbrkrs 9 Oct 8 2003 FilePath
-rw-rw-rw- 1 wmqi mqbrkrs 4 Sep 12 11:00 LOCK
drwxrwx--- 3 wmqi mqbrkrs 1024 Nov 29 2004 MESSAGE_BROKER
-rw-rw---- 1 mqm mqbrkrs 9 Mar 23 2003 WorkPath |
|
|
Back to top |
|
 |
MikeC |
Posted: Mon Sep 12, 2005 8:10 am Post subject: |
|
|
 Acolyte
Joined: 30 Jun 2003 Posts: 55 Location: Toronto, Canada
|
Here it is..
Code: |
uamqsi5:/var/mqsi/registry > ls -la
total 7
drwxrws--- 3 mqm mqbrkrs 512 Sep 07 15:37 .
drwxr-xr-x 10 mqm mqbrkrs 512 Aug 18 14:08 ..
-rw-r--r-- 1 root mqbrkrs 13 Aug 18 14:08 FilePath
-rw-rw---- 1 mqi mqbrkrs 4 Sep 12 09:02 LOCK
drwxrwsrwx 3 mqi mqbrkrs 1024 Sep 07 15:41 MKBK5
-rw-r--r-- 1 root mqbrkrs 9 Aug 18 14:08 WorkPath
|
Thanks. _________________ -Mike. |
|
Back to top |
|
 |
MikeC |
Posted: Tue Sep 13, 2005 6:32 am Post subject: |
|
|
 Acolyte
Joined: 30 Jun 2003 Posts: 55 Location: Toronto, Canada
|
FYI..
I deleted the directory manually and it looks to have fixed the problem. I was able to re-create the broker and I guess it's OK.
.. although I still don't know why the mqsidelete command didn't work. _________________ -Mike. |
|
Back to top |
|
 |
|