LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Parameter Editing, Centos (https://www.linuxquestions.org/questions/linux-newbie-8/parameter-editing-centos-4175459882/)

aayash 04-28-2013 09:40 AM

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

unSpawn 04-28-2013 07:36 PM

Quote:

Originally Posted by aayash (Post 4940512)
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.

aayash 04-29-2013 02:23 AM

Quote:

Originally Posted by unSpawn (Post 4940775)
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

unSpawn 04-29-2013 01:08 PM

What does '/sbin/sysctl kernel' return?

jpollard 04-29-2013 03:53 PM

Ummm. might not be relevent, but kernel.sem can only take four values in the list.

aayash 04-30-2013 03:03 AM

Quote:

Originally Posted by unSpawn (Post 4941312)
What does '/sbin/sysctl kernel' return?

error: "kernel.sem" is an unknown key
error: "kernel.shmmni" is an unknown key

unSpawn 04-30-2013 03:24 AM

Quote:

Originally Posted by jpollard (Post 4941408)
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 (Post 4941681)
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.

aayash 04-30-2013 03:40 AM

Quote:

Originally Posted by unSpawn (Post 4941698)
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

unSpawn 04-30-2013 04:13 AM

Quote:

Originally Posted by aayash (Post 4941706)
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.

jpollard 04-30-2013 04:18 AM

Are you running a kernel newer than 2.6.21 (or have you got CONFIG_SYSVIPC_SYSCTL disabled?)

aayash 04-30-2013 04:44 AM

Quote:

Originally Posted by jpollard (Post 4941723)
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 ??

jpollard 04-30-2013 08:14 AM

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.


All times are GMT -5. The time now is 06:14 PM.