Load the Message Broker toolkit

Note: If the IM (MBTK) loads slowly, this is because the user that is launching the work-bench is not in the mqm group.

In the Welcome screen, click the create the Default Configuration link

Firefox willl oad (Wel this is CentOS 6.3, and we have FF)

Click on the Start the Default Configuration wizard

Click Next

Note: If you get an error like the following:

Click on Open log file

TIMESTAMP [Sun Feb 10 23:28:02 GMT 2013]

Feb 10, 2013 11:28:02 PM com.ibm.etools.mft.eou.wizards.EouWizard logAction

INFO: Verifying that the user has sufficient group authority for brokers commands.

Feb 10, 2013 11:28:02 PM com.ibm.etools.mft.eou.wizards.EouWizard logAction

SEVERE: Insufficient authority: user must be in groups mqm and mqbrkrs.

Collected output from task >

Stdout: [mqbrkrs]

Stderr: []

the solution for this is

as root
usermod -a -G mqm,mqbrkrs
This will ensure that th emqm user (in my case I am logged in to X11 as mqm) has access. If you want to use another user then modify the command for example:

usermod -a -G mqm, mqbrkrs stever

Secondly

Create a line similar to this in your profile for example bash_profile
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/mqm/java/lib64:/opt/ibm/mqsi/8.0.0.1/xml4c/lib:/opt/mqm/lib64:/opt/ibm/mqsi/8.0.0.1/lib:/opt/ibm/mqsi/8.0.0.1/bin:/opt/ibm/mqsi/8.0.0.1/ODBC/V6.0/lib:/opt/ibm/mqsi/8.0.0.1/xlxpc/lib:/opt/mqm/java/lib
 

export LD_LIBRARY_PATH

Thirdly

Feb 11, 2013 12:02:06 AM com.ibm.etools.mft.eou.wizards.EouWizard logAction

INFO: Creating the default broker [MB8BROKER] and the queue manager [MB8QMGR].

Feb 11, 2013 12:02:06 AM com.ibm.etools.mft.eou.wizards.EouWizard logAction

SEVERE: Could not create the broker.

Collected output from task >

Stdout: [BIP8050E: Unable to create WebSphere MQ Queue Manager 'MB8QMGR'.

This command attempts to create a WebSphere MQ Queue Manager. The Queue Manager could not be created.

Locate and resolve the problem and retry the command.]

Stderr: [AMQ7077: You are not authorized to perform the requested operation.]

Logged in as mqm I tried this command
[mqm@localhost ~]$ crtmqm TEST1

AMQ7077: You are not authorized to perform the requested operation.

[mqm@localhost ~]$ groups

mqbrkrs mqm

So why this error? I can only think it is because I deleted the user and re-created it and somehow we have lost some mq permissions?

dr-xr-xr-x. 14 495 mqm 4096 Feb 10 00:23 mqm

drwxr-xr-x. 6 root root 4096 Feb 10 01:51 .

drwxr-xr-x. 5 root mqbrkrs 4096 Feb 10 01:52 IBM

drwxrwxr-x. 4 root root 4096 Feb 10 21:31 ibm

dr-xr-xr-x. 27 root root 4096 Feb 11 00:19 ..

[root@localhost opt]# pwd

/opt

What I did was issue

chown -R mqm:mqm /opt/mqm
chown -R mqm:mqbrkrs /opt/IBM
chown -R mqm:mqbrkrs /opt/ibm

We are now all OK

Click Finish

Close the welcome message

Congratulations, we have message broker 8 running and we can even administer as mqm.

Related articles:

http://www.themiddlewareshop.com/2013/02/10/installing-message-broker-8-fixpack/

http://www.themiddlewareshop.com/2013/02/10/message-broker-version/

http://www.themiddlewareshop.com/2013/02/10/issues-with-free-nx-and-mqm-user-websphere-mq/

http://www.themiddlewareshop.com/2013/02/10/installing-websphere-message-broker-8-on-linux/

Leave a Reply