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 » Failed to get memory segment: shmget

Post new topic  Reply to topic
 Failed to get memory segment: shmget « View previous topic :: View next topic » 
Author Message
hmh
PostPosted: Wed Sep 10, 2008 2:38 am    Post subject: Failed to get memory segment: shmget Reply with quote

Apprentice

Joined: 31 Mar 2006
Posts: 29
Location: Germany

Hello,
Iget the problem, that I can't start more than 3 QMGR on a Solaris 10 System.
It is installed in a zone (like a VM) not in the global.
The defrinition crtmqm works properly, only the start of the 4th. QMGR results in an error.
Any hints?
The error meessages and configuration parameters see below.

MQSeries Queue Management starting.
WebSphere MQ queue manager 'SV0935683' starting.
8 log records accessed on queue manager 'SV0935683' during the log replay phase.
Log replay for queue manager 'SV0935683' complete.
Transaction manager state recovered for queue manager 'SV0935683'.
AMQ6119: An internal WebSphere MQ error has occurred ()

$ dspmqver
Name: WebSphere MQ
Version: 6.0.2.1
CMVC level: p600-201-070307
BuildType: IKAP - (Production)

Solaris Version:
Solaris 10 11/06 s10s_u3wos_10 SPARC
Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 14 November 2006

/etc/project
system:0::::
user.root:2487::::
noproject:2488::::
default:2486::::project.max-shm-memory=(priv,8589934592,deny);project.max-sem-ids=(priv,100,deny);project.max-sem-nsems
=(priv,256,deny);project.max-shm-ids=(priv,100,deny)
group.staff:2486::::

----- amqxfdcx.c : 813 --------------------------------------------------------
09/03/08 13:57:19 - Process(2835.1) User(mqm) Program(amqzxma0_nd)
AMQ6119: An internal WebSphere MQ error has occurred (Failed to get memory
segment: shmget(0x00100347, 176128) [rc=-1 errno=28] No space left on device)

EXPLANATION:
MQ detected an unexpected error when calling the operating system. The MQ error
recording routine has been called.
ACTION:
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.
----- amqxfdcx.c : 768 --------------------------------------------------------
_________________
Michael Hoppe
63067 Offenbach

+49 (0)170 / 9629 131
http://www.hmhcs.de
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Wed Sep 10, 2008 2:54 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

This is a known problem and has to do with the new things added in Solaris 10 like regions. If you search the forum there was a suggested work around some ways back. IIRC it had to do with changing a Solaris system parm...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
hmh
PostPosted: Thu Sep 11, 2008 5:00 am    Post subject: Reply with quote

Apprentice

Joined: 31 Mar 2006
Posts: 29
Location: Germany

Solaris 10 defines the usage of shared memory in a definition called project.
The description to define this in /etc/project I found here
http://www-1.ibm.com/support/docview.wss?rs=171&context=SSFKSJ&q1=AMQ8101%3a+893+solaris&uid=swg1IY94479&loc=en_US&cs=utf-8&lang=en

mqm:100088::::process.max-file-descriptor=(priv,65536,deny)(basic,10000,deny);project.max-sem-ids=(priv,1024,deny);project.max-shm-ids=(priv,1024,deny);project.max-shm-memory=(priv,4294967296,deny)
_________________
Michael Hoppe
63067 Offenbach

+49 (0)170 / 9629 131
http://www.hmhcs.de
Back to top
View user's profile Send private message Visit poster's website
ramkumarm83
PostPosted: Fri Sep 12, 2008 9:18 am    Post subject: Reply with quote

Apprentice

Joined: 16 May 2007
Posts: 27

Check with coommand dspmqcap. how many processors are licensed.
otherwise you have to set it using setmqcap command.

you must use the setmqcap control command to declare the number of processors for which you have purchased license units. For information about how to use the setmqcap command, see the WebSphere MQ System Administration Guide.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Sep 12, 2008 4:05 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

ramkumarm83 wrote:
Check with coommand dspmqcap. how many processors are licensed.
otherwise you have to set it using setmqcap command.

you must use the setmqcap control command to declare the number of processors for which you have purchased license units. For information about how to use the setmqcap command, see the WebSphere MQ System Administration Guide.

This hasn't been a requirement since MQ 5.3.
_________________
Peter Potkay
Keep Calm and MQ On
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 » Failed to get memory segment: shmget
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.