prctl: oracle: cannot find the project for given id or name – SOLARIS

Cause:

When trying to modify the kernel memory parameter, face below error

root@orsol:~# prctl -n project.max-shm-memory -i project oracle
prctl: oracle: cannot find the project for given id or name

Workaround:

Login to session with the user for which you try to modify memory

root@orsol:~# su - oracle
Oracle Corporation      SunOS 5.11      11.4    Aug 2018

Try it then

root@orsol:~# prctl -n project.max-shm-memory -i project oracle
project: 100: oracle
NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
project.max-shm-memory
        usage               0B
        privileged       987MB      -   deny                                 -
        system          16.0EB    max   deny                                 -

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s