Solved

RHEL 6 and WebSphere Message Broker

Posted on 2011-03-21
4
1,660 Views
Last Modified: 2013-11-17
I installed WMB 7.0.0.2 on RHEL 6, which is supported according to this link:

http://www-01.ibm.com/support/docview.wss?rs=849&uid=swg27017129

I installed under root

Then I switched to mqm via "su mqm"

After installation, I started mqsiprofile with the ". ./mqsiprofile" command,
and I created a broker:


bash-4.1$ ./mqsicreatebroker LQM2 -q LQM2
WebSphere MQ queue manager created.
Directory '/var/mqm/qmgrs/LQM2' created.
Creating or replacing default objects for LQM2.
Default objects statistics : 65 created. 0 replaced. 0 failed.
Completing setup.
Setup completed.
WebSphere MQ queue manager 'LQM2' starting.
5 log records accessed on queue manager 'LQM2' during the log replay phase.
Log replay for queue manager 'LQM2' complete.
Transaction manager state recovered for queue manager 'LQM2'.
WebSphere MQ queue manager 'LQM2' started.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
The setmqaut command completed successfully.
BIP8071I: Successful command completion.

Open in new window



This was successful, then I tried to start the broker:

bash-4.1$ ./mqsistart LQM2
BIP8875W: The component verification for 'LQM2' has finished, but one or more checks failed.
One or more of the component verification checks failed.
Check the error log for preceding error messages.
bash-4.1$ pwd
/opt/ibm/mqsi/7.0/bin

Open in new window


I opened the /var/log/messages file and found the following:

/build/S700_P/src/CommandLine/ImbCmdLib/ImbComponentVerification.cpp: 207: ImbComponentVerification::verify: : 
Mar 21 14:00:37 ex5b WebSphere Broker v7002[24623]: (LQM2)[1]BIP8873I: Starting the component verification for component 'LQM2'. : LQM2.mqsistart: /build/S700_P/src/CommandLine/ImbCmdLib/ImbComponentVerification.cpp: 81: ImbComponentVerification::verify: : 
Mar 21 14:00:37 ex5b WebSphere Broker v7002[24623]: (LQM2)[1]BIP8893E: Unable to access file '/var/mqsi/LQM2_bipcvp_temp.tmp' with user ID 'mqm'. Additional information for IBM support: open NULL. : LQM2.mqsistart: /build/S700_P/src/CommandLine/ImbCmdLib/ImbEnvironmentVerification.cpp: 1070: ImbEnvironmentVerification::fileIO: : 
Mar 21 14:00:37 ex5b WebSphere Broker v7002[24623]: (LQM2)[1]BIP8895E: Verification failed. Environment variable 'MQSI_REGISTRY' is incorrect or missing. : LQM2.mqsistart: /build/S700_P/src/CommandLine/ImbCmdLib/ImbEnvironmentVerification.cpp: 518: ImbEnvironmentVerification::verify: : 
Mar 21 14:00:37 ex5b WebSphere Broker v7002[24623]: (LQM2)[1]BIP8907E: Verification failed. Unable to verify Java level. : LQM2.mqsistart: /build/S700_P/src/CommandLine/ImbCmdLib/ImbEnvironmentVerification.cpp: 520: ImbEnvironmentVerification::verify: : 
Mar 21 14:00:37 ex5b 

Open in new window


How can I fix this ?

Thanks
0
Comment
Question by:Los Angeles1
  • 2
4 Comments
 
LVL 10

Accepted Solution

by:
dfke earned 500 total points
ID: 35187632
The command performs a series of checks to ensure that the component environment, WebSphere MQ queues, database tables (if the component is a broker), and Java are correct and accessible. One or more of the checks for the component identified in the message has failed, therefore the component is not started.

Check if you have enough free space on /var. I advise you to include these items in the information that you provide should you contact IBM Global Services.
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 35189595
Has mqsiprofile still been active the moment you tried to start the broker? Or did you perhaps exit, then su again, without sourcing the profile anew?

wmp
0
 

Author Closing Comment

by:Los Angeles1
ID: 35189840
The problem went away when I chmodd 777 the /var/mqsi

Thanks for pointing me in the right direction
0
 

Author Comment

by:Los Angeles1
ID: 35191775
wmP:

No, mqsiprofile was still active at that time

0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
linux redhat 7.2 10 73
Run DOS2UNIX and then execute the command 21 71
linux SFTP 8 44
Linux mount of Windows Shared Now Fails 8 40
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question