Link to home
Start Free TrialLog in
Avatar of xoxomos
xoxomos

asked on

command not found

To install Oracle, i'm supposed to configure some parameters as follows

kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=262144
net.core.wmem_default=262144
net.core.rmem_max=262144
net.core.wmem_max=262144


when i enter kernel.shmall = 2097152 at the command line
it returns :
bash: kernel.shmall:command not found.
The same for all the others.

# uname -r
will give me
2.6.9-34.EL
Running RedHat 4.
Avatar of ozo
ozo
Flag of United States of America image

Are you sure there should be . in the paramer names?
Are you sure they are supposed to be bash parameters?
Avatar of xoxomos
xoxomos

ASKER

No.  
Out of frustration i'm reinstalling from scratch.
KDe too confusing.
I just cut and pasted the commands from Oracle instructions.  I recall having done this part:
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
some time ago with no problem.
ASKER CERTIFIED SOLUTION
Avatar of ozo
ozo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of xoxomos

ASKER

I'm lots of fun to watch ozo1.  I'm supposed to concatenate that into /etc/sysctl.config file rather than trying to enter them as commands.

Configuring the Linux Kernel Parameters

The Linux kernel is a wonderful thing. Unlike most other *NIX systems, Linux allows modification of most kernel parameters while the system is up and running. There's no need to reboot the system after making kernel parameter changes. Oracle Database 10g Release 2 requires the kernel parameter settings shown below. The values given are minimums, so if your system uses a larger value, don't change it.

kernel.shmall = 2097152kernel.shmmax = 536870912kernel.shmmni = 4096kernel.sem = 250 32000 100 128fs.file-max = 65536net.ipv4.ip_local_port_range = 1024 65000net.core.rmem_default=262144net.core.wmem_default=262144net.core.rmem_max=262144net.core.wmem_max=262144
If you're following along and have just installed Linux, the kernel parameters will all be at their default values and you can just cut and paste the following commands while logged in as root.

cat >> /etc/sysctl.conf <<EOFkernel.shmall = 2097152kernel.shmmax = 536870912kernel.shmmni = 4096kernel.sem = 250 32000 100 128fs.file-max = 65536net.ipv4.ip_local_port_range = 1024 65000net.core.rmem_default=262144net.core.wmem_default=262144net.core.rmem_max=262144net.core.wmem_max=262144EOF/sbin/sysctl -p