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 » Solved: problem installing 6.0.2.8 on Solaris

Post new topic  Reply to topic
 Solved: problem installing 6.0.2.8 on Solaris « View previous topic :: View next topic » 
Author Message
gunter
PostPosted: Tue Nov 03, 2009 4:52 am    Post subject: Solved: problem installing 6.0.2.8 on Solaris Reply with quote

Partisan

Joined: 21 Jan 2004
Posts: 307
Location: Germany, Frankfurt

I tried to install Fix 6.0.2.8.
After stopping all queuemanagers I found two shells (sh) and two zombies.
I stopped the shells with kill -9 and the process list was clean.

While installing I got the message that there are used IPC ressources.
I used amqiclen, but I still get this message.

Quote:
# pkgadd -Gd mqm-U825511.img
...

## Executing checkinstall script.
ERROR: Detected System V IPC Resources that are in use.
Stop all WebSphere MQ processes before installing this
package.
checkinstall script suspends

Installation of <mqm-06-00-02-08> was suspended (administration).
No changes were made to the system.

# ipcs -a
IPC status from <running system> as of Tue Nov 3 13:33:54 MET 2009
T ID KEY MODE OWNER GROUP CREATOR CGROUP CBYTES QNUM QBYTES LSPID LRPID STIME RTIME CTIME
Message Queues:
T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME DTIME CTIME
Shared Memory:
T ID KEY MODE OWNER GROUP CREATOR CGROUP NSEMS OTIME CTIME
Semaphores:

# ps -u mqm
PID TTY TIME CMD


Any idea?

Thanks

Gunter


Solution:
- no access rights for other on /var/mqm
- checkinstall is called by user noaccess and needs access to /var/mqm

This happend on two boxes. I installed FixPack 6 and 7 before and have no idea when and who changed the permission.
_________________
Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3
Back to top
View user's profile Send private message
abhijit_mishra
PostPosted: Mon Nov 16, 2009 11:51 pm    Post subject: Reply with quote

Apprentice

Joined: 21 Aug 2009
Posts: 35
Location: India

This seems to be a problem with the amqiclen component that comes with MQ.

Can you try this.

1: /opt/mqm/bin/amqiclen -c -v (try cleaning all IPC processes if any )

2: mv /opt/mqm/bin/amqiclen /opt/mqm/bin/amqiclen.bak (rename the amqiclen )

3: Follow the normal pkgadd now.

Hope this will help.
Back to top
View user's profile Send private message
mvic
PostPosted: Tue Nov 17, 2009 7:40 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

If you prevent amqiclen from running or run it manually in the wrong way you can harm your MQ data, so please resist any suggestions to run it unless IBM advises it thru a PMR.

Anyhow the OP's post shows there were no IPC resources (message queues, shared memory, semaphore sets) in existence. So there is nothing for amqiclen to clean up.

I suggest to open a PMR for this and ask for someone to look at a "truss" system trace of the failure.

Example truss options, which will give LOTS of output in a file called tracefile.txt:

Code:
truss -aefld -u"*::*" -wall -otracefile.txt PROGRAM ARGS...
Back to top
View user's profile Send private message
gunter
PostPosted: Tue Nov 17, 2009 8:30 am    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2004
Posts: 307
Location: Germany, Frankfurt

I edited the post a few days ago. The Problem is already solved, the only question is "Who or what changed the access rights?".

pkgadd calls checkinstall by the user noaccess. checkinstall calls amqiclen and needs read access to the directory tree /var/mqm. If not it returns with 255 and the installation will be aborted.

Quote:
1: /opt/mqm/bin/amqiclen -c -v (try cleaning all IPC processes if any )

amqiclen -x is the recommended way to remove open ressources if there is no process running.

Usage: /opt/mqm/bin/amqiclen {-c | -x} -c = check -x = destroy
[-m <qmgr>] -m = queue manager.
[-p <prefix>] qmgrs directory Prefix (/var/mqm)
[-q] queue manager subpool
[-i] IPCC subpool
[-o] persistent queue manager subpool
[-t] trace control
[-s] subpools lock
[-c] check only
[-F] Force (deleted active segments)
[-v] verbose
[-h] headings
[-d] display remaining resources

Thanks

Gunter
_________________
Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3
Back to top
View user's profile Send private message
mvic
PostPosted: Tue Nov 17, 2009 9:05 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

gunter wrote:
I edited the post a few days ago. The Problem is already solved, the only question is "Who or what changed the access rights?".

Thanks for responding. I didn't notice that the post had been updated.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Solved: problem installing 6.0.2.8 on Solaris
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.