Author |
Message
|
gunter |
Posted: Tue Nov 03, 2009 4:52 am Post subject: Solved: problem installing 6.0.2.8 on Solaris |
|
|
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 |
|
 |
abhijit_mishra |
Posted: Mon Nov 16, 2009 11:51 pm Post subject: |
|
|
 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 |
|
 |
mvic |
Posted: Tue Nov 17, 2009 7:40 am Post subject: |
|
|
 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 |
|
 |
gunter |
Posted: Tue Nov 17, 2009 8:30 am Post subject: |
|
|
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 |
|
 |
mvic |
Posted: Tue Nov 17, 2009 9:05 am Post subject: |
|
|
 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 |
|
 |
|