Author |
Message
|
gbailey |
Posted: Thu Oct 28, 2004 8:52 am Post subject: [SOLVED] mqsicreatebroker error BIP8011E |
|
|
Newbie
Joined: 25 Sep 2002 Posts: 9 Location: Farnborough, UK
|
I am trying to recreate a WBIMBv5 broker on AIX 5.2. I have taken the following steps:
Delete from the toolkit.
Stop the broker: mqsistop BROKER1
Delete the broker: mqsideletebroker -w BROKER1
The problem comes when I try to create the broker again.
mqsicreatebroker BROKER1 -i BROKER1 -a password -q BROKER1 -n BROKER1DB -u BROKER1 -p broker1
I get the following error:
"BIP8011E: Unable to create the components configuration data.
Ensure that the userid that is running this command has adequate authority to update the configuration or registry files. Without this authority the registry or configuration files cannot be updated. Also check that the broker name does not contain invalid characters or is too long."
Now I am running as the BROKER1 user. This user has a primary group of mqbrkrs, and is also a member of the mqm group.
I'm not entirely sure where the configuration and registry files live. What permissions do I need on which directories?
Last edited by gbailey on Fri Oct 29, 2004 1:56 am; edited 1 time in total |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Oct 28, 2004 9:00 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
BROKER1 needs to be a member of Administrators. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
gbailey |
Posted: Fri Oct 29, 2004 1:01 am Post subject: |
|
|
Newbie
Joined: 25 Sep 2002 Posts: 9 Location: Farnborough, UK
|
We don't have an Adminstrators group on our AIX box, and this hasn't been a problem creating other brokers in the past.
id BROKER1
uid=18(BROKER1) gid=250(mqbrkrs) groups=13(mqm)
id BROKER2
uid=19(BROKER2) gid=250(mqbrkrs) groups=13(mqm)
Because our brokers are part of an HACMP solution we have links from /var/mqsi/registry/BROKER1 and /var/mqsi/brokers/BROKER1 to directories on the shared filesystems.
Could this be a cause of the problem? |
|
Back to top |
|
 |
gbailey |
Posted: Fri Oct 29, 2004 1:56 am Post subject: |
|
|
Newbie
Joined: 25 Sep 2002 Posts: 9 Location: Farnborough, UK
|
The answer is yes - it was.
I deleted the links from /var/mqsi/brokers/BROKER1 to the shared area, and from /var/mqsi/registry/BROKER1 to the shared area and the broker was successfully created. It was necessary to delete both these links. When I deleted just the /var/mqsi/registry/BROKER1 link it helpfully told me that it was "Unable to create directory ''".
Cheers. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Oct 29, 2004 4:40 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
D'oh!
I missed where you said "AIX". _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|