Author |
Message
|
MB Developer |
Posted: Sun Nov 16, 2014 8:21 pm Post subject: UBUNTU - Getting error when creating Broker |
|
|
 Disciple
Joined: 03 Feb 2014 Posts: 179
|
Hi All,
Greetings,
OS : UBUNTU 14.4 LTS
MQ and MB is installed in my PC successfully but when creating both Default broker and local broker getting some error.
And in command prompt all MQ commands are working but MB commands are not working.
1. When creating Default Broker
Code: |
17 Nov, 2014 9:44:42 AM com.ibm.etools.mft.eou.wizards.EouWizard logAction
INFO:
+++++++++++++++++++++++++++++++++++ task trace +++++++++++++++++++++++++++++++++++++++++++++
TIMESTAMP [Mon Nov 17 09:44:42 IST 2014]
17 Nov, 2014 9:44:42 AM com.ibm.etools.mft.eou.wizards.EouWizard logAction
INFO: Checking for the Default Configuration
17 Nov, 2014 9:44:42 AM com.ibm.etools.mft.eou.wizards.EouWizard logAction
INFO: The above task succeeded
Collected output from task >
Stdout: [Failed to open file /var/mqsi/registry/utility/HASharedWorkPath with error Permission denied
BIP2113E: Message broker internal error: diagnostic information ''Permission denied'', '13', ''/var/mqsi/registry/utility/HASharedWorkPath''.
An internal software error has occurred in the message broker. Further messages will indicate the effect of this error on the broker's transactions.
Shutdown and restart the message broker. If the problem continues to occur, then restart the system. If the problem still continues to occur contact your IBM support center.
BIP8081E: An error occurred while processing the command.
An error occurred while the command was running; the command has cleaned up and ended.
Use messages prior to this one to determine the cause of the error.
Check for some common problems:
Does the user id have the correct authorities (for example a member of the mqbrkrs group)?
Is any operating system limit set too low to allow the command to run?
Is the environment correctly set up?
Correct the problem and retry the command, otherwise, contact your IBM support center.]
Stderr: []
17 Nov, 2014 9:44:43 AM com.ibm.etools.mft.eou.wizards.EouWizard logAction
INFO:
+++++++++++++++++++++++++++++++++++ task trace +++++++++++++++++++++++++++++++++++++++++++++
TIMESTAMP [Mon Nov 17 09:44:43 IST 2014]
17 Nov, 2014 9:44:43 AM com.ibm.etools.mft.eou.wizards.EouWizard logAction
INFO: Checking for the Default Configuration
17 Nov, 2014 9:44:43 AM com.ibm.etools.mft.eou.wizards.EouWizard logAction
INFO: The above task succeeded
Collected output from task >
Stdout: [Failed to open file /var/mqsi/registry/utility/HASharedWorkPath with error Permission denied
BIP2113E: Message broker internal error: diagnostic information ''Permission denied'', '13', ''/var/mqsi/registry/utility/HASharedWorkPath''.
An internal software error has occurred in the message broker. Further messages will indicate the effect of this error on the broker's transactions.
Shutdown and restart the message broker. If the problem continues to occur, then restart the system. If the problem still continues to occur contact your IBM support center.
BIP8081E: An error occurred while processing the command.
An error occurred while the command was running; the command has cleaned up and ended.
Use messages prior to this one to determine the cause of the error.
Check for some common problems:
Does the user id have the correct authorities (for example a member of the mqbrkrs group)?
Is any operating system limit set too low to allow the command to run?
Is the environment correctly set up?
Correct the problem and retry the command, otherwise, contact your IBM support center.]
Stderr: []
17 Nov, 2014 9:44:53 AM com.ibm.etools.mft.eou.wizards.EouWizard logAction
INFO:
+++++++++++++++++++++++++++++++++++ task trace +++++++++++++++++++++++++++++++++++++++++++++
TIMESTAMP [Mon Nov 17 09:44:53 IST 2014]
17 Nov, 2014 9:44:53 AM com.ibm.etools.mft.eou.wizards.EouWizard logAction
INFO: Verifying that the user has sufficient group authority for brokers commands.
17 Nov, 2014 9:44:53 AM com.ibm.etools.mft.eou.wizards.EouWizard logAction
SEVERE: Insufficient authority: user must be in groups mqm and mqbrkrs.
Collected output from task >
Stdout: [bis adm cdrom sudo dip plugdev lpadmin sambashare binary]
Stderr: []
|
2. When creating local Broker
Code: |
Begin running task [The local broker is being created]
mqsicreatebroker BRK1 -q BRKQMGR ****
/opt/IBM/SDPShared/plugins/com.ibm.etools.mft.broker.runtime_8.0.300.v20131024-0926/scripts/linux/createBroker: 2: /opt/IBM/SDPShared/plugins/com.ibm.etools.mft.broker.runtime_8.0.300.v20131024-0926/scripts/linux/createBroker: source: not found
Failed to open file /var/mqsi/registry/BRK1/HASharedWorkPath with error Permission denied
Failed to open file /var/mqsi/registry/BRK1/HASharedWorkPath with error Permission denied
BIP8081 An exception was caught while processing the command, 'Unable to format an ImbException message for output, ImbException message number is BIP2113'.
The task was unsuccessful: The command failed.
|
3. MB commands are not working
Code: |
root@bis-desktop:/home/bis# dspmqver
Name: WebSphere MQ
Version: 7.0.1.3
CMVC level: p701-7013TRIAL
BuildType: IKAP - (Production)
root@bis-desktop:/home/bis# dspmq
QMNAME(QM1) STATUS(Ended unexpectedly)
QMNAME(QM2) STATUS(Ended immediately)
root@bis-desktop:/home/bis# strmqcfg
strmqcfg: command not found
root@bis-desktop:/home/bis# mqsilist
mqsilist: command not found
root@bis-desktop:/home/bis# mqsicreatebroker ?
mqsicreatebroker: command not found
root@bis-desktop:/home/bis#
|
please give me the solution for these problems and give the some guidance about required users and groups for working both MQ and MB. _________________ Thanks.... |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Nov 16, 2014 9:46 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Again ditch root after installation. It does not have the permissions as shown in the logs:
Quote: |
17 Nov, 2014 9:44:53 AM com.ibm.etools.mft.eou.wizards.EouWizard logAction
INFO: Verifying that the user has sufficient group authority for brokers commands.
17 Nov, 2014 9:44:53 AM com.ibm.etools.mft.eou.wizards.EouWizard logAction
SEVERE: Insufficient authority: user must be in groups mqm and mqbrkrs.
|
For the broker use an account with mqbkrs as the primary group, for MQ use an account with mqm as the primary group.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
MB Developer |
Posted: Sun Nov 16, 2014 10:08 pm Post subject: |
|
|
 Disciple
