LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-21-2008, 05:20 AM   #1
farnaw4u
Member
 
Registered: Aug 2006
Posts: 38

Rep: Reputation: 15
ulimit: max user processes: cannot modify limit: Operation not permitted


hi all

when i connect with user it returns error , i dont understand plz help


su - orabe

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


plz help


regards


farnaw
 
Old 04-21-2008, 05:31 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
Please post the content of your /home/orabe/.bash_profile file.
 
Old 04-21-2008, 07:03 AM   #3
farnaw4u
Member
 
Registered: Aug 2006
Posts: 38

Original Poster
Rep: Reputation: 15
thnks Agrouf
here is .bash_profile output
*********************************
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME


TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR


ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1 export ORACLE_HOME
ORACLE_SID=TSH1; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH



LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH

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

fi

*********************************
HERE IS OUT PUT OF /etc/security/limits.conf as well


* soft nproc 2047
* hard nproc 16384
* soft nofile 1024
* hard nofile 65536


********************************




regards


thnks

Farnaw
 
Old 04-21-2008, 07:32 AM   #4
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
try this:
sed -i "s/^ulimit/#ulimit/g" /home/orabe/.bash_profile
This should make the error disappear.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
-bash: ulimit: open files: cannot modify limit: Operation not permitted pjglinuxq Linux - Server 3 06-11-2010 07:19 AM
limit processes for each user jackripper2988 Slackware 1 03-17-2006 02:32 AM
su - user : /dev/pts/# Operation not permitted problem buaku Slackware 4 10-16-2005 09:08 PM
How do I limit the amount of processes a user can run? houler Slackware 26 04-04-2005 09:02 PM
Mount SMB drive as user: Operation Not Permitted paco36 Linux - General 6 09-12-2004 07:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration