Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Oracle 10G RedHat Linux
I found a note specific to this in Metalink which provides a way to
change the ssh behaviour:
The information in this article applies to:=20
Linux Kernel - Version: 3.0
Red Hat Advanced Server
Red Hat Linux RHEL 3.0
SLES AMD64=20
Errors
CANNOT
LIMIT
MODIFY
NOT
OPERATION
PERMITTED
ULIMIT
Symptoms
Updating a soft limit using 'ulimit' command you receive an error
message similar to:
'-bash: ulimit: max user processes: cannot modify limit: Operation not
permitted'=20
Changes
You have updated "/etc/security/limits.conf"
with the appropriate information regarding soft&hard limit
and
in "/etc/pam.d/login" you have this entry
'session required /lib/security/pam_limits.so'=20
Cause
this issue is documented in Red Hat bugzilla, reference # 99404
Recent opensshd provides a feature called privilege separation. This
feature
will not currently work properly with GNU/Linux PAM implementations. The
symptom is that the method to set hard and soft
limits will not work properly from an ssh session whose daemon is
running
privilege separation.=20
Fix
So, be sure to include the configuration statement
"UsePrivilegeSeparation no"=20
in your sshd configuration file (found in /etc/ssh/sshd_config).=20
-----Original Message-----
From: Rob Braun [mailto:bbraun_at_wsu.edu]=20
Sent: Wednesday, September 22, 2004 1:59 PM
To: Stankus, Paula G
Cc: oracle-l_at_freelists.org
Subject: Re: Oracle 10G RedHat Linux
On Wed, Sep 22, 2004 at 01:47:39PM -0400, Paula_Stankus_at_doh.state.fl.us
wrote:
> According to the Quick Start Guide you need to setup ulimits. =20
> However, apparently there must be somewhere were the user oracle has a
> certain number of processes allocated that conflict with these limits.
> The error when logging on as oracle is:
>=20
The QuickStart guide tells you to modify /etc/security/limits.conf to up
these limits in addition to in your bash profile (or the equivalent for
the shell you're running). =20
I ran into trouble when using ssh due to privsep. Essentially, the
/etc/security/limits.conf settings won't take effect if you're ssh'ing
into the machine. I worked around this by adding:
ulimit -u 16384
ulimit -n 16384
to /etc/init.d/sshd in the start() function.
Rob
BEGIN-ANTISPAM-VOTING-LINKS
-- http://www.freelists.org/webpage/oracle-lReceived on Wed Sep 22 2004 - 12:57:22 CDT
![]() |
![]() |