Author |
Message
|
wmbv7newbie |
Posted: Wed Jun 24, 2015 7:14 am Post subject: Configuring IIB V9 - mqsi commands not working |
|
|
Centurion
Joined: 13 May 2014 Posts: 121
|
Hi,
I am trying to install IIB V9 to my local. After the installation, I was trying to create server nodes and execution groups. Gave this command -
Quote: |
crtmqm -lc -lf 65535 -lp 3 -ls 3 QM01 |
This gave me an error saying -
Quote: |
Command not recognised |
I tried mqsilist and a few other mqsi commands and they were working good. crtmqm, strmqm etc. were giving this error.
As a resolution, I added the setenv to mqsiprofile -
Quote: |
"C:\Program Files\IBM\WebSphere MQ\bin\setmqenv.cmd" -n Installation1 |
However, after this, crtmqm, strmqm started working and mqsi commands started giving the same errors.
Anybody has any hints? |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jun 24, 2015 7:18 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
For IIB commands to work you need to "source" mqsiprofile
Code: |
. /<iibinstall>/bin/mqsiprofile |
Note that the dot space are important.
When running from Windows use the IBM Integration Console (see in the IBM Integration Bus menu)  _________________ MQ & Broker admin |
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Jun 24, 2015 11:22 am Post subject: Re: Configuring IIB V9 - mqsi commands not working |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
wmbv7newbie wrote: |
I tried mqsilist and a few other mqsi commands and they were working good. crtmqm, strmqm etc. were giving this error.
As a resolution, I added the setenv to mqsiprofile -
Quote: |
"C:\Program Files\IBM\WebSphere MQ\bin\setmqenv.cmd" -n Installation1 |
|
crtmqm, strmqm is not an IIB command they are MQ commands
A normal Command window should be able to run those commands. Some versions of Windows may need the crtmqm command run 'As Administrator'.
I'd remove the changes to mqsiprofile IMHO, it is not needed.
make sure that MQ is properly functional before trying to do ANYTHING with any MQSI Commands. _________________ 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 |
|
 |
fjb_saper |
Posted: Wed Jun 24, 2015 12:42 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
You should not change mqsiprofile. If you need additional commands run with mqsiprofile read the infocenter about setting up a command environment.
If your mq commands are not running from the V9 integration console, are you sure you have a primary version defined? Did you set up your command environment?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
wmbv7newbie |
Posted: Thu Jun 25, 2015 3:49 am Post subject: |
|
|
Centurion
Joined: 13 May 2014 Posts: 121
|
Thanks everyone!
My installation had got messed up after i installed the fix pack for 7.5.0.3 for MQ.
We checked that none of my installations were Primary anymore. Ran the below to fix it and RFHUtilC works perfect.
Quote: |
To check Primary installations -
"C:\Program Files\IBM\WebSphere MQ\bin\dspmqinst.exe" |
Quote: |
To fix this -
"C:\Program Files\IBM\WebSphere MQ\bin\setmqinst.exe" -i -p "C:\
Program Files\IBM\WebSphere MQ" |
|
|
Back to top |
|
 |
|