LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-09-2006, 01:26 AM   #1
salmanucit
Member
 
Registered: Jul 2004
Posts: 54

Rep: Reputation: 15
kernel parameters


Hi
I am trying to install oracle application server on redhat advance server 4.
The installer checks the installaiton requirements and following is the output of that check in which its showing faiure while testing the values of msgmnb, msgmni, file-max
How to set correct values of these???

=======================================================================

Checking security kernel parameters
Checking for shmall=2097152; found shmall=2097152. Passed
Checking for msgmnb=65535; found msgmnb=16384. Failed <<<<
Checking for semmns=32000; found semmns=32000. Passed
Checking for semopm=100; found semopm=100. Passed
Checking for msgmni=2878; found msgmni=16. Failed <<<<
Checking for shmmax=4294967295; found shmmax=2147483648. Failed <<<<
Checking for hardnofiles=1024; found hardnofiles=16384. Passed
Checking for VERSION=2.6.9-11.EL; found VERSION=2.6.9-22.ELsmp. Passed
Checking for file-max=206173; found file-max=65536. Failed <<<<
Checking for msgmax=8192; found msgmax=8192. Passed
Checking for shmmni=4096; found shmmni=4096. Passed
Checking for softnofiles=1024; found softnofiles=16384. Passed
Check complete. The overall result of this check is: Failed <<<<
Problem: The security parameters in the kernel do not meet the minimum requirements (see above).
Recommendation: Perform operating system specific instructions to update the kernel parameters, namely BIT_SIZE and noexec_user_stack.
=======================================================================
Where to set these parameter against which i am being returned FAILED?
Regards
 
Old 05-09-2006, 02:48 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,910

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
You should read this howto, and espacially this section

Regards
 
Old 09-12-2006, 03:28 PM   #3
MOS JEFF-INITELY
Member
 
Registered: Sep 2006
Distribution: Windows .. MUAHAHAHA
Posts: 66

Rep: Reputation: 15
Alright there are two ways to set these values...
first these values are kernel parameters so you will need admin to change them as the command is stored in sbin.

once you are admin you can check/view these values by using the command sysctl -a | grep kernel

Checking for msgmnb=65535; found msgmnb=16384. Failed <<<<
Checking for msgmni=2878; found msgmni=16. Failed <<<<
Checking for shmmax=4294967295; found shmmax=2147483648. Failed <<<<


and you can check this value by using the command sysctl -a | grep fs.file-max

Checking for file-max=206173; found file-max=65536. Failed <<<<

to change these you can either change the file /etc/sysctl.conf and reboot the machine or you can use sysctl -w which changes the configuration immediately, except if using sysctl -w the values will return to default when the machine is rebooted unless you change the file /etc/sysctl.conf which runs on boot.

if the file /etc/sysctl.conf is not started with the boot you may need to run the command sysctl -p to run it.

an example of changing a value would be:
sysctl -w kernel.msgmnb=65535
sysctl -w fs.file-max=206173
you can either use these at command line or create a script and run them all at once.
It's always smart to save the orignial parameters before changing them sysctl -a > original.kernel.parameters

peace.
 
Old 10-26-2006, 08:29 AM   #4
shogun1234
Member
 
Registered: May 2004
Posts: 165

Rep: Reputation: 15
I also have problem with kernel parameter (before installing Oracle 10g 2), but mine is a bit different.



When issuing command like '/sbin/sysconf -a | grep shm'. The system return with the message as below:
Code:
error: "Success" reading key "dev.parport.parport0.autoprobe3"
error: "Success" reading key "dev.parport.parport0.autoprobe2"
error: "Success" reading key "dev.parport.parport0.autoprobe1"
error: "Success" reading key "dev.parport.parport0.autoprobe0"
error: "Success" reading key "dev.parport.parport0.autoprobe"
error: "Operation not permitted" reading key "net.ipv6.route.flush"
error: "Operation not permitted" reading key "net.ipv4.route.flush"
What's wrong with it? How can I get rid of such error?

Any my env is Debian Sarge testing. kernel 2.6.16 manually built.

I sincerely appreciate suggestion.
 
Old 08-27-2008, 01:19 AM   #5
Roman K.
LQ Newbie
 
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
If you have correctly executed this action:
Add the following lines to /etc/security/limits.conf file:
* soft nproc 4096
* hard nproc 16384
* soft nofile 16384
* hard nofile 65536

delete "Oracle" user, create "Oracle" agane and start installation anew.

_______
Roman Kolechenkov
 
  


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
Tunable Kernel Parameters lmillerp Linux - Networking 1 09-23-2005 08:41 AM
Confuguring Kernel Parameters: tgrier Linux - Software 3 11-26-2004 11:12 AM
Tuning kernel parameters grub Linux - Software 1 02-11-2004 06:43 PM
boot kernel parameters? Z-Ice Linux - Software 1 08-07-2003 07:14 PM
Modify Kernel Parameters. Need Help! LenkaNguyen Linux - General 1 12-07-2001 12:45 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration