|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
MQ7 server installation fails |
« View previous topic :: View next topic » |
Author |
Message
|
Vitor |
Posted: Tue Feb 08, 2011 11:53 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
sandiksk wrote: |
Well sorry I tried both the MQ7 and MQ6. |
Don't try and confuse us with your mind games. It's only going to work...  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Feb 08, 2011 11:59 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
One of my associates from the site where I did the sparse zone install has just emailed me. He's also put a few sites between him and there but he shares my recolection that we tried this and gave up because we couldn't get it to work; regrettably neither of us can remember what wasn't working, just long nights, bad coffee (and cheap hotel rooms - very hard to get a decent room in that part of London) and a decision after a few weeks that we'd try something else.
But your error does not sound that familar quite frankly. If you put a gun to my head I'd say (after I said "oh no, not again") that the install "worked", it was actually running & using the product where our wheels fell off.
Utterly unhelpful to you in your situation I'm afraid, but that's the best information I can give.  _________________ Honesty is the best policy.
Insanity is the best defence.
Last edited by Vitor on Tue Feb 08, 2011 12:33 pm; edited 1 time in total |
|
Back to top |
|
 |
Philip Morten |
Posted: Tue Feb 08, 2011 12:11 pm Post subject: |
|
|
Master
Joined: 07 Mar 2002 Posts: 230 Location: Hursley Park
|
sandiksk wrote: |
Hi Philip,
Thanks for your input. I tried running -v in the pkgadd and ran it. Here is the output.
ROOT@xxxxxxxx:/tmp/mqserver # pkgadd -v -d .
The following packages are available:
1 gsk7bas Certificate and SSL Base Runtime (gsk7bas)
(sparc) 7.0.3.15
2 gsk7bas64 Certificate and SSL Base Runtime (gsk7bas64)
(sparcv9) 7.0.3.15
3 mqm WebSphere MQ for Sun Solaris
(sparcv9) 6.0.0.0
|
Aah, I hadn't realised that this was Version 6 , there is additional diagnostic information in the Version 7 checkinstall script.
However I am sure that the reason for this is that the checkinstall script is running as the non-privileged user 'noaccess' or
'nobody' which is unable to read the /tmp/mqserver/mqm/root/opt/mqm/bin/amqiclen file. The checkinstall script is run by
pkgadd as user 'install' if that user exists otherwise as user 'nobody' or 'noaccess' ( which one depends on the level of Solaris,
there have been a number of patches in this area.) . You have a couple of options to proceed:
Change the permisssions on the /tmp/mqserver directory tree so that the noaccess or nobody user has read access.
Create a user 'install' that has access to that directory structure. _________________ Philip Morten
The postings on this site are my own and do not necessarily represent IBM's positions, strategies or opinions. |
|
Back to top |
|
 |
sandiksk |
Posted: Tue Feb 08, 2011 12:44 pm Post subject: |
|
|
Centurion
Joined: 08 Jun 2005 Posts: 133
|
Woww Thanks Philip, That actually worked. I changed the directory permission of mqinstall directory and it went futher in the installation process. Now the problem is i expected it to Fail in a Soalris sparse zone(as i was trying to install the original package) but continued and said partially failed. When i try to uninstall its failing
ROOT@xxxxxx:/var/mqm # pkgrm mqm
The following package is currently installed:
mqm WebSphere MQ for Sun Solaris
(sparcv9) 7.0.1.3
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
Is there a way i can uninstall it or totally remove the directories and restart from scratch |
|
Back to top |
|
 |
sandiksk |
Posted: Wed Feb 09, 2011 6:18 am Post subject: |
|
|
Centurion
Joined: 08 Jun 2005 Posts: 133
|
Any suggestion on the above problem.
Thanks |
|
Back to top |
|
 |
RikBaeten |
Posted: Wed Mar 30, 2011 9:38 am Post subject: |
|
|
 Novice
Joined: 26 Feb 2007 Posts: 19
|
Quote: |
## 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
|
In fact these kind of errors are caused by a WMQ packaging bugs (see http://www-01.ibm.com/support/docview.wss?uid=swg21317904 for more info). During a fixpack certain symbolic links have become actual files.
The solution is to manually cleanup the "Solaris package file index" (/var/sadm/install/contents). You should grep this file for the package you are uninstalling. For example:
Code: |
grep mqm-06-00-02-04 /var/sadm/install/contents|grep " s " |
This will give you all symbolic links part of the package. Now check which links are no links actually (real symbolic links are of the form filename=filename) and replace the "s" by "?". Example:
Code: |
/opt/mqm/ssl/lib/sparc/client/libjsig.so s none -mqm-06-00-02-04 +mqm |
should be replaced by
Code: |
/opt/mqm/ssl/lib/sparc/client/libjsig.so ? none -mqm-06-00-02-04 +mqm |
After this run pkgrm again and it should work.  |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|