Joined: 03 Feb 2014 Posts: 179
|
Hi fjb_saper,
once find the below steps and let me know any changes are required..
Code: |
root@bis-desktop:/home/bis# users
bis bis
root@bis-desktop:/home/bis# groups
root bis mqm mqbrkrs
root@bis-desktop:/home/bis# groups root
root : root bis mqm mqbrkrs
root@bis-desktop:/home/bis# id -Gn mqm
root mqbrkrs
root@bis-desktop:/home/bis# su mqm
mqm@bis-desktop:/home/bis$ groups
root mqbrkrs
mqm@bis-desktop:/home/bis$ groupadd mqm
groupadd: group 'mqm' already existsmqm@bis-desktop:/home/bis$ groups root
root : root bis mqm mqbrkrs
mqm@bis-desktop:/home/bis$ exit
exit
root@bis-desktop:/home/bis# su mqbrkrs
No passwd entry for user 'mqbrkrs'
root@bis-desktop:/home/bis# su mqm
mqm@bis-desktop:/home/bis$ mqsilist
mqsilist: command not found
mqm@bis-desktop:/home/bis$ |
_________________ Thanks.... |
|
Back to top |
|
 |
MB Developer |
Posted: Sun Nov 16, 2014 11:16 pm Post subject: |
|
|
 Disciple
