Author |
Message
|
mq_pm |
Posted: Fri Dec 17, 2004 11:13 am Post subject: MQSeries installation on Linux |
|
|
Centurion
Joined: 27 Aug 2003 Posts: 132
|
Hi,
I am trying to install MQseries on Linux. II have gone through the docs but just wanted to confirm that iam following the right steps and what i understood is right.
created mqm group and mqm user
created filesystems /opt/mqm and /var/mqm/
download the trail version tar file to the directory /opt/mqm/
i have untar it....just wanted to confirm that now iam ready to run the license and then those rpm commands.....
Please guide me if iam wrong in any step or need to be done anyhing more...
Thanks in advance. |
|
Back to top |
|
 |
vennela |
Posted: Fri Dec 17, 2004 11:48 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
That is all you need to do.
It should work. If not you can always come back and tell what the problem is.
It is also a good idea to install JDK (for MQ Java/JMS component ) |
|
Back to top |
|
 |
mq_pm |
Posted: Fri Dec 17, 2004 12:11 pm Post subject: |
|
|
Centurion
Joined: 27 Aug 2003 Posts: 132
|
Thanks alot.
I have installed it and no error was prompted. Hopefully it was successful. Before verification i would like to install the CSD06.
I have downloaded the tar file to /opt/mqm/ptf where I have created ptf directory now. Do I need to run those commands from this directory right.
Just wanted to confirm.
Thanks. |
|
Back to top |
|
 |
vennela |
Posted: Fri Dec 17, 2004 12:41 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Where you download the file doesn't matter.
From where you run the commands doesn't matter, but you will have to give the full path of where the CSD is.
Why don't you install CSD08? Is there any reason to install CSD06 |
|
Back to top |
|
 |
mq_pm |
Posted: Fri Dec 17, 2004 12:52 pm Post subject: |
|
|
Centurion
Joined: 27 Aug 2003 Posts: 132
|
Thanks for the info. But where do I need to specify the path. I don't see anything in the installation guide to specify the path. Could you elaborate more how to do it.
there is no particular reason that I am installing that CSD.
Thanks. |
|
Back to top |
|
 |
vennela |
Posted: Fri Dec 17, 2004 12:59 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
When you issue the rpm command you have to supply what to install right?
For example
Code: |
rpm -i MQSeriesRuntime-5.3.0-1.i386.rpm |
Assuming your software exists in /opt/mqm/ptf you have to say
Code: |
rpm -i /opt/mqm/ptf/MQSeriesRuntime-5.3.0-1.i386.rpm |
If you have a choie you should always go with the latest fix which now is CSD08 |
|
Back to top |
|
 |
mq_pm |
Posted: Fri Dec 17, 2004 1:24 pm Post subject: |
|
|
Centurion
Joined: 27 Aug 2003 Posts: 132
|
Thanks alot.
sorry to trouble u but one question. In the /opt/mqm/ directory I do all the rpm files.....now i have installed, is it necessary that all files have to be. I guess I can remove all rpm files???
bin
java
inc
lib
lap
lib
licenses
READMEs
READMES
samp
tivoli
MQSeriesMsg_fr-5.3.0-1.i386.rpm
gsk6bas-6.0-3.33.i386.rpm
MQSeriesMsg_it-5.3.0-1.i386.rpm
IBMJava2-SDK-1.4-0.0.i386.rpm
MQSeriesMsg_ja-5.3.0-1.i386.rpm
MQSeriesMsg_ko-5.3.0-1.i386.rpm
MQSeriesMsg_pt-5.3.0-1.i386.rpm
MQSeriesMsg_Zh_CN-5.3.0-1.i386.rpm
MQSeriesMsg_Zh_TW-5.3.0-1.i386.rpm
MQSeriesRuntime-5.3.0-1.i386.rpm
MQSeriesSamples-5.3.0-1.i386.rpm
mqlicense.sh
MQSeriesSDK-5.3.0-1.i386.rpm
MQSeriesClient-5.3.0-1.i386.rpm
MQSeriesServer-5.3.0-1.i386.rpm
MQSeriesJava-5.3.0-1.i386.rpm
MQSeriesKeyMan-5.3.0-1.i386.rpm
MQSeriesMan-5.3.0-1.i386.rpm
MQSeriesMsg_de-5.3.0-1.i386.rpm
MQSeriesMsg_es-5.3.0-1.i386.rpm
Thanks. |
|
Back to top |
|
 |
vennela |
Posted: Fri Dec 17, 2004 4:27 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
You can remove all the .rpm files.
But do not remove anything else. |
|
Back to top |
|
 |
mq_pm |
Posted: Fri Dec 17, 2004 4:27 pm Post subject: |
|
|
Centurion
Joined: 27 Aug 2003 Posts: 132
|
Hi,
I have trouble while creating Qmgrs. I have logged on to the box as mqm user. I tried the command crtmqm and it says command not found.
I logged on as root. when I tried it says,
crtmqm:error while loading shared libraries:libmqml_r.so:cannot open shared object file: Permission denied.
Does anyone have idea why is it so..
Thanks in advance |
|
Back to top |
|
 |
vennela |
Posted: Fri Dec 17, 2004 4:30 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
You may not be able to create a QMGR as root unless it is in mqm group.
The reason you are not able to create the QMGR using mqm is for some reason the /opt/mqm/bin is not in the PATH of mqm.
Login as mqm and do
Code: |
export PATH=/opt/mqm/bin:$PATH |
Try to create the QMGR now.
Befroe creating and starting the QMGR do
|
|
Back to top |
|
 |
mq_pm |
Posted: Mon Dec 20, 2004 8:00 am Post subject: |
|
|
Centurion
Joined: 27 Aug 2003 Posts: 132
|
I am not able to do setmqcap command using root. it gives same error....
I have set the path when i logged to mqm, but still i am able to execute any command....
Any suggestion would be appreciated.
Thanks. |
|
Back to top |
|
 |
mq_pm |
Posted: Mon Dec 20, 2004 8:03 am Post subject: |
|
|
Centurion
Joined: 27 Aug 2003 Posts: 132
|
sorry still iam not able to execute commands as mqm user.. |
|
Back to top |
|
 |
mq_pm |
Posted: Mon Dec 20, 2004 8:13 am Post subject: |
|
|
Centurion
Joined: 27 Aug 2003 Posts: 132
|
one more thing, when i looked into /etc/group file i see this:
mqm:x:506
no mqm or root is seen....this means that mqm id and root is not a member of mqm grp right??? Please let me know .....If so I guess i need to edit it ...then everything might work..... |
|
Back to top |
|
 |
JT |
Posted: Mon Dec 20, 2004 11:25 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Yes, you'll need to add the root and mqm ids to the mqm group. I'm not familiar with the syntax for Linux, but on the Solaris platform, the entry in /etc/group should look something like this:
|
|
Back to top |
|
 |
Anirud |
Posted: Mon Dec 20, 2004 11:54 am Post subject: |
|
|
 Master
Joined: 12 Feb 2004 Posts: 285 Location: Vermont
|
Set LD_ASSUME_KERNEL=2.4.19. |
|
Back to top |
|
 |
|