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_ran ge = 1024 65000
net.core.rmem_default=2621 44
net.core.wmem_default=2621 44
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.
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_ran
net.core.rmem_default=2621
net.core.wmem_default=2621
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.
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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_por t_range = 1024 65000net.core.rmem_default =262144net .core.wmem _default=2 62144net.c ore.rmem_m ax=262144n et.core.wm em_max=262 144
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_por t_range = 1024 65000net.core.rmem_default =262144net .core.wmem _default=2 62144net.c ore.rmem_m ax=262144n et.core.wm em_max=262 144EOF/sbi n/sysctl -p
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_por
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_por
Are you sure they are supposed to be bash parameters?