Author |
Message
|
ITP_MQ_TO |
Posted: Thu Aug 31, 2006 7:35 am Post subject: MQ v6.0 on Solaris 10 installation error |
|
|
Newbie
Joined: 22 Jun 2006 Posts: 8
|
Hello,
I tried installing MQ v.6.0 on a Solaris 10 server. I tried to do a pkgadd -d <pkgname> and got the following error:
[/downloads/mqm ] pkgadd -d p000-L050524.img
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 </downloads/mqm/p000-L050524.img>
WebSphere MQ for Sun Solaris(sparcv9) 6.0.0.0
Licensed Materials - Property of IBM
5724-H72
(C) Copyright IBM Corporation 1994, 2005 All rights reserved.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.
/var/tmp//installFVa4Oo/checkinstallIVa4Oo: /tmp/sh74990: cannot create
pkgadd: ERROR: request script did not complete successfully
Installation of <mqm> failed.
No changes were made to the system.
Can anyone help me with this.
Thanks. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Aug 31, 2006 7:36 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
What does "df -k /tmp" show? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
ITP_MQ_TO |
Posted: Thu Aug 31, 2006 7:41 am Post subject: |
|
|
Newbie
Joined: 22 Jun 2006 Posts: 8
|
Here is the diskspace on /tmp:
[/downloads/mqm ] df -k /tmp
Filesystem kbytes used avail capacity Mounted on
swap 15476664 1679080 13797584 11% /tmp
[/downloads/mqm ]
Thanks. |
|
Back to top |
|
 |
bbburson |
Posted: Thu Aug 31, 2006 7:44 am Post subject: |
|
|
Partisan
Joined: 06 Jan 2004 Posts: 378 Location: Nowhere near a queue manager
|
You're running this as root, right? Since there is space available on /tmp it sounds like you don't have permissions to create a file there. Try the install from the root account. |
|
Back to top |
|
 |
wschutz |
Posted: Thu Aug 31, 2006 7:46 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
I thought everone could create files in /tmp .... but you're right, it should be run as "root" _________________ -wayne |
|
Back to top |
|
 |
ITP_MQ_TO |
Posted: Thu Aug 31, 2006 7:59 am Post subject: |
|
|
Newbie
Joined: 22 Jun 2006 Posts: 8
|
I am running as root. It does look like I cannot create a file in this directory. This is very odd indeed.
[/downloads/mqm ] id
uid=0(root) gid=0(root) |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Aug 31, 2006 9:07 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Is it mounted read-only? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Toronto_MQ |
Posted: Thu Aug 31, 2006 9:13 am Post subject: |
|
|
 Master
Joined: 10 Jul 2002 Posts: 263 Location: read my name
|
Not sure if this will help at all, but I had a similar issue a few weeks back, though it was installing client to a Solaris 8 box:
Processing package instance <mqm> from
</mnt/mq60solaris_client/mqclient.img>
WebSphere MQ Client for Sun Solaris
(sparcv9) 6.0.1.0
Licensed Materials - Property of IBM
5724-H72
(C) Copyright IBM Corporation 1994, 2005 All rights reserved.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.
/var/tmp/dstreAAAyhaGRF/mqm/install/request: logins: execute permission
denied
/var/tmp/dstreAAAyhaGRF/mqm/install/request: logins: execute permission
denied
I know it's not exactly the same problem, but it as similar in that it appears that root doesn't have access to something we know it does.
I was running this install as root and outside of the install I had no issues running these commands.
server:/var/tmp/dstreAAAyhaGRF/mqm/install# logins -l mqm
mqm 198 mqm 198 MQ Series Administrator,,,
server:/var/tmp/dstreAAAyhaGRF/mqm/install# logins -g mqm
mqm 198 mqm 198 MQ Series Administrator,,,
Opened a PMR with IBM on this one and though they had me check a lot of things, all of which were already OK:
1) is root a member of mqm?
2) mqm ID and group already exist?
3) check for permissions to /dev/null
4) check if root is umask 22
5) make sure the O/S is running 64-bit
The one thing that ended up solving this problem - and I have no idea why - is our Unix guys created me a new ID called 'install' and gave it superuser privelege. Using this ID, I was able to get past the error.
We've installed MQ (client and/or server) to hundreds of machines, and this was the first time running into this.
So maybe one of the above will help you out.
Cheers
Steve |
|
Back to top |
|
 |
xxx |
Posted: Thu Aug 31, 2006 9:48 am Post subject: |
|
|
Centurion
Joined: 13 Oct 2003 Posts: 137
|
ls -lt /tmp
does it has write permissions ? if not chmod +rwx /tmp
then
cd /tmp ,
touch somefile
if the above command is successful then the install should work |
|
Back to top |
|
 |
ITP_MQ_TO |
Posted: Thu Aug 31, 2006 10:33 am Post subject: |
|
|
Newbie
Joined: 22 Jun 2006 Posts: 8
|
Geez.... it was a permission issue.
/tmp was not owned by root by rather
drwxrwxr-x 15 226 12201 1775 Aug 31 11:17 tmp
I issued the following command chown -R root:root /tmp
and voila it worked.
Thanks for helping me hash this out. |
|
Back to top |
|
 |
|