Author |
Message
|
ppraveen33 |
Posted: Fri Dec 20, 2013 6:05 am Post subject: REG: Creating a IIB9 Broker in Linux Machine |
|
|
Apprentice
Joined: 26 Jun 2013 Posts: 36
|
Hi,
I have installed MQ v7.5, Runtime in Linux machine Successfully. Now I want to create a BROKER in it. So My installation path is /opt/ibm/mqsi. So I am running this command to create a broker but getting following error.
mbadmin@dev4065:/opt/ibm/mqsi/9.0.0.1/bin> mqsicreatebroker MB9BROKER -q MB9QMGR
BIP8967E: Failed to create the queue manager 'MB9QMGR' because the Websphere MQ environment has not been set up.
The Websphere MQ environment must be set up for the command mqsicreatebroker to be able to create a queue manager. Runfrom the install of the version of Websphere MQ you want to use to create the queue manager.
So can anyone guide me on this?? |
|
Back to top |
|
 |
smdavies99 |
Posted: Fri Dec 20, 2013 7:08 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
|
Back to top |
|
 |
DP1234 |
Posted: Wed Jun 11, 2014 4:50 am Post subject: |
|
|
Apprentice
Joined: 25 May 2014 Posts: 40
|
Getting below error while creating Broker in IIB 9.0
BIP8967E: Failed to create the queue manager 'IIB_MQ' because the Websphere MQ environment has not been set up.
The Websphere MQ environment must be set up for the command mqsicreatebroker to be able to create a queue manager. Run the setmqenv command from the install of the version of Websphere MQ you want to use to create the queue manager.
Anybdy help me out in fixing this prob |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jun 11, 2014 4:58 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Alternatively you can look at how to configure your environment (command files being called by mqsiprofile) to set the mq environment. Particularly useful when running multiple versions of the command environment... at multiple versions of the broker...
This is the way I am setting the mq environment depending on the version of the broker being initialized in mqsiprofile ...
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
DP1234 |
Posted: Wed Jun 11, 2014 5:04 am Post subject: |
|
|
Apprentice
Joined: 25 May 2014 Posts: 40
|
fjb_saper wrote: |
Alternatively you can look at how to configure your environment (command files being called by mqsiprofile) to set the mq environment. Particularly useful when running multiple versions of the command environment... at multiple versions of the broker...
This is the way I am setting the mq environment depending on the version of the broker being initialized in mqsiprofile ...
Have fun  |
i tried using setmqenv command for the same..,didn't help much
can u guide me thru setting MQ environment manually |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jun 11, 2014 5:15 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
DP1234 wrote: |
fjb_saper wrote: |
Alternatively you can look at how to configure your environment (command files being called by mqsiprofile) to set the mq environment. Particularly useful when running multiple versions of the command environment... at multiple versions of the broker...
This is the way I am setting the mq environment depending on the version of the broker being initialized in mqsiprofile ...
Have fun  |
i tried using setmqenv command for the same..,didn't help much
can u guide me thru setting MQ environment manually |
Straight forward. Use the setmqenv of the highest level installation (absolute path) and set the environment to the named installation of your choice...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
DP1234 |
Posted: Wed Jun 11, 2014 5:35 am Post subject: |
|
|
Apprentice
Joined: 25 May 2014 Posts: 40
|
fjb_saper wrote: |
DP1234 wrote: |
fjb_saper wrote: |
Alternatively you can look at how to configure your environment (command files being called by mqsiprofile) to set the mq environment. Particularly useful when running multiple versions of the command environment... at multiple versions of the broker...
This is the way I am setting the mq environment depending on the version of the broker being initialized in mqsiprofile ...
Have fun  |
i tried using setmqenv command for the same..,didn't help much
can u guide me thru setting MQ environment manually |
Straight forward. Use the setmqenv of the highest level installation (absolute path) and set the environment to the named installation of your choice...  |
Can u please help me through steps to do it..,as am very new to Integration tool world.
Thanks in advance |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jun 11, 2014 7:47 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Code: |
C:\Windows\System32>\mq75\bin\setmqenv -?
Usage: setmqenv (-m QMgrName| -n InstallationName | -p Path | -r | -s)
[-x 32|64]
Set up the environment for use with WebSphere MQ.
-m Set the environment for the specified queue manager.
-n Set the environment for the specified installation.
-p Set the environment for the installation located in the specified path.
-r Remove WebSphere MQ from the environment.
-s Set the environment for the installation that this command comes from.
-x Set a 32-bit or 64-bit environment. |
and the result of dspmqinst, notice the InstallationName...
Code: |
C:\Windows\System32>\mq75\bin\dspmqinst
InstName: Installation0
InstDesc: IBM WebSphere MQ Installation
Identifier: 0
InstPath: C:\Program Files (x86)\IBM\WebSphere MQ
Version: 7.0.1.8
Primary: Yes
State: Available
InstName: mq75
InstDesc: WMQ V7.5
Identifier: 1
InstPath: C:\mq75
Version: 7.5.0.2
Primary: No
State: Available
MSIProdCode: {38E913AA-0F10-434C-BEEC-7473D6C196E8}
MSIMedia: 7.5 Server
MSIInstanceId: 1 |
There is really nothing more to it...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
DP1234 |
Posted: Wed Jun 11, 2014 9:44 pm Post subject: |
|
|
Apprentice
Joined: 25 May 2014 Posts: 40
|
C:\Program Files\IBM\MQSI\9.0.0.0>setmqenv -m IIB_MQ -n Installation1 -p "C:\Program Files\IBM\WebSphere MQ" -r -s
AMQ7255: Arguments supplied to a command are incompatible.
AMQ7024: Arguments supplied to a command are not valid.
Can u point out where i've gone wrong |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Jun 12, 2014 4:52 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
DP1234 wrote: |
C:\Program Files\IBM\MQSI\9.0.0.0>setmqenv -m IIB_MQ -n Installation1 -p "C:\Program Files\IBM\WebSphere MQ" -r -s
AMQ7255: Arguments supplied to a command are incompatible.
AMQ7024: Arguments supplied to a command are not valid.
Can u point out where i've gone wrong |
You can only use one of [-m qmgr | -n installationName | -p Path | -r | -s ] ... so for your command drop -m -r and -s ...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|