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 » General Discussion » Problem while deleting Queue managers

Post new topic  Reply to topic
 Problem while deleting Queue managers « View previous topic :: View next topic » 
Author Message
Srinivasan
PostPosted: Fri Sep 30, 2005 4:18 am    Post subject: Problem while deleting Queue managers Reply with quote

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
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Fri Sep 30, 2005 4:24 am    Post subject: Reply with quote

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
View user's profile Send private message
Michael Dag
PostPosted: Fri Sep 30, 2005 10:23 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
csmith28
PostPosted: Fri Sep 30, 2005 10:55 am    Post subject: Reply with quote

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
View user's profile Send private message
Srinivasan
PostPosted: Fri Sep 30, 2005 10:55 pm    Post subject: problem with deletion of Queue managers Reply with quote

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
View user's profile Send private message Yahoo Messenger
hopsala
PostPosted: Sat Oct 01, 2005 12:33 am    Post subject: Re: Problem while deleting Queue managers Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

Before contacting IBM support, do what jeff said - clean shared memory.
Back to top
View user's profile Send private message
ramires
PostPosted: Mon Oct 03, 2005 2:05 am    Post subject: Reply with quote

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
View user's profile Send private message
mqrules
PostPosted: Mon Oct 03, 2005 4:38 pm    Post subject: Reply with quote

Centurion

Joined: 01 Jun 2005
Posts: 100
Location: US

Sirinivasan,

You may want to check out the following link:

http://middleware.its.state.nc.us/middleware/Documentation/en_US/htm/amqzag03/amqzag037u.htm

Best regards,
mr
Back to top
View user's profile Send private message
Geronimo
PostPosted: Thu Nov 17, 2005 7:53 am    Post subject: Reply with quote

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
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 » General Discussion » Problem while deleting Queue managers
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.