Operating System - HP-UX
1840229 Members
3098 Online
110162 Solutions
New Discussion

memory locking privileges

 
kdc
Regular Advisor

memory locking privileges

My dmesg output has this error
command RUN_REMEDYT does not have memory locking privileges required for using large text pages in this system version.

The dba has added a new database and is unable to start it. Can you give me any suggestions.

Thanks
3 REPLIES 3
Santosh Nair_1
Honored Contributor

Re: memory locking privileges

From the mlock man page:

The effective user ID of the calling process must be a superuser or the user must be a member of a group that has the MLOCK privilege (see getprivgrp(2) and setprivgrp(1M))

Hope this helps.

-Santosh
Life is what's happening while you're busy making other plans
Scott Van Kalken
Esteemed Contributor

Re: memory locking privileges

Please note -

there are two ways of doing this

setprivgroup oracle MLOCK

will do the trick

OR

in /etc/privgroup:
root [CHOWN]
user [MLOCK CHOWN LOCKRDONLY]


this will allow to have memory locking priveleges - usually oracle, but have seen it with control-M as control-M is an oracle back end.