Operating System - HP-UX
1835116 Members
4397 Online
110076 Solutions
New Discussion

sybase ASE 12.5 shared memory rights

 
SOLVED
Go to solution
yazgoo
Frequent Advisor

sybase ASE 12.5 shared memory rights

Hello.
I'm woking under 2 HPUX dualboot.
I'd like to share a databse from one system to an other.
being root, I can launch startserver(--> dataserver).
But when I try as user sybase group sybase (same uid gid than in the other system), I got this error
____________________________________________________________
00:00000:00000:2007/07/17 09:01:13.12 kernel Locking shared memory
INTO physical memory.
00:00000:00000:2007/07/17 09:01:13.14 kernel os_create_region:
cannot LOCK shared memory region '/dir/sharemem/machin.krg'
INTO physical memory. System error: NOT owner.
00:00000:00000:2007/07/17 09:01:13.14 kernel kbcreate: couldn't create kernel
region.
00:00000:00000:2007/07/17 09:01:13.14 kernel kistartup: could not create shared
memory
___________________________________________________________
It looks likes my files have exactly the same rights.
I've heard that I had to change share memory properties.
Is it true?
If it is how can I do that?
thanks.
Yazgoo
2 REPLIES 2
Denver Osborn
Honored Contributor
Solution

Re: sybase ASE 12.5 shared memory rights

I believe you'd have to use setprivgrp to give the sybase group access to do that. getprivgrp will show what's already been setup.

setprivgroup sybase RTPRIO MLOCK CHOWN


man setprivgrp for details.

Also search the itrc for things like setprivgrp sybase MLOCK

-denver
yazgoo
Frequent Advisor

Re: sybase ASE 12.5 shared memory rights

Thank you very mutch.
That was sharp.
Yazgoo