Operating System - HP-UX
1833587 Members
3800 Online
110061 Solutions
New Discussion

ipcs -m showing different permissions on 2 nodes

 
Adam Noble
Super Advisor

ipcs -m showing different permissions on 2 nodes

All,

Hope somebody can assist. I have a cluster with an oracle service group. When Oracle comes up on one node an ipcs -m (shared mem)shows the permissions for oracle as being 540 yet on the second node they are 500. Its strange becuase I believe the environments are identical as you would imagine. What is actually setting these permissions.

Any help appreciated.
7 REPLIES 7
Massimo Bianchi
Honored Contributor

Re: ipcs -m showing different permissions on 2 nodes

Hi,
is there any
/etc/privgroup

file ?

Also,
check the group membership on the two nodes, maybe there are some sifferencies:


su - oracle -c id

Output should match.

HTH,
Massimo
Adam Noble
Super Advisor

Re: ipcs -m showing different permissions on 2 nodes

no privgroup file and they do match!
Fred Ruffet
Honored Contributor

Re: ipcs -m showing different permissions on 2 nodes

ipc mode is defined upon creation by shmget (or whatever other call is used).

What version of Oracle here ? Is this RAC ?

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Adam Noble
Super Advisor

Re: ipcs -m showing different permissions on 2 nodes

We are using 9.2.0.5 and not rack, I'm unsure how this effects anything. I can't understand how but this must relate in someway to the server.
Fred Ruffet
Honored Contributor

Re: ipcs -m showing different permissions on 2 nodes

I have many 9.2.0.4 and 9.2.0.3 here and all have 666 (rw-rw-rw-) rights.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Massimo Bianchi
Honored Contributor

Re: ipcs -m showing different permissions on 2 nodes

Just an idea.


From "man shmget":

+ shm_perm.cuid, shm_perm.uid, shm_perm.cgid, and shm_perm.gid
are set equal to the effective user ID and effective group ID,
respectively, of the calling process.

+ shm_perm.cuid, the low-order 9 bits of shm_perm.mode are set
equal to the low-order 9 bits of shmflg. shm_segsz is set
equal to the value of size.

+ shm_lpid, shm_nattch, shm_atime, and shm_dtime are set equal
to 0.

+ shm_ctime is set equal to the current time.




What are the umask for the two oracle and two root users ?

HTH,
Massimo
Fred Ruffet
Honored Contributor

Re: ipcs -m showing different permissions on 2 nodes

I thought about it Massimo ;-) I've verified, and I have all my "ipcs -m" giving 666 mode whereas my umask vary from 002 to 027 depending on servers. So I don't think it matter. But maybe Adam's version is different (even if it is also a 9iR2)

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)