Joined: 03 Feb 2014 Posts: 179
|
Hi fjb_saper and all ,
Please give me the solution ,it's some urgent I want to create broker ...  _________________ Thanks.... |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Nov 17, 2014 12:16 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
You can't su to a group (viz mqbrkrs or mqm)
Create a user that is in BOTH the mqm and mqbrkrs group
make sure that the .bashrc file includes somehing like
Code: |
. ./opt/IBM/mqsi/bin/mqsiprofile.sh
|
find the path to the mqsiprofile shell script and run it like I showed above.
Then you can SU to that account create the qmgr and broker. AND run the broker from that account, not your own
But to be honest, your Linux user skills do seem to be a little lacking. Most of what is going wrong is IMHO down to that.
There are other threads on the problems you are seeing in this forum. Please take some time to peruse them. _________________ 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 |
|
 |
MB Developer |
Posted: Mon Nov 17, 2014 2:31 am Post subject: |
|
|
 Disciple
Joined: 03 Feb 2014 Posts: 179
|
Hi smdavies,
Thanks for your resonance ..
yes I have a little knowledge on Linux.
Create a user that is in BOTH the mqm and mqbrkrs group
Code: |
root@bis-desktop:/home/bis# usermod -G mqm suresh
root@bis-desktop:/home/bis# usermod -G mqbrkrs suresh
suresh@bis-desktop:/home/bis$ groups
suresh mqbrkrs |
Code: |
bis@bis-desktop:~$ sudo root
[sudo] password for bis:
sudo: root: command not found
bis@bis-desktop:~$ su suresh
Password:
suresh@bis-desktop:/home/bis$ users
bis bis
suresh@bis-desktop:/home/bis$ groups
suresh mqbrkrs
suresh@bis-desktop:/home/bis$ groups root
root : root bis mqm mqbrkrs
suresh@bis-desktop:/home/bis$ strmqcfg
strmqcfg: command not found
suresh@bis-desktop:/home/bis$ mqsilist
mqsilist: command not found
suresh@bis-desktop:/home/bis$
|
please let me know the above commands are correct if wrong then correct it and give me the next step....
thanks in advance..[/code] _________________ Thanks.... |
|
Back to top |
|
 |
exerk |
Posted: Mon Nov 17, 2014 3:01 am Post subject: Re: UBUNTU - Getting error when creating Broker |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
MB Developer wrote: |
OS : UBUNTU 14.4 LTS |
You do realise that the 'supported' version is Ubuntu 12.04 LTS, so you may hit some other issues anyway.. _________________ 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 |
|
 |
MB Developer |
Posted: Mon Nov 17, 2014 3:26 am Post subject: |
|
|
 Disciple
Joined: 03 Feb 2014 Posts: 179
|
Hi exerk,
Quote: |
OS : UBUNTU 14.4 LTS |
But all MQ commands are working.
Message Broker also installed.
If possible send me the link where i can found MB is not supported in UBUNTU 14.4. _________________ Thanks.... |
|
Back to top |
|
 |
exerk |
Posted: Mon Nov 17, 2014 3:40 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
MB Developer wrote: |
Hi exerk,
Quote: |
OS : UBUNTU 14.4 LTS |
But all MQ commands are working.
Message Broker also installed.
If possible send me the link where i can found MB is not supported in UBUNTU 14.4. |
I didn't say it wouldn't work but you cannot be sure it will be working properly - try digging into the KC next time, you'll find the Installing, Checking requirements is relevant information. Note: that's specifically for WMQ, but as for IB, I haven't looked. _________________ 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 |
|
 |
MB Developer |
Posted: Mon Nov 17, 2014 3:48 am Post subject: |
|
|
 Disciple
Joined: 03 Feb 2014 Posts: 179
|
ok Thanks exerk for your information regarding this from past one week on-words I will try so many things for creating broker.
Now I will try MB in UBUNTU 12.04 LTS.
If possible then send me any document or links for configuring users and groups after installing both MQ and MB . _________________ Thanks.... |
|
Back to top |
|
 |
exerk |
Posted: Mon Nov 17, 2014 4:02 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
MB Developer wrote: |
If possible then send me any document or links for configuring users and groups after installing both MQ and MB . |
It might be better that you do it before installing the IBM software...try reading the KC section entitled 'Preparing your system' - no more fish  _________________ 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 |
|
 |
|