Author |
Message
|
Srinivasan |
Posted: Fri Sep 30, 2005 4:18 am Post subject: Problem while deleting Queue managers |
|
|
Apprentice
Joined: 12 Jul 2005 Posts: 41 Location: Chennai
|
Hi,
We had about 5 Queue managers in AS/400. in these 2 had some problems and also these were not used for a long time. So I started deleting them. It gave me an error message saying Incomplete dfeletion.
Version of MQ is v5.2 and the following is the error message.
" Message . . . . : An internal WebSphere MQ error has occurred (Failed to Delete File: /QIBM/UserData/mqm/qmgrs/SYSCMQMGR/&ipcc/shmem/shm.6 [rc=-1 errno=3401] Permission denied.)
Cause . . . . . : MQ detected an unexpected error when calling the operating system. The MQ error recording routine has been called. Recovery . . . :
Use the standard facilities supplied with your system to record the problem identifier, and to save the generated output files. Contact your IBM support center. Do not discard these files until the problem has been resolved.
Technical Description . . . . . . . . : The return code from the call to
OS/400 was Failed to Delete File:
/QIBM/UserData/mqm/qmgrs/SYSCMQMGR/&ipcc/shmem/shm.6 [rc=-1 errno=3401]
Permission denied.. "
Can anybody help me out?
I dont have any FDC's to look into.
Regards,
Srinivasan _________________ Srinivasan for MQ discussion |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Sep 30, 2005 4:24 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Is the qmgr still running?
Can you use ipcs or amqiclen to remove shared memory? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Michael Dag |
Posted: Fri Sep 30, 2005 10:23 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
I didn't even knew an AS/400 had shared memory like on unix but apparently it does... _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
csmith28 |
Posted: Fri Sep 30, 2005 10:55 am Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
Michael Dag wrote: |
I didn't even knew an AS/400 had shared memory like on unix but apparently it does... |
Nor did I but if the MQManager in question is not running it sounds as if it may still have some stale semop connections. These connections are are causing a sharing violation that prevented the files named from being deleted. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
Srinivasan |
Posted: Fri Sep 30, 2005 10:55 pm Post subject: problem with deletion of Queue managers |
|
|
Apprentice
Joined: 12 Jul 2005 Posts: 41 Location: Chennai
|
Hi,
Queue manager is not running.
Do I have to clear all the damaged Shared memory or else do i have to contact IBM Support?
I need your suggestion.
Regards,
Srinivasan _________________ Srinivasan for MQ discussion |
|
Back to top |
|
 |
hopsala |
Posted: Sat Oct 01, 2005 12:33 am Post subject: Re: Problem while deleting Queue managers |
|
|
 Guardian
Joined: 24 Sep 2004 Posts: 960
|
Before contacting IBM support, do what jeff said - clean shared memory. |
|
Back to top |
|
 |
ramires |
Posted: Mon Oct 03, 2005 2:05 am Post subject: |
|
|
Knight
Joined: 24 Jun 2001 Posts: 523 Location: Portugal - Lisboa
|
This is from the "Quick Bginnings" for iseries. hope it helps.
QSHRMEMCTL
Ensure that the QSHRMEMCTL system value is set to 1 (Allowed).
A value of 1 is used in environments where pointers can be shared amongst
programs between different jobs.
Chapter 1. WebSphere MQ Server for iSeries 9
MQ requires this setting to use the shared memory APIs shmat and shmget and
to share its pointers across jobs.
If it is not set correctly initialization of Common Services will fail with system
return code ″3401″ (Permission denied), and commands such as CRTMQM,
STRMQM, ENDMQM, TRCMQM will fail.
Regards |
|
Back to top |
|
 |
mqrules |
Posted: Mon Oct 03, 2005 4:38 pm Post subject: |
|
|
Centurion
Joined: 01 Jun 2005 Posts: 100 Location: US
|
|
Back to top |
|
 |
Geronimo |
Posted: Thu Nov 17, 2005 7:53 am Post subject: |
|
|
Newbie
Joined: 17 Nov 2005 Posts: 4
|
Michael Dag wrote: |
I didn't even knew an AS/400 had shared memory like on unix but apparently it does... |
Actually, there are shared memory, semaphores and mutexes (and some other unix concepts) on OS/400, but they are generally not directly accessible using native command.
They can be managed either from QSH (shell mode) or by calling APIs from programs, generally C programs for API like shmat(), shmctl(), shmdet(), but some Qxxxxx APIs are available for other programming languages, ex(QP0ZOLSM for Open List of Semaphores). |
|
Back to top |
|
 |
|