*BSD News Article 17843


Return to BSD News archive

Xref: sserve comp.sys.hp:27795 comp.unix.questions:36052 comp.unix.ultrix:18600 comp.unix.aix:23967 comp.unix.admin:11673 comp.unix.internals:5967 comp.unix.misc:8148 alt.unix.wizards:215 comp.unix.bsd:12173 comp.unix.sys5.misc:203 comp.unix.sys5.r4:3394
Newsgroups: comp.sys.hp,comp.unix.questions,comp.unix.ultrix,comp.unix.aix,comp.unix.admin,comp.unix.internals,comp.unix.misc,alt.unix.wizards,comp.unix.bsd,comp.unix.sys5.misc,comp.unix.sys5.r4
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!decwrl!rtech!ingres!afirmin
From: afirmin@Ingres.COM (Anthony Firmin)
Subject: Re: ipcs returns "no namelist" message, why?
Message-ID: <1993Jul2.023207.14759@pony.Ingres.COM>
Followup-To: comp.sys.hp,alt.unix.wizards,comp.unix.admin,comp.unix.aix,comp.unix.bsd,comp.unix.internals,comp.unix.misc,comp.unix.questions,comp.unix.sys5.misc,comp.unix.sys5.r4,comp.unix.ultrix
Lines: 37
Reply-To: afirmin@toto.ingres.com (Anthony Firmin)
Organization: Ingres Corporation, A subsidiary of The ASK Group, Inc.
X-Newsreader: TIN [version 1.2 PL0]
References: <1993Jun29.140747.14834@ncsu.edu>
Date: 2 Jul 93 02:32:07 GMT

S. Alavi (ssa@unity.ncsu.edu) wrote:

: 	When I type ipcs on my hp 9000/710 (running HP-UX 8.07) I get:
: 	ipcs: no namelist 
: 	reading the man pages for ipcs I tried:
: 	ipcs -N /hp-ux 
: 	which returned the same thing...

: 	I also tried rebooting the system to no avail, 

: 	Any idea what is going on?

: 	(Please include this message for reference)
: 	======  S. Alavi    [ssa@unity.ncsu.edu]  (919)467-7909 (H)  ========
: 						  (919)515-8063 (W)
ipcs reads the IPC status from the file /dev/kmem.
I just tried this from another user and it worked, went into root and changed
the permissions and it failed with the message
ipcs:  no memory file
so you might want to check the permissions on the file , maybe try
changing it to rw-r--r-- (644).
If this gives you a security headache - and it does for some people then
try putting the user in the same group as kmem (so they have the same
gid - group id) with an entry in /etc/groups.
You wont need to reboot to try it out.
Let me know how you get on

..Anthony

  -----------
 / MMMM GGGG \
| M M M G   G |    Anthony Firmin               afirmin@ingres.com
| M M M G     |    Ingres Technical Support
| M M M G  GG |    510 748 2905             
| M M M G   G |                                               /
 \  M M GGGG /     "MGB's and current raves"                  -8-)
  -----------                                                 \