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 1, 2  Next
 MQ7 server installation fails « View previous topic :: View next topic » 
Author Message
sandiksk
PostPosted: Mon Feb 07, 2011 7:30 am    Post subject: MQ7 server installation fails Reply with quote

Centurion

Joined: 08 Jun 2005
Posts: 133

Hi,
I am trying to Install MQ7 server, on Solaris Sparse zone. I modified the package to remove the usr links and etc...when i try to install i am getting the following error

## Executing checkinstall script.
cp: cannot access /home/mqm/mq7server/mqm/root/opt/mqm/bin/amqiclen
An error has occured while copying amqiclen to /tmp,
please investigate before retrying the installation process
rm: cannot open starting directory: pwd: Permission denied
checkinstall script suspends

Installation of <mqm> was suspended (administration).
No changes were made to the system.


I also tried just installing the package as is without modification and it gives the same error.


Thanks
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Feb 07, 2011 7:43 am    Post subject: Re: MQ7 server installation fails Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sandiksk wrote:
I also tried just installing the package as is without modification and it gives the same error.


Did you review the various documentation regarding installing WMQ on a Solaris Zone?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sandiksk
PostPosted: Mon Feb 07, 2011 7:51 am    Post subject: Reply with quote

Centurion

Joined: 08 Jun 2005
Posts: 133

Hi Vitor,
Thanks for the quick response. Yes i did verify all the instructions for the installation on zones. Infact i was able to install mqclient fine on solaris sparse zone. But this error seems to be something else. Its failing when copying to tmp which is weird considering i am installing with root authority. I tried directly installing wmq without modification expecting errors that it cannot wirte to /usr but it fails before itself in cp to /tmp.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Feb 07, 2011 7:54 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Well sparse zones are more of an art than a science. You've presumably checked that /tmp is mounted & has sufficient space from where you're installing?

Which of the possible zone installation configurations are you attempting?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sandiksk
PostPosted: Mon Feb 07, 2011 8:03 am    Post subject: Reply with quote

Centurion

Joined: 08 Jun 2005
Posts: 133

Yes I did try to manually copy the file myself and was able to do it. /tmp looks fine.
I am trying to install MQ7 on Solaris Sparce zone. I am trying the method where we make changes to the package not to write to /usr.
This is the method "Installing WMQ into a non-global ‘Sparse Root’ zone"
as specified in

http://hursleyonwmq.wordpress.com/2007/03/02/websphere-mq-with-solaris-zones/
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Feb 07, 2011 8:13 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sandiksk wrote:
This is the method "Installing WMQ into a non-global ‘Sparse Root’ zone"
as specified in

http://hursleyonwmq.wordpress.com/2007/03/02/websphere-mq-with-solaris-zones/


So you can manually unpack to /tmp (as per step one of the link) but the
pkgadd -d (step 10) fails as you indicate?[/code]
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sandiksk
PostPosted: Mon Feb 07, 2011 12:20 pm    Post subject: Reply with quote

Centurion

Joined: 08 Jun 2005
Posts: 133

Yes. I am able to copy, untar..do all the changes in tmp..but while installing its failing.

## Executing checkinstall script.
cp: cannot access /tmp/mqserver/mqm/root/opt/mqm/bin/amqiclen
An error has occured while copying amqiclen to /tmp,
please investigate before retrying the installation process
rm: Unable to remove directory /tmp/mq_license/license: File exists
rm: Unable to remove directory /tmp/mq_license: File exists
checkinstall script suspends
Installation of <mqm> was suspended (administration).
No changes were made to the system.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Feb 07, 2011 12:55 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sandiksk wrote:
Yes. I am able to copy, untar..do all the changes in tmp..but while installing its failing.


Umph.

I'd speak to the box admins. That looks a lot like the cp command failing (or returning a non-zero code) and that smacks of OS tomfoolery. Of which there's a lot in a zoned Solaris box.

