Author |
Message
|
balaji83it |
Posted: Thu Aug 25, 2011 3:30 am Post subject: UNABLE TO INSTALL MQ FIX PACK 7.0.1-5 |
|
|
Acolyte
Joined: 20 Jul 2007 Posts: 72
|
Hello All,
We have MQ 7.0.1-2 on a Linux server. Now we want to apply the fix pack 5 on this.
And when I try to install the rpms, it says already installed and throws an error.
So I tried to install the rpms with --nodeps option. Then I was able to install some rpms.
But still Iam not able to install the following rpms:
75.MQSeriesSDK-U839627-7.0.1-5.x86_64.rpm
10.MQSeriesRuntime-U839627-7.0.1-5.x86_64.rpm
20.MQSeriesServer-U839627-7.0.1-5.x86_64.rpm
Also "dspmqver" still displays the older version of 7.0.1-2
Can someone throw some light on this? where am I doing wrong
I followed all instrcutions as per the readme.
Advanced Thanks
Balaji. |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Aug 25, 2011 4:16 am Post subject: Re: UNABLE TO INSTALL MQ FIX PACK 7.0.1-5 |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
balaji83it wrote: |
75.MQSeriesSDK-U839627-7.0.1-5.x86_64.rpm
10.MQSeriesRuntime-U839627-7.0.1-5.x86_64.rpm
20.MQSeriesServer-U839627-7.0.1-5.x86_64.rpm
|
What are the funny numbers in front of the MQSeries part of the rpm filename
What command(s) did you use when attempting the update?
What does the output from
Code: |
rpm -qa | grep MQSeries
|
show? _________________ 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 |
|
 |
balaji83it |
Posted: Thu Aug 25, 2011 4:33 am Post subject: |
|
|
Acolyte
Joined: 20 Jul 2007 Posts: 72
|
Those are simply some random numbers. pls ignore them.
rpm -qa|grep MQ
And the output is as follows:
MQSeriesJRE-7.0.1-0
MQSeriesSamples-7.0.1-0
MQSeriesMan-U829676-7.0.1-2
MQSeriesJRE-U829676-7.0.1-2
MQSeriesSamples-U829676-7.0.1-2
MQSeriesRuntime-7.0.1-0
MQSeriesConfig-7.0.1-0
MQSeriesServer-7.0.1-0
MQSeriesConfig-U829676-7.0.1-2
MQSeriesSDK-U829676-7.0.1-2
MQSeriesClient-7.0.1-0
MQSeriesJava-7.0.1-0
MQSeriesRuntime-U829676-7.0.1-2
MQSeriesJava-U829676-7.0.1-2
MQSeriesKeyMan-7.0.1-0
MQSeriesServer-U829676-7.0.1-2
MQSeriesMan-7.0.1-0
MQSeriesClient-U829676-7.0.1-2
MQSeriesKeyMan-U829676-7.0.1-2
MQSeriesEclipseSDK33-7.0.1-0
MQSeriesSDK-7.0.1-0
Thanks,
Balaji. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Aug 25, 2011 4:50 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
So you did not originally install the -X86_64 rpms, so you can't then fixpack them.
So you can go back to your 7.0.1.0 media and install the 64bit RPMs and then install the 7.0.1.5 FP on top of those (skipping the 7.0.1.2)... or you can just ignore the 64bit RPMs since you've been doing fine without them. |
|
Back to top |
|
 |
