ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Configuring IIB V9 - mqsi commands not working

Post new topic  Reply to topic
 Configuring IIB V9 - mqsi commands not working « View previous topic :: View next topic » 
Author Message
wmbv7newbie
PostPosted: Wed Jun 24, 2015 7:14 am    Post subject: Configuring IIB V9 - mqsi commands not working Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Jun 24, 2015 7:18 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Wed Jun 24, 2015 11:22 am    Post subject: Re: Configuring IIB V9 - mqsi commands not working Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Jun 24, 2015 12:42 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
wmbv7newbie
PostPosted: Thu Jun 25, 2015 3:49 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Configuring IIB V9 - mqsi commands not working
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.