Author |
Message
|
ilabmq |
Posted: Thu Sep 02, 2010 1:34 pm Post subject: Can't create broker version 7 in Linux: Authorisation error! |
|
|
Newbie
Joined: 02 Sep 2010 Posts: 8
|
I have installed WMB 7.0.0.0 on the Ubuntu 8.10 (Interpid). The broker installation was successful, and MQ installation as well (that had been verified successfully). The user I logged on with belongs to both mqm and mqbrokrs groups, see below.
uid=1000(ilab888) gid=1002(mqm) groups=4(adm),20(dialout),21(fax),24(cdrom),26(tape),29(audio),30(dip),44(video),46(plugdev),
100(users),104(scanner),107(fuse),110(lpadmin),116(netdev),119(admin),124(sambashare),
1002(mqm),1003(mqbrkrs)
However trying creating broker with the following command
Code: |
mqsicreatebroker test -q test |
I keep getting the error
Quote: |
The command is unable to store the component's 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. |
I read all manuals and used broker toolkit and explorer with the same result. I really do not know what to think else.
The help will be very much appreciated!
Thank you
ilabmq
[/b] |
|
Back to top |
|
 |
Gaya3 |
Posted: Thu Sep 02, 2010 1:37 pm Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
the user id doesnt have file access or write access privileges
look that  _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
Vitor |
Posted: Thu Sep 02, 2010 2:31 pm Post subject: Re: Can't create broker version 7 in Linux: Authorisation er |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
ilabmq wrote: |
I really do not know what to think else |
I think the clue is here:
ilabmq wrote: |
Ensure that the userid that is running this command has adequate authority to update the configuration or registry files. |
There's nothing much else to say. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
ilabmq |
Posted: Fri Sep 03, 2010 11:52 am Post subject: |
|
|
Newbie
Joined: 02 Sep 2010 Posts: 8
|
Look here, the permissions are set for both directories and exceedingly
***************************
Code: |
uid=1000(ilab888) gid=1003(mqbrkrs) groups=4(adm),24(cdrom),29(audio),30(dip),44(video),46(plugdev),100(users),107(fuse),
110(lpadmin),116(netdev),119(admin),124(sambashare),1002(mqm),1003(mqbrkrs)
ilab888@ICE888:/var/mqsi$ |
***************************
RUNTIME
[quote]lab888@ICE888:/opt/ibm/mqsi$ cd 7.0/
ilab888@ICE888:/opt/ibm/mqsi/7.0$ sudo chown -R ilab888:mqbrkrs .
ilab888@ICE888:/opt/ibm/mqsi/7.0$ sudo chmod 777 -R .
ilab888@ICE888:/opt/ibm/mqsi/7.0$ ls -la
total 128
drwxrwxrwx 29 ilab888 mqbrkrs 4096 2010-09-02 20:11 .
drwxr-xr-x 4 root root 4096 2010-09-02 23:59 ..
drwxrwxrwx 4 ilab888 mqbrkrs 4096 2010-09-02 20:10 adapters
drwxrwxrwx 2 ilab888 mqbrkrs 4096 2010-09-02 20:10 bin
drwxrwxrwx 4 ilab888 mqbrkrs 4096 2010-09-02 20:10 catalina
drwxrwxrwx 2 ilab888 mqbrkrs 4096 2010-09-02 20:10 classes
-rwxrwxrwx 1 ilab888 mqbrkrs 3638 2007-08-17 01:48 console.ico
lrwxrwxrwx 1 ilab888 mqbrkrs 9 2010-09-02 20:10 DD64 -> ODBC/V6.0
drwxrwxrwx 4 ilab888 mqbrkrs 4096 2010-09-02 20:10 docs
-rwxrwxrwx 1 ilab888 mqbrkrs 3638 2007-08-17 01:48 exerciser.ico
drwxrwxrwx 3 ilab888 mqbrkrs 4096 2010-09-02 20:10 exmltConfig
drwxrwxrwx 3 ilab888 mqbrkrs 4096 2010-09-02 20:10 include
drwxrwxrwx 5 ilab888 mqbrkrs 4096 2010-09-02 20:10 itlm
drwxrwxrwx 2 ilab888 mqbrkrs 4096 2010-09-02 20:10 jplugin
drwxrwxrwx 7 ilab888 mqbrkrs 4096 2010-09-02 20:10 jre16
drwxrwxrwx 2 ilab888 mqbrkrs 4096 2010-09-02 20:10 lib
drwxrwxrwx 2 ilab888 mqbrkrs 4096 2010-09-02 20:10 license
drwxrwxrwx 2 ilab888 mqbrkrs 4096 2010-09-02 20:10 lil
drwxrwxrwx 12 ilab888 mqbrkrs 4096 2010-09-02 20:10 messages
drwxrwxrwx 2 ilab888 mqbrkrs 4096 2010-09-02 20:10 migration
drwxrwxrwx 3 ilab888 mqbrkrs 4096 2010-09-02 20:10 ODBC
lrwxrwxrwx 1 ilab888 mqbrkrs 4 2010-09-02 20:10 ODBC64 -> ODBC
drwxrwxrwx 3 ilab888 mqbrkrs 4096 2010-09-02 20:10 properties
drwxrwxrwx 12 ilab888 mqbrkrs 4096 2010-09-02 20:10 readmes
drwxrwxrwx 6 ilab888 mqbrkrs 4096 2010-09-02 20:10 sample
drwxrwxrwx 2 ilab888 mqbrkrs 4096 2010-09-02 20:10 SecurityProviders
drwxrwxrwx 2 ilab888 mqbrkrs 4096 2010-09-02 20:10 tools
drwxrwxrwx 2 ilab888 mqbrkrs 4096 2010-09-02 20:11 _uninst_runtime
drwxrwxrwx 4 ilab888 mqbrkrs 4096 2010-09-02 20:09 _uninst_runtime_jvm
drwxrwxrwx 4 ilab888 mqbrkrs 4096 2010-09-02 20:10 webservices
-rwxrwxrwx 1 ilab888 mqbrkrs 3638 2007-08-17 01:22 ws.ico
drwxrwxrwx 5 ilab888 mqbrkrs 4096 2010-09-02 20:10 wsrrclient
drwxrwxrwx 3 ilab888 mqbrkrs 4096 2010-09-02 20:10 xlxpc
drwxrwxrwx 4 ilab888 mqbrkrs 4096 2010-09-02 20:10 xml4c
***************************
REGISTRY
***************************
ilab888@ICE888:/var/mqsi$ sudo chown -R ilab888:mqbrkrs .
ilab888@ICE888:/var/mqsi$ sudo chmod -R 777 *
ilab888@ICE888:/var/mqsi$ ls -la
total 20
drwxrwxr-x 4 ilab888 mqbrkrs 4096 2010-09-02 20:12 .
drwxr-xr-x 19 root root 4096 2010-09-02 17:18 ..
drwxrwxrwx 5 ilab888 mqbrkrs 4096 2010-09-02 19:10 common
drwxrwxrwx 2 ilab888 mqbrkrs 4096 2010-09-03 09:26 components
-rwxrwxrwx 1 ilab888 mqbrkrs 52 2010-09-03 00:00 install.properties
*********************************
And still does not work... How to implement the authorisation? Or it is an Ubuntu bug that the the installed software sees the user outside of the group mqbrkrs even the user is included in it?
*******************************************
ilab888@ICE888:/opt/ibm/mqsi/7.0$ mqsicreatebroker test2 -q test
BIP8011E: Unable to create the components configuration data.
The command is unable to store the component's 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.
********************************** |
|
Back to top |
|
 |