Mr Butcher |
Posted: Thu Aug 25, 2011 4:51 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
adding a sort (rpm -qa | grep MQ |sort) makes it a bit more readable.
however, looks like there is FP2 installed.
you said you used nodeps and some of the new rpms are installed, but i dont see any.
could you please show us a list of the rpms and the command you try to install them (and of course the output) ?!? _________________ Regards, Butcher |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Aug 25, 2011 4:59 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
I recommend using 'yum' to install the WMQ rpms.
Code: |
yum install MQ*.rpm --nogpgcheck
|
some of the rpms (even in the 64bit kit) are 32bit and actually have some 32bit dependencies. Using yum will install them at the same time.
One of them is libXp.i686 (or it might be libXp.i386, i can't remember which at the moment)
If there is more than one system to be installed, I recommend creating a repository and installing the software from there. You can easily create a new repo for each fixpack and update accordingly but that is a little beyond the scope of this topic.
{I knew my RHCE would come in handy one day}  _________________ 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 |
|
 |
balaji83it |
Posted: Thu Aug 25, 2011 5:14 am Post subject: |
|
|
Acolyte
Joined: 20 Jul 2007 Posts: 72
|
@mqjeff,
We have installed-X86_64 rpms in base install also.
@Butcher,
You are correct. I uninstalled the partial FP 5 rpms as they were not properly installed.
The one I posted is of only FP2. sorry for the confusion.
@smdavies,
I need to check out this option. We need some time as we have some limitations here for running various commands.
Thanks all for your valuable suggestions.
Balaji. |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Aug 25, 2011 5:26 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
balaji83it wrote: |
I need to check out this option. We need some time as we have some limitations here for running various commands.
|
you are running as 'root' and you are trying to install a software package so I'd be interested in knowing what limirations have been imposed on you.
'Yum' uses 'rpm' underneath but it is a far better package manager. Besides, using yum to install WMQ stop you getting the notice 'rpm db modified outside of yum' every time you run yum in the future. _________________ 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 |
|
 |
balaji83it |
Posted: Fri Aug 26, 2011 1:38 am Post subject: |
|
|
Acolyte
Joined: 20 Jul 2007 Posts: 72
|
Hello,
Iam getting the following error while running the following command
Code: |
$ yum install 10.MQSeriesRuntime-U839627-7.0.1-5.x86_64.rpm --nogpgcheck |
Total size: 19 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
ERROR: This maintenance package for component MQSeriesRuntime
has already been applied
Aborting package install
error: %pre(MQSeriesRuntime-U839627-7.0.1-5.x86_64) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping MQSeriesRuntime-U839627-7.0.1-5
Installed:
MQSeriesRuntime-U839627.x86_64 0:7.0.1-5
|
|
Back to top |
|
 |
balaji83it |
Posted: Fri Aug 26, 2011 1:40 am Post subject: |
|
|
Acolyte
Joined: 20 Jul 2007 Posts: 72
|
Also for remaining rpms, Iam getting the following errors.
Examining 75.MQSeriesSDK-U839627-7.0.1-5.x86_64.rpm: MQSeriesSDK-U839627-7.0.1-5.x86_64
Marking 75.MQSeriesSDK-U839627-7.0.1-5.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package MQSeriesSDK-U839627.x86_64 0:7.0.1-5 set to be updated
--> Processing Dependency: MQSeriesRuntime-U839627 >= 7.0.1-5 for package: MQSeriesSDK-U839627
--> Finished Dependency Resolution
MQSeriesSDK-U839627-7.0.1-5.x86_64 from /75.MQSeriesSDK-U839627-7.0.1-5.x86_64 has depsolving problems
--> Missing Dependency: MQSeriesRuntime-U839627 >= 7.0.1-5 is needed by package MQSeriesSDK-U839627-7.0.1-5.x86_64 (/75.MQSeriesSDK-U839627-7.0.1-5.x86_64)
Error: Missing Dependency: MQSeriesRuntime-U839627 >= 7.0.1-5 is needed by package MQSeriesSDK-U839627-7.0.1-5.x86_64 (/75.MQSeriesSDK-U839627-7.0.1-5.x86_64) |
|
Back to top |
|
 |
Mr Butcher |
Posted: Fri Aug 26, 2011 2:37 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
re-read mqjeffs reply above. you cant update what you havnt installed _________________ Regards, Butcher |
|
Back to top |
|
 |
balaji83it |
Posted: Fri Aug 26, 2011 3:17 am Post subject: |
|
|
Acolyte
Joined: 20 Jul 2007 Posts: 72
|
Now Iam able to install all the rpms one after another using --noscripts option as given in the forums link given below:
http://www.mqseries.net/phpBB2/viewtopic.php?p=180010&sid=b76e7e178c837a29d2d9f0fcfbdde180
Now I have another problem. When I give dspmqver, it still shows the older version.
Name: WebSphere MQ
Version: 7.0.1.2
CMVC level: p701-102-100504
BuildType: IKAP - (Production)
Any ideas whether the upgrade was success or not? Any logs to look?
Thanks
Balaji. |
|
Back to top |
|
 |
Mr Butcher |
Posted: Fri Aug 26, 2011 3:47 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
in the thread you are refering to the issue was to uninstall stuff. you are trying to install. dont know if that really matches. in addition, what does --noscript do? did you check that or just try? no preinstall stuff, no post install stuff and so on. i dont know whats all included with the mqm rpm scripts, but if some of the functions are to copy stuff over to the mq runtime, then its clear to me why dspmqver shows that version.
if i am in your situation, i would uninstall all, clear all runtime directories and start from scratch. so far for mq base and fixpak installation, the commands i found in the related readmes worked fine. _________________ Regards, Butcher |
|
Back to top |
|
 |
balaji83it |
Posted: Fri Aug 26, 2011 4:20 am Post subject: |
|
|
Acolyte
Joined: 20 Jul 2007 Posts: 72
|
Finally I got it solved.
It was my mistake anyway.
The problem was that by mistake we ran dosunix command on all the rpm files.
When we did a fresh untar, everything worked fine.
This too is a new learning.
Iam sorry for make you spend your time.
Thank you all for your help.
Balaji |
|
Back to top |
|
 |
Philip_Morten |
Posted: Sat Aug 27, 2011 1:18 am Post subject: |
|
|
Newbie
Joined: 11 Dec 2006 Posts: 5 Location: Hursley Park
|
balaji83it wrote: |
Now Iam able to install all the rpms one after another using --noscripts option as given in the forums link given below:
|
This will not work - the actually updating of the code in /opt/mqm is done by the scripts. _________________ --
Philip Morten |
|
Back to top |
|
 |
|