Article 50731 of comp.sys.sun.admin:
Path: mri.com!newsfeed1.aimnet.com!news.netserv.com!news.clark.net!mr.net!news-out.microserve.net!news-in.microserve.net!news.sgi.com!enews.sgi.com!arclight.uoregon.edu!dispatch.news.demon.net!demon!brake.demon.co.uk
From: Richard Skelton <rich@brake.demon.co.uk>
Newsgroups: comp.sys.sun.admin
Subject: Re: Shared Memory Enabling?
Date: Thu, 19 Sep 1996 18:37:51 +0100
Organization: HOME
Lines: 32
Message-ID: <324184EF.5234@brake.demon.co.uk>
References: <lyjohnso.843147363@aces20.acenet.auburn.edu>
NNTP-Posting-Host: brake.demon.co.uk
X-NNTP-Posting-Host: brake.demon.co.uk
X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5 sun4m)
MIME-Version: 1.0
To: Lyle Johnson <lyjohnso@acenet.auburn.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Lyle Johnson wrote:
> 
> I am trying to run a program on my Sun SPARCstation 20, running Solaris
> 2.4, which tries to attach a shared memory segment but fails to do so.
> When I type
> 
>         ipcs
> 
> I get the message
> 
>         IPC status from <running system> as of Thu Sep 19 10:34:23 1996
>         Message Queue facility not in system.
>         Shared Memory:
>         Semaphore facility not in system.
> 
> Does this indicate anything at all?  Is shared memory enabled on my
> system?
> 
> Help!
Hi Lyle,
You need to setup shared memory in /etc/system:-
set shmsys:shminfo_shmmax = 0x2000000
set shmsys:shminfo_shmmni = 0x1000
set shmsys:shminfo_shmseg = 0x100


hope this helps
Richard.
-- 
Richard Skelton      |   e-mail : Richard.Skelton@brake.demon.co.uk
			 WWW	: http://www.brake.demon.co.uk/index.html
			 WWW	: http://www.netlink.co.uk/users/brake/


