Author |
Message
|
satya22777 |
Posted: Thu Jul 24, 2008 7:35 am Post subject: mqsicreatebroker command in Linux |
|
|
Apprentice
Joined: 03 Apr 2006 Posts: 31
|
Hello All,
Where Can I give MQSI commands in Linux.
I tried in installation directory and also in bin/mqsi/mqsiprofile directory.
I have to use mqsicreatebroker command to install broker on oracle database. but the above command is not working anywhere.
Thanks in advance,
Regards,
satya. |
|
Back to top |
|
 |
sridhsri |
Posted: Thu Jul 24, 2008 7:39 am Post subject: |
|
|
Master
Joined: 19 Jun 2008 Posts: 297
|
I would recommend that you execute the mqsiprofile.sh (which will be in the MQSI_HOME/bin folder. Its even better if you added that to your .profile file). Once you do that, all commands would be in path. |
|
Back to top |
|
 |
satya22777 |
Posted: Thu Jul 24, 2008 9:50 am Post subject: |
|
|
Apprentice
Joined: 03 Apr 2006 Posts: 31
|
Thanks for u r reply,
we already tried with u r suggestion, but we are getting error like,
[root@mcity105 bin]# mqsiprofile
MQSI 6.1.0.2
/OPT/ibm/mqsi/6.1
[root@mcity105 bin]# mqsicreatebroker
masicreatebroker: error while loading shared libraries:libImbCmdLib.so: cannot open shared object file: No such file or directory
[root@mcity105 bin]# |
|
Back to top |
|
 |
sridhsri |
Posted: Thu Jul 24, 2008 10:42 am Post subject: |
|
|
Master
Joined: 19 Jun 2008 Posts: 297
|
This error appears to be because of the fact that the command in unable to find/load the lib files. The lib files are located in $MQSI_HOME/lib. Make sure that is in the LIB_PATH or LD_LIBRARY_PATH |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Jul 24, 2008 11:38 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
satya22777 wrote: |
Thanks for u r reply,
we already tried with u r suggestion, but we are getting error like,
[root@mcity105 bin]# mqsiprofile
MQSI 6.1.0.2
/OPT/ibm/mqsi/6.1
[root@mcity105 bin]# mqsicreatebroker
masicreatebroker: error while loading shared libraries:libImbCmdLib.so: cannot open shared object file: No such file or directory
[root@mcity105 bin]# |
You just ran the profile but you did not "source" it.
You need to source the profile:
Code: |
[bkradmin@mcity105 bin]#. ./mqsiprofile |
Anyways why are you doing this as ROOT and not as BrokerAdmin???  _________________ MQ & Broker admin |
|
Back to top |
|
 |
sridhsri |
Posted: Thu Jul 24, 2008 11:41 am Post subject: |
|
|
Master
Joined: 19 Jun 2008 Posts: 297
|
d'oh! that was well spotted fjb_saper! |
|
Back to top |
|
 |
satya22777 |
Posted: Fri Jul 25, 2008 4:38 am Post subject: |
|
|
Apprentice
Joined: 03 Apr 2006 Posts: 31
|
Hi fjb_saper,
Thanks for the reply, we will proceed as per u r suggestion.
Is there anything wrong in installing toolkit and broker in Root user. Actually I am new to Linux.
Once it is completed I will let u know.
regards,
satya. |
|
Back to top |
|
 |
sridhsri |
Posted: Fri Jul 25, 2008 4:58 am Post subject: |
|
|
Master
Joined: 19 Jun 2008 Posts: 297
|
For installation you would have to be root user. I think fjb_saper is suggesting that after installation you switch to a user in mqm and mqbrkrs group to create your qmgr, broker, configmgr etc. |
|
Back to top |
|
 |
|