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 » MQ7 server installation fails

Post new topic  Reply to topic Goto page Previous  1, 2
 MQ7 server installation fails « View previous topic :: View next topic » 
Author Message
Vitor
PostPosted: Tue Feb 08, 2011 11:53 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Tue Feb 08, 2011 11:59 am    Post subject: Reply with quote

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
View user's profile Send private message
Philip Morten
PostPosted: Tue Feb 08, 2011 12:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
sandiksk
PostPosted: Tue Feb 08, 2011 12:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
sandiksk
PostPosted: Wed Feb 09, 2011 6:18 am    Post subject: Reply with quote

Centurion

Joined: 08 Jun 2005
Posts: 133

Any suggestion on the above problem.

Thanks
Back to top
View user's profile Send private message
RikBaeten
PostPosted: Wed Mar 30, 2011 9:38 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » MQ7 server installation fails
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.