LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-18-2010, 12:47 AM   #1
crahuldba@gmail.com
Member
 
Registered: Apr 2010
Posts: 52

Rep: Reputation: 2
Kernel parameter problem in installation of oracle 10g on fedora 12


Hello everybody i am installing oracle 10g on fedora 12 but after running
runInstaller i got following warning.
after that i change the shmmax=536870912 in /etc/sysctl.conf file and
sysctl -p
but problem is still exist
Checking for shmmax=536870912; found shmmax=33554432. Failed <<<<
Please help me
Thanks & Regards
Rahul Sharma
Hello friends I have solve this problem.
i change directly in the file /proc/sys/kernel/shmmax
echo "536870912" > /proc/sys/kernel/shmmax
and its working now
Thanks

Last edited by crahuldba@gmail.com; 10-18-2010 at 01:17 AM.
 
Old 10-18-2010, 07:11 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
The correct syntax is sysctl.conf is
Code:
kernel.shmmax = 536870912
 
Old 10-18-2010, 07:18 AM   #3
tommylovell
Member
 
Registered: Nov 2005
Distribution: Raspbian, Debian, Ubuntu
Posts: 380

Rep: Reputation: 103Reputation: 103
If you changed it by echoing a new value into /proc/sys/kernel, then that value will go away with your next reboot.

Did you get an error when you did the 'sysctl -p'? Did you validate that the new value was properly set (sysctl -a | grep shmmax)?

Do you have more than one 'kernel.shmmax' key/value pair coded in /etc/sysctl.conf? (If there are a lot of 'sysctl.conf' "overrides" then you might have missed that it is specified twice.)

'sysctl -p' takes effect immediately, so if it's not either of these, then it may be a bug. But I would check it after your next reboot to see what the value is. I suspect it is back to it's original value.

A bad key/value pair would give you this.
Code:
[root@athlonz ~]# echo "shmmax=536870912" >> /etc/sysctl.conf

[root@athlonz ~]# sysctl -p
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
error: "shmmax" is an unknown key
Remove the bad entry.
Code:
[root@athlonz ~]# vi /etc/sysctl.conf
With the properly formed entry it is ok on my system.
Code:
[root@athlonz ~]# echo "kernel.shmmax=536870912" >> /etc/sysctl.conf

[root@athlonz ~]# tail -n2 /etc/sysctl.conf 
kernel.core_uses_pid = 1
kernel.shmmax=536870912

[root@athlonz ~]# sysctl -p
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
kernel.shmmax = 536870912

[root@athlonz ~]# sysctl -a | grep shmmax
kernel.shmmax = 536870912
But with it specified twice, the first one is lost.
Code:
[root@athlonz ~]# echo "kernel.shmmax=33554432" >> /etc/sysctl.conf

[root@athlonz ~]# tail -n3 /etc/sysctl.conf 
kernel.core_uses_pid = 1
kernel.shmmax=536870912
kernel.shmmax=33554432

[root@athlonz ~]# sysctl -p
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
kernel.shmmax = 536870912
kernel.shmmax = 33554432

[root@athlonz ~]# sysctl -a | grep shmmax
kernel.shmmax = 33554432
 
  


Reply



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
Installation problem of oracle 10g on rhel5 bikas Linux - Software 2 02-09-2011 07:17 PM
FACING PROBLEM IN ORACLE 10g INSTALLATION ON RHEL5 crahuldba@gmail.com Linux - Newbie 8 09-16-2010 10:18 AM
Oracle 10g R2 Installation Problem ssbarua Linux - Server 1 09-25-2007 06:12 AM
oracle 10g client on fedora core 6 installation, how to create swap area kaushikgm Linux - Newbie 1 08-11-2007 03:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:00 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