Gaya3 |
Posted: Fri Sep 03, 2010 12:04 pm Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
|
Back to top |
|
 |
ilabmq |
Posted: Sat Sep 04, 2010 12:45 am Post subject: |
|
|
Newbie
Joined: 02 Sep 2010 Posts: 8
|
I read it ... this is not an AIX issue.
Also, I am using 64 bit Ubuntu 8.10, and the install did not run in graphical mode, so I executed it in console mode successfully with the following warning
Creating WorkPath...
Warning: UNIXProcess.forkAndExec native error: No such file or directory |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Sep 04, 2010 3:36 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
ilabmq wrote: |
I read it ... this is not an AIX issue.
Also, I am using 64 bit Ubuntu 8.10, and the install did not run in graphical mode, so I executed it in console mode successfully with the following warning
Creating WorkPath...
Warning: UNIXProcess.forkAndExec native error: No such file or directory |
So regardless of this being an AIX issue or not, did you check gbailey's advice?
gbailey wrote: |
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 ''". |
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqjeff |
Posted: Sat Sep 04, 2010 6:36 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
It does not seem like a good idea to run that chown command - but I haven't confirmed that against the documentation. So it might be perfectly okay - but it's not something I would do as a matter of course without a good reason and having verified it beforehand against the info center.
It does not sound like the install was successful.
In particular the /var/mqsi looks a little sparse. I would sort of expect to see a few more folders there.
You can attempt to specify a new, and different, workpath for the broker using the -w option on mqsicreatebroker. For example
Code: |
mqsicreatebroker test -q test -w /home/ilab88/mqsi/ |
or wherever you want. |
|
Back to top |
|
 |
ilabmq |
Posted: Sat Sep 04, 2010 9:29 am Post subject: |
|
|
Newbie
Joined: 02 Sep 2010 Posts: 8
|
Thank you very much for the responses, I am still struggling.
There are not links, and no broker directory in /var/mqsi as per output below
[code]drwxrwxrwx 4 ilab888 mqbrkrs 4096 2010-09-04 10:36 .
drwxr-xr-x 19 root root 4096 2010-09-04 10:29 ..
drwxrwxrwx 4 ilab888 mqbrkrs 4096 2010-09-04 10:38 common
drwxrwxrwx 2 ilab888 mqbrkrs 4096 2010-09-04 10:48 components
-rwxrwxrwx 1 ilab888 mqbrkrs 26 2010-09-04 10:29 install.properties[/code]
Also, followed the mqjeff advise but unsuccessfully.......
[code]ilab888@ICE888:/opt/ibm/mqsi/7.0/bin$ mqsicreatebroker test -q test -w /home/ilab888/mqsi
BIP8011E: Unable to create the components configuration data.
The command is unable to store the component's 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
ilab888@ICE888:/opt/ibm/mqsi/7.0/bin$ ls -la /home/ilab888/mqsi
total 8
drwxrwxrwx 2 ilab888 mqbrkrs 4096 2010-09-04 19:21 .
drwxr-xr-x 103 ilab888 ilab888 4096 2010-09-04 19:21 ..
[/code]. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Sep 04, 2010 10:42 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Sounds like a bad install. Remove and install again? Are you sure your media download is not tainted?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
ilabmq |
Posted: Sat Sep 04, 2010 11:10 am Post subject: |
|
|
Newbie
Joined: 02 Sep 2010 Posts: 8
|
Yes, reading the thread I realised that brokers, registry and odbc directories were not created, probably the installer tried to say it by
[quote]Creating WorkPath...
Warning: UNIXProcess.forkAndExec native error: No such file or directory[/quote]
After 3 reinstalls using the image CZ7XZML from IBM catalogue there were no mentioned directories created, so I added it manually, and it it works!
Thank you very much to all for your help, I am sure I would be still struggling otherwise.
ilabmq
 |
|
Back to top |
|
 |
mqjeff |
Posted: Sat Sep 04, 2010 11:32 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
There are two disk images needed for Broker Runtime install, disk 1 and disk 2.
If you only used one, that is likely the root of the problem. |
|
Back to top |
|
 |
smdavies99 |
Posted: Sat Sep 04, 2010 11:53 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
mqjeff wrote: |
There are two disk images needed for Broker Runtime install, disk 1 and disk 2.
If you only used one, that is likely the root of the problem. |
Would one of the images be WMQ 7.0.1.x by any chance?
If so, would this mean that if you have already installed WMQ then you only need one disk image? _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
ilabmq |
Posted: Sat Sep 04, 2010 12:01 pm Post subject: |
|
|
Newbie
Joined: 02 Sep 2010 Posts: 8
|
As I said the download is called CZ7XZML.tar.gz and obtained from IBM Electronic Software Catalogue. then it got untarred into one directory only such as 'messagebroker_runtime1'.
WMQ 7.0.1 was already installed by that time. |
|
Back to top |
|
 |
|