Home » Infrastructure » Linux » Cannot modify limit: Operation not permitted (RHEL 5)
Cannot modify limit: Operation not permitted [message #535581] Thu, 15 December 2011 01:11 Go to next message
kamran0931
Messages: 17
Registered: December 2011
Junior Member
Hi
When i log in to oracle user, it gives this error;

-bash: ulimit: max user processes: cannot modify limit: Operation not permitted

Please help

Thanks
Re: Cannot modify limit: Operation not permitted [message #535583 is a reply to message #535581] Thu, 15 December 2011 01:24 Go to previous messageGo to next message
Michel Cadot
Messages: 58847
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Increase number of processes allowed for user oracle:

man ulimit


Regards
Michel
Re: Cannot modify limit: Operation not permitted [message #535585 is a reply to message #535583] Thu, 15 December 2011 01:41 Go to previous messageGo to next message
kamran0931
Messages: 17
Registered: December 2011
Junior Member
Hi Michel
I did it in /etc/profile

if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi

still the same error
Re: Cannot modify limit: Operation not permitted [message #535586 is a reply to message #535585] Thu, 15 December 2011 01:47 Go to previous messageGo to next message
Michel Cadot
Messages: 58847
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
I don't know, this is a question you should post in a Linux forum not an Oracle one.

Regards
Michel
Re: Cannot modify limit: Operation not permitted [message #535591 is a reply to message #535586] Thu, 15 December 2011 02:25 Go to previous messageGo to next message
ThomasG
Messages: 3099
Registered: April 2005
Location: Heilbronn, Germany
Senior Member
Of course users can't set their own limits.

root sets the limits that the users are allowed to have.

So it is useless to put it in /etc/profile, root must change the limits with ulimit.
Re: Cannot modify limit: Operation not permitted [message #535592 is a reply to message #535591] Thu, 15 December 2011 02:28 Go to previous messageGo to next message
kamran0931
Messages: 17
Registered: December 2011
Junior Member
so what should i do
Re: Cannot modify limit: Operation not permitted [message #535593 is a reply to message #535592] Thu, 15 December 2011 02:40 Go to previous messageGo to next message
Littlefoot
Messages: 19469
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Pick one (or even both):
a) sit and cry over your miserable destiny
b) find a person who can set limits for you (such as a system administrator; Thomas says root)
Re: Cannot modify limit: Operation not permitted [message #535594 is a reply to message #535592] Thu, 15 December 2011 02:40 Go to previous message
Michel Cadot
Messages: 58847
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Quote:
root must change the limits with ulimit

Is this not clear?
Connect as root and change the limit for oracle account.

To go further, please find a more appropriate forum.
The topic is locked.
If I'm wrong, please, PM me (or report this message to a moderator, explain why you think it should be unlocked and it might be done).

Regards
Michel
Previous Topic: Differences between OEL and Redhat...and OEL and Unbreakable
Next Topic: Installation Oracle 10g 2 on linux red hat 9
Goto Forum:
  


Current Time: Wed Aug 20 16:13:52 CDT 2014

Total time taken to generate the page: 0.08408 seconds