Perhaps someone with more experience of zones will be along later. Last time I tried this was v6 and not that kind of install (I have a faint memory we tried this & couldn't get it to work so did it another way, but it was 3 years and a lot of sites back. It all blurs.)
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Feb 07, 2011 1:32 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

That looks to me like there's a file in the license directory that is unexpected (and thus has not been deleted), or can't be removed because of odd permissions, and thus the directory itself can't be removed.
Back to top
View user's profile Send private message
sandiksk
PostPosted: Mon Feb 07, 2011 1:40 pm    Post subject: Reply with quote

Centurion

Joined: 08 Jun 2005
Posts: 133

If i am not wrong MQ only creates that directory when we accept the license. So if it can't delete not sure what the problem could be. I mailed our SA to look into it. Lets see.
Back to top
View user's profile Send private message
Philip Morten
PostPosted: Tue Feb 08, 2011 7:21 am    Post subject: Reply with quote

Master

Joined: 07 Mar 2002
Posts: 230
Location: Hursley Park

sandiksk wrote:
Hi Vitor,
Thanks for the quick response. Yes i did verify all the instructions for the installation on zones. Infact i was able to install mqclient fine on solaris sparse zone. But this error seems to be something else. Its failing when copying to tmp which is weird considering i am installing with root authority. I tried directly installing wmq without modification expecting errors that it cannot wirte to /usr but it fails before itself in cp to /tmp.

Although you are running pkgadd as root, pkgadd itself runs some of the install scripts as user 'nobody', 'noaccess', or 'install'. If you run the install using pkgadd -v ( and save the output ) you should be able to see what user the checkinstall script is being run with and also the actual error code from the copy command.
_________________
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 11:30 am    Post subject: Reply with quote

Centurion

Joined: 08 Jun 2005
Posts: 133

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

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: 3

Processing package instance <mqm> from </tmp/mqserver>

WebSphere MQ for Sun Solaris(sparcv9) 6.0.0.0

Licensed Materials - Property of IBM


(C) Copyright IBM Corporation 1994, 2005 All rights reserved.



rc=0
tmpfile=/tmp/request.22390
+ sed -e s/#.*// -e /^[ ]*$/d
+ cat
#
# Note that only this list of options differs
# between the client and server request scripts.
#
base runtime server java keyman:WebSphere MQ Server
man:Man pages
base runtime samples:Sample programs
base runtime sol_client java keyman:WebSphere MQ Client libraries ( including Java, JMS and SOAP support)
javasdk runtime:IBM® 32-bit SDK for Solaris(TM), Java(TM) 2 Technology Edition, Version 1.4.2
runtime sol_client java txclient:WebSphere MQ Extended Transactional Client
Es_ES:Spanish message catalog
Fr_FR:French message catalog
De_DE:German message catalog
Ja_JP:Japanese message catalog
It_IT:Italian message catalog
Pt_BR:Brazilian Portuguese message catalog
Zh_CN:Traditional Chinese message catalog
Zh_TW:Simplified Chinese message catalog
Ko_KR:Korean message catalog
+ wc -l
+ cat /tmp/request.22390
maxopt= 15
INSTALL_CLASSES=none
+ [ mqm ]
+ grep -w mqm
+ pkginfo
+ [ 1 = 0 ]
+ [ 0 -eq 0 ]
+ grep not found
+ logins -l mqm
+ [ 1 -eq 0 ]
+ [ 0 -eq 0 ]
+ grep not found
+ logins -g mqm
+ [ 1 -eq 0 ]
+ [ 0 -eq 0 ]
+ [ ! -r /tmp/mq_license/license/status.dat ]
+ [ 0 -eq 0 ]
+ grep /var/mqm
+ mount
+ [ 0 -ne 0 ]
+ [ 0 -eq 0 ]
completed=0
+ [ 0 -eq 0 -a 0 -eq 0 ]
completed=1
+ awk -F: \
BEGIN { print "" } \
{ printf( "\t\t%2s) %s\n", NR, $2 ) } \
END {printf("\n\tEnter options to be installed [1-%s,all,q,?] ",NR)}\
/tmp/request.22390

1) WebSphere MQ Server
2) Man pages
3) Sample programs
4) WebSphere MQ Client libraries ( including Java, JMS and SOAP support)
5) IBM® 32-bit SDK for Solaris(TM), Java(TM) 2 Technology Edition, Version 1.4.2
6) WebSphere MQ Extended Transactional Client
7) Spanish message catalog
French message catalog
9) German message catalog
10) Japanese message catalog
11) Italian message catalog
12) Brazilian Portuguese message catalog
13) Traditional Chinese message catalog
14) Simplified Chinese message catalog
15) Korean message catalog

