LinuxQuestions.org
Visit Jeremy's Blog.
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-28-2013, 10:40 AM   #1
aayash
LQ Newbie
 
Registered: Apr 2013
Posts: 10

Rep: Reputation: Disabled
Parameter Editing, Centos


I will install oracle 11g R2 on centOS 6.4 :>
You know that we must edit some parameters as :
kernel.sem,
kernel.shmmni and others

All parameters have been edit except kernel.sem,kernel.shmmni

the error message shown down :>

error: 'kernel.sem' must be of the form name=value
or kernel.sem is an unknown key ( by change this value by vim )

I hope soon response.

aayash
 
Old 04-28-2013, 08:36 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531
Quote:
Originally Posted by aayash View Post
Code:
error: 'kernel.sem' must be of the form name=value or kernel.sem is an unknown key
Quote multiple values (example):
Code:
sysctl -w kernel.sem="111 222 333 444 555"
and don't forget to add them to /etc/sysct.conf.
 
Old 04-29-2013, 03:23 AM   #3
aayash
LQ Newbie
 
Registered: Apr 2013
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by unSpawn View Post
Quote multiple values (example):
Code:
sysctl -w kernel.sem="111 222 333 444 555"
and don't forget to add them to /etc/sysct.conf.
----
thanks for reply, but it's the same problem !!

sysctrl -w kernel.sem="250 32000 100 128"
>>>
>>> error: "kernel.sem" is an unknown key
 
Old 04-29-2013, 02:08 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531
What does '/sbin/sysctl kernel' return?
 
Old 04-29-2013, 04:53 PM   #5
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,604

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
Ummm. might not be relevent, but kernel.sem can only take four values in the list.
 
Old 04-30-2013, 04:03 AM   #6
aayash
LQ Newbie
 
Registered: Apr 2013
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by unSpawn View Post
What does '/sbin/sysctl kernel' return?
error: "kernel.sem" is an unknown key
error: "kernel.shmmni" is an unknown key
 
Old 04-30-2013, 04:24 AM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531
Quote:
Originally Posted by jpollard View Post
Ummm. might not be relevent, but kernel.sem can only take four values in the list.
You're right, unless the key magically (re-)appears, it isn't ;-p


Quote:
Originally Posted by aayash View Post
error: "kernel.sem" is an unknown key
error: "kernel.shmmni" is an unknown key
That's not the output the command returns.
Please read the question better.
 
Old 04-30-2013, 04:40 AM   #8
aayash
LQ Newbie
 
Registered: Apr 2013
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by unSpawn View Post
You're right, unless the key magically (re-)appears, it isn't ;-p



That's not the output the command returns.
Please read the question better.
Yes, I'm sorry.
error: "kernel" is an unknown key
 
Old 04-30-2013, 05:13 AM   #9
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531
Quote:
Originally Posted by aayash View Post
Yes, I'm sorry.
error: "kernel" is an unknown key
I'm sorry too because the only conclusion I can draw is your system is severely fscked up. Even as unprivileged user I can do 'sysctl kernel' and get 97 entries listed on a CentOS 6.3 host.
 
Old 04-30-2013, 05:18 AM   #10
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,604

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
Are you running a kernel newer than 2.6.21 (or have you got CONFIG_SYSVIPC_SYSCTL disabled?)
 
Old 04-30-2013, 05:44 AM   #11
aayash
LQ Newbie
 
Registered: Apr 2013
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jpollard View Post
Are you running a kernel newer than 2.6.21 (or have you got CONFIG_SYSVIPC_SYSCTL disabled?)
Yes, the kernel version 2.6.32-358.e16.x86_64 , but how I know if CONFIG_SYSVIPC_SYSCTL disabled or not ??
 
Old 04-30-2013, 09:14 AM   #12
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,604

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
It likely is as the entire "kernel" parameter set is unavailable for some reason.

You can look in the configuration file and see what "CONFIG_SYSCTL" values you have, as well as the other values. My list has:
Code:
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE_SYSCTL=y
CONFIG_SYSCTL=y
# CONFIG_SYSCTL_SYSCALL is not set
CONFIG_SYSCTL_EXCEPTION_TRACE=y
CONFIG_PROC_SYSCTL=y
Yours may something different as I'm running 3.9 currently.
 
1 members found this post helpful.
  


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
[SOLVED] Editing network settings in a fresh CentOS 6.2 install kevinamygrayson Linux - Newbie 20 05-02-2012 02:20 PM
in with a parameter? jncunliffe Linux - Newbie 6 01-06-2011 05:23 PM
shell getopts: opt w/ optional parameter is taking next opt as its parameter! GrapefruiTgirl Programming 22 10-27-2010 07:00 AM
linux bash - how to use a dynamic parameter in shell parameter expansion expression nickleus Linux - General 2 08-21-2006 05:54 AM
Which parameter to use...? FrogGuy Linux - Hardware 2 11-19-2005 09:25 PM


All times are GMT -5. The time now is 05:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration