Author |
Message
|
eric |
Posted: Mon Jan 25, 2010 8:06 am Post subject: MQ uninstallation failing |
|
|
Novice
Joined: 29 Dec 2009 Posts: 17
|
I have installed the MQ 7.0.q on solaris 1o container ..The Installation failed due the read only file system /usr/bin....
ln: cannot create /usr/lib/libimqb23as.so: Read-only file system
ln: cannot create /usr/lib/libimqc23as.so: Read-only file system
ln: cannot create /usr/lib/libimqs23as.so: Read-only file system
ln: cannot create /usr/lib/libmqccics.so: Read-only file system
ln: cannot create /usr/lib/libmqcxa.so: Read-only file system
ln: cannot create /usr/lib/libmqic.so: Read-only file system
ln: cannot create /usr/lib/libmqicb.so: Read-only file system
ln: cannot create /usr/lib/libmqiz.so: Read-only file system
ln: cannot create /usr/lib/libmqjx.so: Read-only file system
ln: cannot create /usr/lib/libmqjxs.so: Read-only file system
ln: cannot create /usr/lib/libmqm.so: Read-only file system
when i tried to uninstall the unsucessful installed s/w it is also failing
The following package is currently installed:
mqm WebSphere MQ for Sun Solaris
(sparcv9) 7.0.1.0
Do you want to remove this package? [y,n,?,q] y
WARNING: Stale lock installed for pkgrm, pkg mqm quit in remove-initial state.
Removing lock.
## Removing installed package instance <mqm>
(A previous attempt may have been unsuccessful.)
This package contains scripts which will be executed with super-user
permission during the process of removing this package.
Do you want to continue with the removal of this package [y,n,?,q] y
## Verifying package <mqm> dependencies in global zone
## Processing package information.
pkgrm: ERROR: bad read of contents file
pkgrm: ERROR: pathname=/usr/bin/addmqinf
pkgrm: ERROR: problem=no link source specified
Please let me know how i can removethe installed MQM s/w so that i can perform fresh installation by providing write access to /usr/bin. |
|
Back to top |
|
 |
RogerLacroix |
Posted: Mon Jan 25, 2010 10:57 am Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Hi,
Did you follow the manual's instructions and log in as root ?
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
eric |
Posted: Tue Jan 26, 2010 2:00 am Post subject: |
|
|
Novice
Joined: 29 Dec 2009 Posts: 17
|
i have installed the MQ using Root in the soalris container where /usr is having Read-Only File System which is the reason of failure of MQ.. Now i want to Uninstallit and i am getting error while i am uninstalling.. Please suggest How i can remove the installed MQ so that i can install an fresh copy of MQ s/w |
|
Back to top |
|
 |
manicminer |
Posted: Tue Jan 26, 2010 5:32 am Post subject: |
|
|
 Disciple
Joined: 11 Jul 2007 Posts: 177
|
You are probably going to have to raise a PMR on this.
I've no idea how you managed to install it "successfully" in the first place with a read-only /usr partition.
the problem looks to be that the uninstall scripts are attempting to read files from the /usr partition, which of course don't exist. _________________ Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime. |
|
Back to top |
|
 |
mvic |
Posted: Tue Jan 26, 2010 5:58 am Post subject: |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
|
Back to top |
|
 |
eric |
Posted: Wed Jan 27, 2010 6:42 am Post subject: |
|
|
Novice
Joined: 29 Dec 2009 Posts: 17
|
Hi Mvic
As i was said that the container that i am going to install was Whole root Zone i carried out the Installation in the view the root which i am using having the write access to the /usr. But after failure messages when i contacted the Solaris admin he confirmed that the container is the spase root...leaving it aside now i want to uninstall the MQM from the container
Problem 3: Attempts to uninstall from non-global zone fail to complete, as access is denied when it tries to remove files from /usr. The non-global zone installation remains in a 'partially installed' state.
Workaround: Retry uninstall to remove entry from package list. Files in /usr will remain untouched.
Can u explain a bit on the work around that was provided for this problem...How to remove MQ with out touching /usr file system.... |
|
Back to top |
|
 |
mvic |
Posted: Wed Jan 27, 2010 7:00 am Post subject: |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
eric wrote: |
Can u explain a bit on the work around that was provided for this problem...How to remove MQ with out touching /usr file system.... |
Sorry, I do not know.
Solaris containers / zones are a bit of a mystery to me.
These error messages you posted look like you may need intervention from your Solaris sys admins:
Code: |
WARNING: Stale lock installed for pkgrm, pkg mqm quit in remove-initial state.
Removing lock.
.
.
.
pkgrm: ERROR: bad read of contents file
pkgrm: ERROR: pathname=/usr/bin/addmqinf
pkgrm: ERROR: problem=no link source specified |
|
|
Back to top |
|
 |
Vitor |
Posted: Wed Jan 27, 2010 7:19 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mvic wrote: |
Solaris containers / zones are a bit of a mystery to me.
|
They're a mystery to everyone.
You'll certainly need to get your admin on board for this. There is some kind of magic which can be applied in this kind of situation which should help you. It helped me when the admin confused whole root & sparse root on me as well...
Don't ask for more details - he didn't say & I didn't ask. I was just glad to finally get WMQ installed where it should have been and working where it needed to be after 3 days of painful effort.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
SAFraser |
Posted: Wed Jan 27, 2010 2:07 pm Post subject: |
|
|
 Shaman
Joined: 22 Oct 2003 Posts: 742 Location: Austin, Texas, USA
|
You've been badly treated by your Solaris admin!
If the sparse container is dedicated to MQ, I would ask that it be removed and restored from image. (I hope your Solaris admin imaged the darn thing.) Then watch your admin's face go sad when you tell him you must do a global zone installation before you can do a sparse zone installation.
If the Solaris admins really want you to do a whole root zone installation, they have to start over with a new zone anyway.
Now if neither of these is true - in other words, you have no choice but to try to salvage the current sparse zone - I would open a PMR....
Good luck. I think zones are rather entertaining, actually.  |
|
Back to top |
|
 |
|