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 » IBM MQ Installation/Configuration Support » Problem uninstalling rpm on linux

Post new topic  Reply to topic
 Problem uninstalling rpm on linux « View previous topic :: View next topic » 
Author Message
decaf
PostPosted: Wed Oct 05, 2005 7:52 am    Post subject: Problem uninstalling rpm on linux Reply with quote

Novice

Joined: 27 Apr 2004
Posts: 12

A team member botched the install of MQ on a SUSE LINUX Enterprise Server 9 (i586) box. We'd like to uninstall and reinstall the product. We're having problems doing an uninstall of CSD08.

lintrf3stg:/opt/mqm # rpm -e MQSeriesMan-U497537-5.3.0-8
ERROR: Failed to clean System V IPC Resources
Please ensure no WebSphere MQ processes are running and
run /opt/mqm/bin/amqiclen -x as a root user
before removing this maintenance package
error: %preun(MQSeriesMan-U497537-5.3.0- scriptlet failed, exit status 1

When I try running /opt/mqm/bin/amqiclen -x as a root user and also add the -v option, I get the following error:

lintrf3stg:/opt/mqm # /opt/mqm/bin/amqiclen -x -v
Unable to get subpools lock. mqs.ini does not exist.
lintrf3stg:/opt/mqm #

I can't uninstall at this point.

Any ideas?
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Oct 05, 2005 8:16 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Did you try to remove the shared segments manually (ipcs and ipcrm)??
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
decaf
PostPosted: Thu Oct 06, 2005 5:54 am    Post subject: Reply with quote

Novice

Joined: 27 Apr 2004
Posts: 12

Yes, I did try the manual method, but ipcs didn't show any resources. Here's a technote IBM support pointed me to, and it did solve the problem.

Problem
You are trying to apply a Fix Pack (formerly CSD) to a WebSphere® MQ v5.3 . The Fix Pack installation fails with the following error:

ERROR: Failed to clean System V IPC Resources. Please run "/opt/mqm/bin/amqiclen -x" as a root user before installing this ptf.

You run "/opt/mqm/bin/amqiclen -x" as a root user as instructed and Fix Pack install still fails. You run "ipcs | grep mqm" and do not find any IPC resources owned by mqm.

Cause
The Fix Pack install relies on the amqiclen utility to ensure WebSphere MQ is not running. It is not clear why the amqiclen utility believes all IPC resources are not cleaned up.

Solution
Create a symbolic link to /usr/bin/true
rename amqiclen

ln -s /usr/bin/true /opt/mqm/bin/amqiclen
or
ln -s /usr/bin/true /usr/mqm/bin/amqiclen


The Fix Pack install script relies on amqiclen to return true in order to continue. /usr/bin/true will always return true to the Fix Pack install script and the Fix Pack installation will continue.
If the Fix Pack install does not install amqiclen then restore the original amqiclen replacing the symbolic link to /usr/bin/true.
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 » IBM MQ Installation/Configuration Support » Problem uninstalling rpm on linux
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.