Enter options to be installed [1-15,all,q,?] + read line
1,3,4
+ [ -z 1,3,4 ]
+ sed s/,/ /g
+ echo 1,3,4
+ [ 1 -le 15 -a 1 -gt 0 ]
awkcmd=awk -F: 'NR == 1 { print $1 }' /tmp/request.22390
+ sh -c awk -F: 'NR == 1 { print $1 }' /tmp/request.22390
optclass=base runtime server java keyman
INSTALL_CLASSES=none base runtime server java keyman
+ [ 3 -le 15 -a 3 -gt 0 ]
awkcmd=awk -F: 'NR == 3 { print $1 }' /tmp/request.22390
+ sh -c awk -F: 'NR == 3 { print $1 }' /tmp/request.22390
optclass=base runtime samples
INSTALL_CLASSES=none base runtime server java keyman base runtime samples
+ [ 4 -le 15 -a 4 -gt 0 ]
awkcmd=awk -F: 'NR == 4 { print $1 }' /tmp/request.22390
+ sh -c awk -F: 'NR == 4 { print $1 }' /tmp/request.22390
optclass=base runtime sol_client java keyman
INSTALL_CLASSES=none base runtime server java keyman base runtime samples base runtime sol_client java keyman
+ [ 1 -eq 0 -a 0 -eq 0 ]
+ echo none base runtime server java keyman base runtime samples base runtime sol_client java keyman
+ awk { for ( i = 1; i <= NF; i ++ ) print $i }
+ awk { printf( "%s ", $0 ) }
+ sort
+ uniq
INSTALL_CLASSES=base java keyman none runtime samples server sol_client
+ [ 0 -eq 0 ]
+ echo CLASSES=base java keyman none runtime samples server sol_client
+ [ 0 -eq 0 ]
+ [ -z base java keyman none runtime samples server sol_client ]
+ [ 0 -ne 0 ]
+ rm -f /tmp/request.22390
+ exit 0
## Executing checkinstall script.
rc=0
+ grep -w sparcv9
+ /usr/bin/isalist
ISALIST=sparcv9+vis2 sparcv9+vis sparcv9 sparcv8plus+vis2 sparcv8plus+vis sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc
+ [ 0 -ne 0 ]
+ cut -f2 -d.
+ /usr/bin/uname -r
OSRel=10
+ cut -f1 -d.
+ /usr/bin/uname -r
OSVer=5
+ [ 5 -lt 5 ]
+ [ 5 -eq 5 ]
+ [ 10 -lt 8 ]
+ /usr/bin/pkginfo mqjava
+ [ 1 -eq 0 ]
+ [ -f /var/mqm/mqs.ini ]
+ /usr/bin/cp /tmp/mqserver/mqm/root/opt/mqm/bin/amqiclen /tmp
cp: cannot access /tmp/mqserver/mqm/root/opt/mqm/bin/amqiclen
+ [ 2 -ne 0 ]
rc=3
+ cat
An error has occured while copying amqiclen to /tmp,
please investigate before retrying the installation process
An error has occured while copying amqiclen to /tmp,
please investigate before retrying the installation process
+ rm -Rf /tmp/license
+ exit 3
checkinstall script suspends

Installation of <mqm> was suspended (administration).
No changes were made to the system.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Feb 08, 2011 11:37 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Is that *really* MQ version 6.0.0.0 installer that you're trying to use?

There's been at least one full manufacturing refresh since then, if not three or four.

Make sure you're using a recently downloaded package from Passport Advantage.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Feb 08, 2011 11:49 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
Is that *really* MQ version 6.0.0.0 installer that you're trying to use?


Especially as, according to the thread title, you're trying to install v7...
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sandiksk
PostPosted: Tue Feb 08, 2011 11:50 am    Post subject: Reply with quote

Centurion

Joined: 08 Jun 2005
Posts: 133

Well sorry I tried both the MQ7 and MQ6. After getting error with MQ7, i also tried MQ6. I was getting the same error for both.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 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.